I'm wondering how the two interact. I think of SUPPORTED_AUTH_METHODS
as trumping SIGNATURE_HASH_ALGORITHMS but otherwise being independent.

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
- if the initiator recognises SUPPORTED_AUTH_METHODS but not EdDSA,
then it either fails or tries something old; else
- 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
- the initiator falls back to something old
_______________________________________________
IPsec mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to