Ambiguous specification of the Verification Data field in Authentication Messages #18
Labels
documentation
Additional information or clarification required
interoperability
Impacts interoperability and backwards compatibility
Authentication Method 2 uses a verification token to proof possession of a shared secret. The verification token is derived using HKDF resulting in binary data (or a hexadecimal representation thereof) to be sent with an
A2
message.However, the
VerificationData
field of anA
message uses UTF-8 character encoding. The specification is not clear on how binary Authentication Method 2 verification data should be encoded in such a field. Furthermore, putting a hexadecimal representation in a UTF-8 character encoded field makes the message too long.Therefore, either the field should use the hexadecimal
x
encoding (requiring text URLs inA1
messages to be encoded into binary), or keep the characterc
encoding (requiring the verification data inA2
to be binary-to-text encoded).The text was updated successfully, but these errors were encountered: