Should the CLA of GET_RESPONSE(0xC0) command still be 0x00 for ctap2 case?
Closed this issue · 2 comments
nuno0529 commented
libfido2 code here force use 0x00, https://github.com/Yubico/libfido2/blob/main/src/nfc.c#L187
- ctap2 spec examples use 0x80, https://fidoalliance.org/specs/fido-v2.2-rd-20230321/fido-client-to-authenticator-protocol-v2.2-rd-20230321.html#nfc-fragmentation
- u2f spec examples use 0x00, https://fidoalliance.org/specs/fido-u2f-v1.2-ps-20170411/fido-u2f-nfc-protocol-v1.2-ps-20170411.html#apdu-length
As ISO7816-4, the CLA of GET_RESPONSE(0xC0) command is not fixed to 0x00, https://cardwerk.com/smart-card-standard-iso7816-4-section-7-transmission-interindustry-commands/