Kieran,

Following up on my short reply with the details for -01.

1. Cumulative limits. A receipt that carries a cumulative limit will have
to name exactly one relying party, and that party is the only counter for
the receipt and for every child of it. A receipt with a limit and no single
named party will be invalid. Sharing one total between separate relying
parties is out of scope for -01. A party in the call path other than the
relying party keeping the total stays an open question. Per-exercise limits
stay as they are, since each relying party can check them alone.

2. Grants as authorization_details. I will define an RFC 9396
authorization_details type for grants, so an authorization server that
already supports RAR can issue root receipts directly. Token Exchange stays
as the path when an agent obtains a receipt with its passport as actor
token.

3. Subsumption per constraint type. Agreed that this is the part to line up
first. Here is the -01 rule written out per constraint type, so there is
something concrete to put next to asor, AAT and Hulea. P is the member in
the parent receipt, C the same member in the child. A child attenuates its
parent only if every rule holds, and a member the relying party does not
understand is rejected, never ignored. Anything that cannot be compared is
rejected.

- host (required): C equals P; or P is "*"; or P is "*.D" and C ends with
".D".
- port: C equals P. Absent means 443.
- methods: C is a subset of P. Absent means GET and HEAD.
- paths: each C path is covered by a P path. An exact P path covers only
the identical C path; a prefix "p/*" covers "p" and anything beginning
"p/". Absent means "/*".
- tools: C is present and a subset of P. Absent in P means unrestricted;
absent in C while present in P is rejected.
- max_body_bytes: C is no greater than P. Absent means 0.
- max_calls: C is no greater than P. Absent in P means no limit; absent in
C while present in P is rejected.
- max_spend: same currency and C is no greater than P. A different currency
is rejected. Absence as for max_calls.
- exp (required): C is no later than P.
- aud: C is present and a subset of P. Absence as for tools.
- depth: -01 has no per-receipt depth claim, only a fixed limit of 8
receipts per chain. Your rule on del_max_depth in the AAT thread (the
effective maximum is the lowest value on the chain) would fit as a
narrowing if a depth claim is added.

Niki, I would welcome the comparison before IETF 127, and I will join your
side meeting on Monday 16 November (11:15 PST, Continental 7). I can bring
this table and a set of test cases with expected results for the common
test vectors you list there. My own side meeting is Tuesday 17 November,
18:45-19:45 PT in Plaza A, and I would like to use it to go through what
comes out of Monday.

Ben Le
Redthread Security

On Wed, Nov 11, 2026 11:07 PM, Kieran Sweeney <[email protected]> wrote:

> Ben,
>
> On the two items you have left open.
>
> Shared limit accounting between RPs: a cumulative limit needs a single
> writer that sees every exercise. Separate RPs cannot hold the total between
> them, so either the receipt names one RP or a party in the call path keeps
> the running total.
>
> RAR: yes to authorization_details for grants, so an AS that already does
> RAR can issue root receipts. The first part I would line up is the
> subsumption rule per constraint type. asor, AAT and Hulea each have their
> own today, and Niki has offered on this list to compare them before 127.
>
> Kieran
>
>
_______________________________________________
OAuth mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to