hyperledger / anoncreds-clsignatures-rs

Apache License 2.0
7 stars 12 forks source link

Include blinded messages in check for missing attributes #22

Closed andrewwhitehead closed 1 year ago

andrewwhitehead commented 1 year ago

Follow up to #21

The checks during credential issuance are extended to:

  1. Include blinded attributes when checking if all attributes are provided
  2. Check that there is no overlap between the blinded attributes (the link secret) and the attributes provided by the issuer

The second fix highlighted an issue with many of the unit tests, where the issuer was providing the master_secret attribute, and these are now fixed.

Tested for compatibility with indy-credx and anoncreds-rs