Repository navigation
0.10.0: accept signing keys certified by the payout wallet - #18
Merged
Merged
Conversation
…an update, 0.10.0) The plugin pinned each service's signing key, so a new key needed a new release. Both services now carry a certificate in every receipt: the Fizzl payout wallet's personal_sign over "fizzl receipt signer / service / signer / valid_from". The plugin accepts a signer that is pinned or certified by that wallet for the right service (signatures on or after valid_from). FIZZL_RECEIPT_AUTHORITY overrides the wallet; "none" keeps pinned-only. Also: the canonical JSON regex used a literal U+FFFF character; it is an escape sequence again (same behaviour). Tests: a rotated Doctor key and a rotated presign-guard key with a valid certificate are trusted; a certificate for the other service, by another wallet, or with the authority switched off is not. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TsD5haPKxeWjYmErHzvU48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
0x6B0F…5F25has certified for that service (x402-doctororpresign-guard) throughreceipt.cert. When a service rotates its key, no plugin update is needed.FIZZL_RECEIPT_AUTHORITY. Defaults to the payout wallet. Set it tononeto accept pinned keys only.Tests
41/41 pass. The fixtures can now sign with a certificate.
🤖 Generated with Claude Code
https://claude.ai/code/session_01TsD5haPKxeWjYmErHzvU48
Generated by Claude Code