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

Use a single cryptosuite identifier and tag proofValue with subtype #317

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

andrewwhitehead
Copy link
Member

Fixes #315

This changes the cryptosuite value to "anoncreds-2023".

The proofValue of the DataIntegrityProof is encoded as a 2-element list with the subtype as the first element: 1=credential signature, 2=credential presentation, 3=presentation proof (aggregate proof). This makes for a small and compatible representation, although other options could be considered, such as a map ({"CredentialSignature": {...}}).

Copy link
Member

@TimoGlastra TimoGlastra left a comment

Choose a reason for hiding this comment

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

Nice, thanks @andrewwhitehead

@TimoGlastra TimoGlastra merged commit 2c4689d into hyperledger:main Feb 2, 2024
26 checks passed
@andrewwhitehead andrewwhitehead deleted the feat/tagged-proof branch February 2, 2024 02:42
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.

Data Integrity Proof Cryptosuite naming
2 participants