Skip to content

Commit

Permalink
Look up what is happening in anoncreds-clsignatures-rs
Browse files Browse the repository at this point in the history
Signed-off-by: Ricky Ng-Adam <[email protected]>
  • Loading branch information
rngadam authored Aug 16, 2024
1 parent 66b50e3 commit b6401d7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/witness.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ in CredentialSignatureProofValue, witness may be none:

https://github.com/rngadam/anoncreds-rs/blob/44a22edc49275f4ad0ea805ae9b033d86c22b405/src/data_types/w3c/proof.rs#L263-L275

Prover recomputes witness here:
Prover recomputes witness in the function create_or_update_revocation_state:

https://github.com/rngadam/anoncreds-rs/blob/44a22edc49275f4ad0ea805ae9b033d86c22b405/src/services/prover.rs#L578
https://github.com/rngadam/anoncreds-rs/blob/44a22edc49275f4ad0ea805ae9b033d86c22b405/src/services/prover.rs#L607-L635

## Issuance
Expand All @@ -23,3 +24,7 @@ https://github.com/rngadam/anoncreds-rs/blob/44a22edc49275f4ad0ea805ae9b033d86c2
which in turns calls Issuer::sign_credential_with_revoc:

https://github.com/rngadam/anoncreds-rs/blob/44a22edc49275f4ad0ea805ae9b033d86c22b405/src/services/issuer.rs#L814-L829

which calls _new_non_revocation_credential in the repo anoncreds-clsignatures-rs

https://github.com/hyperledger/anoncreds-clsignatures-rs/blob/61b2acea99e6da6d06ab83c117d7a3605fe79322/src/issuer.rs#L1297C1-L1297C39

0 comments on commit b6401d7

Please sign in to comment.