Skip to content

Create and update public verifiable credentials #23

@charleenfei

Description

@charleenfei

Description

The library should expose methods to create, sign, and verify claims about the identity.

TODO:

  • Define verifiable credential structure.
  • JWT v. JSON-LD: JWT is neater with less convoluted (and/or irrelevant) syntax. But, JWT is a base64 encoded blob -- you can't see the content unless you decode it, which is potentially a problem or limitation for potential searchable public credentials
  • Consider JWT for 'private' claims (ES256 alg in header for asymmetric decoding) and JSON-LD for public?
  • JSON-LD VC structure would follow the W3C Verifiable Claims standard, and use a W3C signature suite for a LD signature.
  • Which one could best be expanded to handle multisig situations? uPort goes with array of JWT to represent multi-sig. Possibility: set IPFS claim hashes into IPLD as merkle-dags for multisig?
  • Refactor DID class to include method for creating, signing, and verifying verifiable credential.
  • typechecking in method for valid DID?
  • Add DID interface

Metadata

Metadata

Assignees

Labels

new featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions