Should cbor_encode_cred_ext() encode the minPinLength value? #677
-
I see that the corresponding decode_cred_extension() does look for and decode a value for minPinLength, but cbor_encode_cred_ext() only encodes a bool for the extension. Is this by design or an oversight? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The implementation follows the CTAP2.1 specification, see §12.4. Minimum PIN Length Extension (minPinLength):
and
i.e. If your intention is to set a minimum PIN length, you use the authenticatorConfig command’s setMinPINLength sub-command (see also §7.4. Set Minimum PIN Length). This is abstracted in libfido2 via the |
Beta Was this translation helpful? Give feedback.
The implementation follows the CTAP2.1 specification, see §12.4. Minimum PIN Length Extension (minPinLength):
and
i.e.
cbor_encode_cred_ext()
…