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] Error uploading voucher to the dashboard #66

Closed Sai-Anudeep47 closed 11 months ago

Sai-Anudeep47 commented 12 months ago

To simplify issue resolution process, please provide network logs, and or test voucher. voucher_upload_error_dashboard voucher_upload_error_log voucher_upload_error_log.txt pri256_voucher.txt

What part of the spec are you testing?

What protocol are having issue with?

Issue description

023/11/07 22:13:40 Error loading .env file. open .env: no such file or directory
2023/11/07 22:13:40 Starting server at port 8080...
2023/11/07 22:13:44 Failed to decode voucher. Could not validate voucher inst! error decoding OVHeader. cbor: cannot unmarshal array into Go struct field fdoshared.OwnershipVoucherHeader.OVRvInfo of type fdoshared.RendezvousInstr (cannot decode CBOR array to struct with different number of elements)
2023/11/07 22:13:44 Responding error: Failed to decode voucher! Could not validate voucher inst! error decoding OVHeader. cbor: cannot unmarshal array into Go struct field fdoshared.OwnershipVoucherHeader.OVRvInfo of type fdoshared.RendezvousInstr (cannot decode CBOR array to struct with different number of elements). HTTP code 400
curl --location --request POST 'https://host.docker.internal:8038/api/v1/rvinfo' --header 'Content-Type: text/plain' --data-raw '[[[12,1],[3,8080],[5,"localhost"],[14],[4,8080]]]' --cacert ../scripts/secrets/ca-cert.pem --cert ../scripts/api-user.pem -v
yackermann commented 11 months ago

Resolved