- From: Dmitri Zagidulin <dzagidulin@gmail.com>
- Date: Thu, 1 Aug 2019 16:17:34 -0400
- To: Christopher Allen <ChristopherA@lifewithalacrity.com>, public-vc-wg@w3.org
- Message-ID: <CANnQ-L7LaHf116t0vcXzmJ2KW3QqbPBiy+WLC6-W=MnxwtsWtA@mail.gmail.com>
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:18:10 UTC