So long as an AS advertises non-PQ algorithms in its discovery that will be
an option regardless of how keys are separated for the sake of
faulty clients. I highly suggest seeing the IETF 126 SAAG session from
David Benjamin <https://youtu.be/I-GshQtj7JA?t=1308> on this, many
parallels can be drawn from it to our protocols as well.

S pozdravem,
*Filip Skokan*


On Wed, 18 Nov 2026 at 12:10, Warren Parad <[email protected]> wrote:

> I agree, wouldn't a parameter offer a downgrade attack path?
>
> On Wed, Nov 18, 2026 at 12:02 PM Filip Skokan <[email protected]> wrote:
>
>> If we choose to accommodate faulty clients and libraries at the protocol
>> level, we should at least set out to do so with non-breaking additions.
>> This I-D proposal introduces breaking behaviors for authorization servers,
>> clients, and RSs that presently use the existing cryptographic agility
>> mechanisms correctly.
>>
>> We can't expect faulty clients and libraries to get fixed without giving
>> their developers or owners a reason to act. Commercial servers may offer
>> their customers a reversible opt-in, first to expose additional keys and
>> then, separately, to use them, the operators then decide when to "test"
>> their clients this way using their own timeline. Public servers could
>> pre-announce time-limited brownouts during which they'll expose the
>> additional key types in their jwks_uri. These approaches help identify
>> faulty software and prompt fixes without imposing permanent breaking
>> changes on working implementations.
>>
>> Since we already have cryptographic agility, I don't think the
>> "Cryptographic Agility" title captures this proposal accurately. As
>> written, it risks becoming a permanent workaround that requires already
>> agile conform implementations to change to accommodate the stale ones. That
>> seems backwards to me on top of invalidating the existing agility we have
>> already defined and in use. The problem at hand isn't lack of crypto
>> agility, it's faulty client software. Let's try and address that first.
>>
>> I see a non-breaking way of parameterizing the jwks_uri as a possibility
>> worth exploring though, it just has to allow existing servers that already
>> support agility and publish multiple key types for various algs to
>> participate as much as ones that don't (those are the ones with a bigger
>> pqc rollout problem).
>>
>> Off the top of my head:
>>
>>
>>    - (a very quickly put together rough draft of this is attached, it is
>>    surprisingly short) AS adds `jwks_uris: [uri, uri2, uri3]` in addition to
>>    the existing `jwks_uri: uri` to its discovery, then mints its assertions
>>    with an additional `jku: uri2` jose header, a verifier that sees a jku 
>> must
>>    match it against the discovery.
>>       - jku is already defined and may coexist with existing JWS
>>       parameters like `kid`.
>>       - The obvious danger is that faulty clients will go out to
>>       attacker-supplied jku so we'd need this profiled properly.
>>       - ID Tokens as defined today "SHOULD NOT use the JWS or JWE x5u,
>>       x5c, *jku*" so this needs a profile regardless. The presence of
>>       jwks_uris is the AS indicator for clients to observe.
>>       - This should likely live in two places
>>          - OIDF Connect A/B WG for ID Tokens, JARM, Signed UserInfo
>>          - IETF OAuth WG for JWT Access Tokens, Signed Introspection
>>       - - or -
>>    - (having worked the option above i don't think the complexity of
>>    this is needed) define `jkuqs` (JWK Set URL query string) jws header
>>    parameter, an implementation aware of this header parameter will then
>>    replace the querystring part of the jwks_uri the AS supplied in its
>>    metadata with it. Request always goes to the same URL but enables
>>    parameterization.
>>       - The replace part is important because it allows a different
>>       starting point for each AS, an AS already publishing multiple key 
>> types in
>>       its discovery can start with no qs in its discovery, a public AS like
>>       google can start with a QS that sets a filter to only expose RS256 
>> keys.
>>       And most importantly the actual qs meaning and filtering can be 
>> tailored by
>>       each AS according to its client carveout/opt-in needs.
>>       - The AS has to in addition explicitly advertise support.
>>       Verifiers shouldn’t start replacing queries on arbitrary existing
>>       jwks_uri values. Existing jwks_uri values might contain queries
>>       that identify tenants or routing parameters. A discovery flag for
>>       supporting query replacement would work.
>>    - - or - ?
>>
>> Coming back to an additional authorization parameter to drive the client
>> opt-in, I think it's a bad idea - clients should be able to opt-in and
>> opt-out out of band through admin UIs (or with the existing agility
>> metadata) for their entire client_id. Out of band configuration could also 
>> allow
>> a client identifier that's backed by more than a single software component
>> to opt-in only parts of it that can already do PQC based on the value of
>> the redirect_uri. Aaron suggested this when we revised
>> https://openid.net/post-quantum-openid-connect/ ("Per-Redirection URI
>> algorithms are also a possible approach").
>>
>> Best,
>> *Filip*
>>
>>
>> On Tue, 17 Nov 2026 at 02:17, Breno de Medeiros <breno=
>> [email protected]> wrote:
>>
>>> Available at
>>> https://datatracker.ietf.org/doc/draft-demedeiros-oidc-crypto-agility/
>>>
>>> The proposal introduces the ability for OIDC authorization metadata to
>>> publish the supported JWT signing algorithms and allows the client to
>>> request one of the supported types during the authorization request. In
>>> addition, it introduces a parameter to 'filter' algorithms from published
>>> key sets in the jws uri.
>>>
>>> The motivation here is to reduce friction for new algorithm adoption,
>>> particularly to facilitate PQC adoption in open federation contexts.
>>>
>>> --
>>>
>>> --Breno
>>> _______________________________________________
>>> OAuth mailing list -- [email protected]
>>> To unsubscribe send an email to [email protected]
>>>
>> _______________________________________________
>> OAuth mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>>
>
_______________________________________________
OAuth mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to