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

Fix issue #455: Check whether the EDevice received a SessionEstablishment or a SessionData message #456

Conversation

nicklaswj
Copy link

In the context of reverse engagement, check whether the EReader sent a SessionEstablisment message or a SessionData message. If the EReader sent a SessionEstablishment message, use the public key in the message instead of the initial public key in the ReaderEngagement message.

Fixes #455

In the context of reverse engagement, check whether the EReader sent a SessionEstablisment
message or a SessionData message. If the EReader sent a SessionEstablishment message, use the
public key in the message instead of the initial public key in the ReaderEngagement message.

Signed-off-by: Nicklas Warming Jacobsen <[email protected]>
@nicklaswj nicklaswj force-pushed the differentiate-between-SessionData-and-SessionEstablishment branch from c9e32f0 to f925b3e Compare February 1, 2024 08:11
@davidz25
Copy link
Contributor

Sorry for taking a while to look at this. I'm trying to understand what bug you are trying to fix. Is it for the case where the mdoc reader sends EReaderKey of curve X in ReaderEngagement and then the mdoc decides to use another curve Y and sends EDeviceKey in DeviceEngagement of curve Y and then the reader sends SessionEstablishment with a new EReaderKey with curve Y instead of SessionData?

@nicklaswj
Copy link
Author

nicklaswj commented Feb 21, 2024 via email

@nicklaswj
Copy link
Author

@davidz25 I have a (another) implementation of a working MDL reader implementation you can test with if that will help you. However I can't share it publicly, so I would need to send the link by email or some other private channel.

@davidz25
Copy link
Contributor

This code was rewritten in Kotlin, please reopen if this is still an issue and we'll fix it.

@davidz25 davidz25 closed this Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants