Skip to content

Registration accepts bearer party envelopes - #8

Merged
samlown merged 2 commits into
mainfrom
bearer-party-envelopes
Aug 11, 2026
Merged

Registration accepts bearer party envelopes#8
samlown merged 2 commits into
mainfrom
bearer-party-envelopes

Conversation

@samlown

@samlown samlown commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Companion to invopop/gobl#925: party envelopes in the identity flow are bearer documents — the subject signs once, audience-free, and the same envelope registers, publishes, and verifies.

Register drops the audience requirement entirely (VerifyEnvelope(ctx, env, "")): the request token carries delivery intent, and the who eligibility check remains the gate on who can register (which also keeps deferred-disclosure/B2C parties unregistrable by third parties — their /who answers 202 and registration is refused). Audiences on subject signatures are accepted and ignored as legacy hop artifacts, so envelopes signed under the previous revision keep working. The own-countersignature integrity check is unchanged.

🤖 Generated with Claude Code

Party envelopes carry no audience binding (spec §8.3): the request
token is the delivery intent and who eligibility gates registration.
Audiences on subject signatures are ignored as legacy hop artifacts.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
VerifyParty reads the subject from the party's own gobl: endpoint,
attested by a valid self-signature — signature order carries no
meaning, and a party document declaring an address its signer does
not control can no longer be registered.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@samlown
samlown merged commit d620788 into main Aug 11, 2026
2 checks passed
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.

1 participant