hyperledger-archives / ursa

Hyperledger Ursa (a shared cryptographic library) has moved to end-of-life status, with the components of Ursa still in use moved to their relevant Hyperledger projects (AnonCreds, Indy, Aries and Iroha).
https://wiki.hyperledger.org/display/ursa
Apache License 2.0
321 stars 142 forks source link

Master Secret (or Link Secret) in anoncreds_demo #202

Closed BruceChen1995 closed 2 years ago

BruceChen1995 commented 2 years ago

I drew a diagram based on the anoncreds_demo to figure out how to use ursa, but I'm not sure if the issuer will/should know the master secret. According to Indy SDK doc and the demo, a master secret is a special piece of data that’s inserted into a credential in blinded form and is given to issuer directly in plaintext. anoncreds_demo

brentzundel commented 2 years ago

The link secret is known only to the Prover. A blinded commitment to the link secret is provided to the Issuer for inclusion into the credential signature.