W3C home > Mailing lists > Public > public-credentials@w3.org > August 2019

More details about the Verifiable Credentials Demo.

From: Matthew Collier <mcollier@digitalbazaar.com>
Date: Thu, 1 Aug 2019 13:40:56 -0400
To: public-credentials@w3.org
Message-ID: <b34acbb8-73df-6cc8-7890-593ece36987e@digitalbazaar.com>
Hello All,

Some people have asked for more detail about the vc-demo we published 
the other day: https://github.com/digitalbazaar/vc-demo

**It is currently possible to:**
- Generate a Ed25519 or Secp256k1 keypair.
   - The public key material and a controller document will 
automatically be uploaded as a gist to your github.
- Sign a VC document of your own design, or using the provided sample.
- Verify the signed VC.
   - The verifier retrieves controller and key documents from public gists.

**Node.js Source Code**
- https://github.com/digitalbazaar/vc-js-cli
- https://github.com/digitalbazaar/vc-js/tree/node-12
- https://github.com/digitalbazaar/ecdsa-secp256k1-signature-2019
- https://github.com/digitalbazaar/secp256-key-pair
- https://github.com/digitalbazaar/jsonld-signatures/tree/node-12

A sample signed VC looks like this.  You should be able to verify this 
credential yourself using the vc-js-cli tool.
   "@context": [
   "id": "https://example.com/credentials/1872",
   "type": [
   "issuanceDate": "2010-01-01T19:23:24Z",
   "credentialSubject": {
     "id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
     "alumniOf": "Example University"
   "proof": {
     "type": "EcdsaSecp256k1Signature2019",
     "created": "2019-08-01T13:49:11Z",
     "proofPurpose": "assertionMethod",
Received on Thursday, 1 August 2019 17:41:23 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:24:54 UTC