If user has introduced PIN, it is verified.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2022-09-20 11:50:45 +02:00
parent f439b85de7
commit 8feac76a73
2 changed files with 3 additions and 0 deletions

View File

@@ -313,6 +313,8 @@ int cbor_make_credential(const uint8_t *data, size_t len) {
}
uint8_t flags = FIDO2_AUT_FLAG_UP | FIDO2_AUT_FLAG_AT;
if (getUserVerifiedFlagValue())
flags |= FIDO2_AUT_FLAG_UV;
size_t ext_len = 0;
uint8_t ext [512];
if (hmac_secret != NULL || credProtect != 0) {