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

Completed credential signature data model #164

Merged
merged 8 commits into from
Oct 2, 2023

Conversation

aritroCoder
Copy link
Contributor

This pull request should be merged only after merging #162, otherwise the changes does not make much sense

aritroCoder added 2 commits August 27, 2023 01:35
* `a` is the signature of the blinded known attributes. It's generation is given above.
* `e` is a random prime generated by the [[ref: issuer]] for creating signature.
* `v` is a number generated by the [[ref: holder]] to unblind the signature of the blinded attributes. It is constructed as follows:
* $v = v' + v''$, where $v'$ is the blinding factor which the holder has and $v''$ is the random number generated by the issuer.
Copy link
Member

Choose a reason for hiding this comment

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

"and $v''$ is the random number generated by the issuer"

I think it should be a "is a random number...", as I assume they generate it on the fly? I would think that the attributes (e.g. the size) of the number should be indicated?

@swcurran swcurran requested a review from mikelodder7 August 30, 2023 12:34
Signed-off-by: aritroCoder <[email protected]>
* *TO BE ADDED*
* `m_2` is a linkable identifier to the holder that is also called the `master_secret` in old versions. It is constructed as follows:
* $m_2 = H(i || \mathcal{H})$, where $i$ is an index assigned to the holder, and $\mathcal{H}$ is an identifier with which the [[ref: holder]] is known to the [[ref: issuer]].
* `a` is the signature of the blinded known attributes. It's generation is given above.
Copy link
Contributor

Choose a reason for hiding this comment

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

Add how is encoded. I believe for anoncreds 1.0 its base 10

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, it is encoded in decimal

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added this into the spec

@swcurran swcurran merged commit 1f15dec into hyperledger:main Oct 2, 2023
1 check passed
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.

3 participants