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

Feat: use new keyshare protocol in irmaclient #327

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

ivard
Copy link
Member

@ivard ivard commented Aug 9, 2023

This PR can only be merged when /api/v1 has been removed from the keyshare server prefix.

In this PR I implemented the clientside parts of the new keyshare protocol. The server endpoints were already introduced in #267, #273, #274 and #278. I used the gabi test code as a reference implementation.

This PR can only be merged if the new keyshare protocol has been merged and deployed (#240). There is no backwards compatibility implemented for the legacy keyshare protocol.

This PR does not include introducing a new JWT type for verifiers. This will be done later in a separate PR because it needs some thinking first. There is no API design yet about how we post the JWT to verifiers and we must decide whether we want to keep the difference between the message format in signing sessions and disclosure sessions. The JWT handling for verifiers is not mandatory for using the new keyshare protocol, so this issue is not blocking.

irmaclient/keyshare.go Outdated Show resolved Hide resolved
@ivard ivard marked this pull request as ready for review September 20, 2023 13:52
@ivard ivard marked this pull request as draft September 20, 2023 13:54
Base automatically changed from new-keyshare-protocol to master September 27, 2023 14:31
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

Successfully merging this pull request may close these issues.

2 participants