diff --git a/src/fido/cbor_make_credential.c b/src/fido/cbor_make_credential.c index cf836d7..832ee35 100644 --- a/src/fido/cbor_make_credential.c +++ b/src/fido/cbor_make_credential.c @@ -222,6 +222,9 @@ int cbor_make_credential(const uint8_t *data, size_t len) { curve = FIDO2_CURVE_P256K1; } } + else if (pubKeyCredParams[i].alg <= FIDO2_ALG_RS256 && pubKeyCredParams[i].alg >= FIDO2_ALG_RS512) { + // pass + } else { CBOR_ERROR(CTAP2_ERR_CBOR_UNEXPECTED_TYPE); }