Re: More details about the Verifiable Credentials Demo

Ok, thanks for the clarification!

— Christopher Allen [via iPhone]

On Thu, Aug 1, 2019 at 1:17 PM Dmitri Zagidulin <dzagidulin@gmail.com>
wrote:

> Christopher,
>
> Yeah, the 'jws' looks alarming at first glance. But it is a Linked Data
> Proof - the spec was changed some months ago to represent the actual LDP
> signature as a standalone JWS, as a step towards interop with the JWT/JOSE
> community.
>
> On Thu, Aug 1, 2019 at 4:11 PM Christopher Allen <
> ChristopherA@lifewithalacrity.com> wrote:
>
>> On Thu, Aug 1, 2019 at 10:42 AM Matthew Collier <
>> mcollier@digitalbazaar.com> wrote:
>>
>>> A sample signed VC looks like this.  You should be able to verify this
>>> credential yourself using the vc-js-cli tool.
>>> ```
>>> {
>>>    "@context": [
>>>      "https://www.w3.org/2018/credentials/v1",
>>>      "https://www.w3.org/2018/credentials/examples/v1"
>>>    ],
>>>    "id": "https://example.com/credentials/1872",
>>>    "type": [
>>>      "VerifiableCredential",
>>>      "AlumniCredential"
>>>    ],
>>>    "issuanceDate": "2010-01-01T19:23:24Z",
>>>    "credentialSubject": {
>>>      "id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
>>>      "alumniOf": "Example University"
>>>    },
>>>    "issuer":
>>> "
>>> https://gist.githubusercontent.com/mattcollier/bbeb042136d8c6971ec162236f0a77f2/raw
>>> ",
>>>    "proof": {
>>>      "type": "EcdsaSecp256k1Signature2019",
>>>      "created": "2019-08-01T13:49:11Z",
>>>      "jws":
>>>
>>> "eyJhbGciOiJFUzI1NksiLCJiNjQiOmZhbHNlLCJjcml0IjpbImI2NCJdfQ..MEQCIBjyUUdGaXJE1GRu91XOU4C1BjUDp_JyxMLSY8MzxKfxAiA9SEbcPnWZh045oLx5aPzZlZABdnApkrL5bAyev29fLA",
>>>      "proofPurpose": "assertionMethod",
>>>      "verificationMethod":
>>> "
>>> https://gist.githubusercontent.com/mattcollier/c0b673cef7a764a85c12c813d4ca76ad/raw
>>> "
>>>    }
>>> }
>>>
>>
>> Matt,
>>
>> I'm confused by this — I may be misreading it. Is this a Linked Data
>> Proof example? One of our goals was to have some reference  (we hoped this
>> code base) to demonstrate conformance of other JSON-LD/LD-Proof libraries
>> for Verifiable Claims.
>>
>> — Christopher Allen
>>
>

Received on Thursday, 1 August 2019 20:25:48 UTC