Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Aries framework go wallet has plugin based architecture which can be replaced to customize wallet implementations.


Initialize wallet: 

TODO

Wallet core features: 

Basic wallet features independent of wallet types (like VC wallet, currency wallet etc) will be part of core interface. 



API Dependencies: 

  • KMS: use key plugin for cryptographic operations, if not provided then fallback to aries-framework-go kms api.
  • VDRI: use DID plugin, if not provided then fallback to aries-framework-go vdri api.


Questions

  • Does aries wallet really needs lock/unlock feature?

    Open question : Still investigating


VC plugin:

VC plugin adds verifiable credential features to the wallet. By default aries-framework-go verifiable command features will be used for creating and verifying credentials/presentations.
The new interface 'presentationSubmission' can be used to submit presentation definitions to the wallet and to get presentation submission as response.

DID plugin & aries kms will be used for generating proofs.

  • VerifyTakes a Verifiable Credential or Verifiable Presentation as input, returns a boolean verified, and an error if verified is false.
  • Issue: Adds proof to verifiable credential provided. (options contains at least a verificationMethod, and proofPurpose.)
  • Prove:  Takes an id of the verifiable credential and verifies the proof (options contains at least a challenge.)
  • presentationSubmission: Produces presentation submission based on wallet contents.


API Dependencies: 

  • KMS: use key plugin for cryptographic operations, if not provided then fallback to aries-framework-go kms api.
  • VDRI: use DID plugin, if not provided then fallback to aries-framework-go vdri api.


Questions

  • Why we need a new query interface for querying VCs using presentation exchange? Why can't we use existing 'query' interface from store plugin?
    'add' interface function from store plugin can be used to add any data model. Modifying 'query' interface to support presentation exchange may increase the complexity for non-VC data model users.

...