RFC Errata


Errata Search

 
Source of RFC  
Summary Table Full Records

RFC 8031, "Curve25519 and Curve448 for the Internet Key Exchange Protocol Version 2 (IKEv2) Key Agreement", December 2016

Source of RFC: ipsecme (sec)

Errata ID: 6931
Status: Held for Document Update
Type: Technical
Publication Format(s) : TEXT

Reported By: Christian Tschudin
Date Reported: 2020-11-17
Held for Document Update by: Paul Wouters
Date Held: 2023-07-28

Section Global says:


Notes:

A discrepancy came to my attention when testing the Yubikey 5 hardware and comparing it with the NaCl library and RFC8031. While the NaCl library works as expected, it is disturbing to see that the Yubikey can only be made to produce the desired (above and corrected) shared secret if you let it compute X25519(fixed_i,pub_r). That is, the secret must be presented to the Yubikey in big-endian format which could be "inspired" by the (not very detailed) Smartcard spec 3.4.1 that refers to ANSI X9.62 where curve parameters, prefixed with 0x04, are encoded in big-endian order - clearly the ANSI encoding is not useful here as we only need one parameter u. I wonder whether RFC8031 should spell out that input parameters (d_X and pub_X) SHOULD be presented in encoded form (and thus little-endian), hence putting manufacturers in charge of documenting any deviation.

Report New Errata



Advanced Search