Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: indy revocation (prover & verifier) (#592)
* Added recepientRevocation for createProof Signed-off-by: Patrick Kenyon <treek.kenyon@gmail.com> * Initial revocation functions for getRequestedCredentialsForProofRequest Signed-off-by: Patrick Kenyon <treek.kenyon@gmail.com> * Added option to check for revocation status in getRequestedCredentials Signed-off-by: Patrick Kenyon <treek.kenyon@gmail.com> * sorted transports Signed-off-by: Adam Burdett <burdettadam@gmail.com> * broken message sender tests Signed-off-by: Adam Burdett <burdettadam@gmail.com> * structure fix Signed-off-by: Adam Burdett <burdettadam@gmail.com> * lint import ordering Signed-off-by: Adam Burdett <burdettadam@gmail.com> * if(0) does not work. Signed-off-by: Adam Burdett <burdettadam@gmail.com> * utf-8 decode ws event.data Signed-off-by: Adam Burdett <burdettadam@gmail.com> * indy wallet friendly bits Signed-off-by: Adam Burdett <burdettadam@gmail.com> * correct protocal type Signed-off-by: Adam Burdett <burdettadam@gmail.com> * check invite during init Signed-off-by: Adam Burdett <burdettadam@gmail.com> * id check Signed-off-by: Adam Burdett <burdettadam@gmail.com> * keep sockets with mediators open Signed-off-by: Adam Burdett <burdettadam@gmail.com> * recursive backoff Signed-off-by: Adam Burdett <burdettadam@gmail.com> * timeout Signed-off-by: Adam Burdett <burdettadam@gmail.com> * timeout time Signed-off-by: Adam Burdett <burdettadam@gmail.com> * logger Signed-off-by: Adam Burdett <burdettadam@gmail.com> * propper recursive backoff Signed-off-by: Adam Burdett <burdettadam@gmail.com> * multiple socket timeout support Signed-off-by: Adam Burdett <burdettadam@gmail.com> * Code cleanup Signed-off-by: Patrick Kenyon <treek.kenyon@gmail.com> * Fix tests and types Signed-off-by: Patrick Kenyon <treek.kenyon@gmail.com> * Formatting and type fixes Signed-off-by: Patrick Kenyon <treek.kenyon@gmail.com> * revocation fixes Signed-off-by: Patrick Kenyon <treek.kenyon@gmail.com> * ran prettier Signed-off-by: Patrick Kenyon <treek.kenyon@gmail.com> * chore: add ts ignore until types are updated Signed-off-by: James Ebert <jamesebert.k@gmail.com> * feat: updated tails download to utilize axios and added inline docs Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: fixed formatting Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: removed husky Signed-off-by: James Ebert <jamesebert.k@gmail.com> * fix: add back husky pre-push Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: formatting Signed-off-by: James Ebert <jamesebert.k@gmail.com> * fix: fixed error imports Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: resolve dependency loop issues Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: formatting Signed-off-by: James Ebert <jamesebert.k@gmail.com> * feature: revocation ledger methods & proof get requested credentials revoked status Signed-off-by: James Ebert <jamesebert.k@gmail.com> * feature: added revocation state creation Signed-off-by: James Ebert <jamesebert.k@gmail.com> * fix: small tweaks and fixes for revocation Signed-off-by: James Ebert <jamesebert.k@gmail.com> * feature: takes into account referent revocation intervals Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: cleanup & prettier Signed-off-by: James Ebert <jamesebert.k@gmail.com> * fix: fixed createrevocationstate types & initial rev reg def caching Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: formatting Signed-off-by: James Ebert <jamesebert.k@gmail.com> * fix: fixed proofservice test mock Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: minor cleanup Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: rename indyutilitiesservice Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: troubleshooting revocation, added ledger methods for verifying proof of non revocation Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: cleanup & credential storage w/revocation Signed-off-by: James Ebert <jamesebert.k@gmail.com> * feat: add download to file method to file system Signed-off-by: Timo Glastra <timo@animo.id> * refactor: use rnfs for react native Signed-off-by: Timo Glastra <timo@animo.id> * chore: cleanup & log adjustments Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: formatting Signed-off-by: James Ebert <jamesebert.k@gmail.com> * feat: verify proofs containing proof of non_revocation Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: formatting Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: update indy-sdk-react-native & indy-sdk types Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: adjusts names to be consistent & removing abbreviations Signed-off-by: James Ebert <jamesebert.k@gmail.com> * chore: updated indy-sdk types to fix proof identifier types Signed-off-by: James Ebert <jamesebert.k@gmail.com> * fix: indyverifierservice prototype pollution Signed-off-by: James Ebert <jamesebert.k@gmail.com> Co-authored-by: Patrick Kenyon <treek.kenyon@gmail.com> Co-authored-by: Adam Burdett <burdettadam@gmail.com> Co-authored-by: Timo Glastra <timo@animo.id>
- Loading branch information