fido-alliance / iot-fdo-conformance-tools

FIDO Alliances Reference FDO Implementation and Conformance Testing
https://fidoalliance.org/intro-to-fido-device-onboard/
Other
5 stars 2 forks source link

[BUG] Exception in decryption of message 65 when using AES GCM and CCM ciphersuites #38

Closed Sai-Anudeep47 closed 1 year ago

Sai-Anudeep47 commented 1 year ago

To simplify issue resolution process, please provide network logs, and or test voucher. aad_bytes_conformance_owner.log

aad_value_client

What part of the spec are you testing?

What protocol are having issue with?

Issue description

yackermann commented 1 year ago

Okay. 2/3 Issues addressed. For the last one I need to finish integration flow test. Will finish in the morning

Sai-Anudeep47 commented 1 year ago

Following are few additional observations.

emb_protectedheaderinner

yackermann commented 1 year ago

@Sai-Anudeep47 yes you are correct

yackermann commented 1 year ago

Ok. This should be now resolved.

Sai-Anudeep47 commented 1 year ago

@herrjemand The issue is still noticed with latest fix. Following is a observation upon debugging.

Upon modifying conformance code with above changes, the expected behavior is observed where AAD bytes generated by conformance owner is same as generated on client side. Even though AAD being matched, during authentication check for encrypted text, it throws afore mentioned exception, as follows

yackermann commented 1 year ago

🤦 Sorry for that.

Fixed now