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

Make mdoc Session Encryption work with all nine KA curves. #384

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

davidz25
Copy link
Contributor

Change from "Ephemeral Key Curve" to "Session Encryption Curve" in preferences since that's more accurate.

Also show which mdoc Session Encryption curve was used in the reader.

Fix "Show debugging logs" buttons in both wallet and reader app (currently a no-op).

Add new unit tests for COSE_Key encode and decode.

Also fix mdoc MAC authentication to make it use the reader public key.

Test: New unit tests + all unit tests pass.
Test: Manually tested all nine curves with 18013-5 presentations.

@davidz25 davidz25 added library For issues related to the Identity Credential library appholder For issues related to the reference mdoc holder app labels Oct 13, 2023
Copy link
Contributor

@suzannajiwani suzannajiwani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super small question/nit, otherwise looks great!

Change from "Ephemeral Key Curve" to "Session Encryption Curve" in
preferences since that's more accurate.

Also show which mdoc Session Encryption curve was used in the reader.

Fix "Show debugging logs" buttons in both wallet and reader app (currently
a no-op).

Add new unit tests for COSE_Key encode and decode.

Also fix mdoc MAC authentication to make it use the reader public key.

Test: New unit tests + all unit tests pass.
Test: Manually tested all nine curves with 18013-5 presentations.
@davidz25 davidz25 force-pushed the fix-session-encryption branch from 4c02f0d to 8141569 Compare October 19, 2023 22:12
@davidz25 davidz25 merged commit 4365e65 into master Oct 19, 2023
4 checks passed
@davidz25 davidz25 deleted the fix-session-encryption branch October 19, 2023 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appholder For issues related to the reference mdoc holder app library For issues related to the Identity Credential library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants