On Tue, 6 Oct 2026 at 01:50, Valery Smyslov <[email protected]> wrote:
>
> Hi Andrew,
>
> > I'm wondering how the two interact. I think of SUPPORTED_AUTH_METHODS
> > as trumping SIGNATURE_HASH_ALGORITHMS but otherwise being independent.
>
> The interaction between the two is somewhat not ideal, they are mostly 
> independent, but not completely
> SUPPORTED_AUTH_METHODS does not replace SIGNATURE_HASH_ALGORITHMS, it 
> provides additional information.
> RFC 9593 does not update RFC 7427, thus all the logic of RFC 7427 applies 
> accordingly.
>
> For example, to use the "Digital Signature" authentication method peers still 
> have
> to exchange the SIGNATURE_HASH_ALGORITHMS notifications, as defined in RFC 
> 7427.
> If they don't, they are not required to recognize any announcement with this 
> auth method
> in announcements and should just skip such.

I guess.

I'd tend to be more forgiving.  I find it hard to argue that a peer
sending SUPPORTED_AUTH_METHODS containing:
    IKEv2_AUTH_DIGITAL_SIGNATURE
    EdDSA blob
doesn't support the new "Digital Signature" AUTH payload.

> > For instance, consider a crippled responder that only supports EdDSA
> > (in the real world this might be one end RSA only, and the other ECDSA
> > only)
> >
> > IKE_SA_INIT
> >              -> SIGNATURE_HASH_ALGORITHMS(SHA2_256, IDENTITY)
> >              <- SUPPORTED_AUTH_METHODS(EdDSA)
> >
> > I guess:
> >
> > - if the initiator recognises SUPPORTED_AUTH_METHODS and EdDSA so uses
> > that in the new Digital Signature AUTH payload, even though there's no
> > SIGNATURE_HASH_ALGORITHMS notification
>
> This would be wrong. The initiator should skip EdDSA in SUPPORTED_AUTH_METHODS
> since the responder did not return SIGNATURE_HASH_ALGORITHMS and thus
> did not confirm that it supports the "Digital Signature" auth method.
>
> > - if the initiator recognises SUPPORTED_AUTH_METHODS but not EdDSA,
> > then it either fails or tries something old; else
>
> This would be correct, see above.
>
> > - if the initiator tries something old
> >
> > IKE_SA_INIT
> >              -> SIGNATURE_HASH_ALGORITHMS(SHA2_256, IDENTITY)
> >              <- SUPPORTED_AUTH_METHODS(EdDSA),
> > SIGNATURE_HASH_ALGORITHMS(IDENTITY)
> >
> > I guess in addition to the above
> > - the initiator does not recognise SUPPORTED_AUTH_METHODS but seeing
> > the IDENTITY hash, hopefully tries EdDSA; else
>
> This would be correct (the old logic, pre-RFC9593).
>
> Regards,
> Valery.
>
> > - the initiator falls back to something old
> > _______________________________________________
> > IPsec mailing list -- [email protected]
> > To unsubscribe send an email to [email protected]
>
_______________________________________________
IPsec mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to