trussed-dev / fido2-tests

Test suite for FIDO2, U2F, and other security key functions
Other
48 stars 38 forks source link

test_zero_length_pin_auth should raise PIN_INVALID error #13

Open dangfan opened 5 years ago

dangfan commented 5 years ago

See Using pinToken in authenticatorMakeCredential: If platform sends zero length pinAuth, authenticator needs to wait for user touch and then returns either CTAP2_ERR_PIN_NOT_SET if pin is not set or CTAP2_ERR_PIN_INVALID if pin has been set.