Skip to content

fix: attestation idempotency - #51

Merged
alanshaw merged 1 commit into
mainfrom
ash/fix/attestation-idempotency
Aug 3, 2026
Merged

fix: attestation idempotency#51
alanshaw merged 1 commit into
mainfrom
ash/fix/attestation-idempotency

Conversation

@alanshaw

Copy link
Copy Markdown
Member

attestation/signer.go's Sign() builds the /ucan/attest/proof invocation without invocation.WithNoNonce() or WithNoExpiration(), so every attestation gets a random 16-byte nonce and a 30-second exp — where the spec requires an empty nonce and null exp.

@alanshaw
alanshaw requested review from Peeja, bajtos and frrist July 31, 2026 09:16
@alanshaw
alanshaw merged commit f54066c into main Aug 3, 2026
7 checks passed
@alanshaw
alanshaw deleted the ash/fix/attestation-idempotency branch August 3, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants