Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device engagement bytes are double when performing reverse engagement with over the internet #761

Open
vaimut opened this issue Oct 25, 2024 · 0 comments

Comments

@vaimut
Copy link

vaimut commented Oct 25, 2024

Expected Behavior

deviceEngagementBytes should come as #6.24(bstr .cbor DeviceEngagement) but it is encoded again during device retrieval process

Actual Behavior

double encoded deviceEngagementBytes

Steps to Reproduce the Problem

Try over the internet(18013-7) verification with the below reader https://www-s.nist.gov/mdl/ and check the flow with the app holder and as per document as well it should come as a tagged 24 byte string but in DeviceRetrievalHelper it's been encoded again to cbor

It should come as
{"deviceEngagementBytes": 24(h'A30063312E31018201D818584BA401022001215820CC8C76E13101C50A9FF0849CE77135B824C88AD703293F969F0BD4549AE00EF2225820888EB057805D35BD08500533792B09D32800707BD029B130D77D148A3EE1A5DB0581A363636174016474797065016764657461696C73A166646F6D61696E60')'}

but it work's as
{"deviceEngagementBytes": h'D8185877A30063312E31018201D818584BA401022001215820CC8C76E13101C50A9FF0849CE77135B824C88AD703293F969F0BD4549AE00EF2225820888EB057805D35BD08500533792B09D32800707BD029B130D77D148A3EE1A5DB0581A363636174016474797065016764657461696C73A166646F6D61696E60}

Specifications

Screenshot 2024-10-25 at 11 56 56 AM
  • Version:
  • Platform:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant