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

Get commitments #273

Merged
merged 24 commits into from
Jan 9, 2023
Merged

Get commitments #273

merged 24 commits into from
Jan 9, 2023

Conversation

synaptic-cleft
Copy link
Contributor

No description provided.

Maja Reissner and others added 21 commits September 1, 2022 16:59
…_0^secret) prior to issuance. This is needed for the client to calculate the hash h_w.
Implement /getPs endpoint for new keyshare protocol
# Conflicts:
#	server/keyshare/keyshareserver/server.go
#	server/keyshare/keyshareserver/server_test.go
…ably secure keyshare protocol.

The upgrade includes breaking changes in both the keyshare server and the app client. Since this pull request will only update the keyshare server, the client code is not upgraded properly here but merely so that it compiles again.
…l builder. Accidently committed the placeholder earlier.
This version of gabi produces a proofU that contains both keyshares. This commit changes the following:
- irmaclient.Client.startKeyshareSession() is now called newKeyshareSession, because it does not actually immediately start the session. Instead, it returns after checking the user's PIN. This is necessary because what happens next now differs per session type, see next point.
- In case of disclosure/ABS, the session proceeds as before. In case of issuance, /api/v2/prove/getPs at the keyshare server is first invoked to retrieve the P values (R_0^{keyshare server secret}), after which the session is started.
- In case of the old keyshare protocol, the keyshare's P is divided out from the U of the proofU because that is what the issuer expects in the old keyshare protocol.
Support gabi with updated keyshare protocol
@synaptic-cleft synaptic-cleft changed the base branch from new-keyshare-protocol to master-merge-only December 14, 2022 11:12
@synaptic-cleft synaptic-cleft marked this pull request as ready for review December 14, 2022 11:28
internal/keysharecore/operations.go Show resolved Hide resolved
irmaclient/keyshare.go Show resolved Hide resolved
irmaclient/session.go Show resolved Hide resolved
messages.go Show resolved Hide resolved
server/keyshare/keyshareserver/server.go Show resolved Hide resolved
server/keyshare/keyshareserver/server.go Outdated Show resolved Hide resolved
server/keyshare/keyshareserver/server.go Outdated Show resolved Hide resolved
server/keyshare/keyshareserver/server.go Show resolved Hide resolved
server/keyshare/keyshareserver/server.go Show resolved Hide resolved
@ivard ivard merged commit 8ce3c5b into master-merge-only Jan 9, 2023
@ivard ivard deleted the getCommitments branch January 9, 2023 09:12
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.

4 participants