GithubHelp home page GithubHelp logo

Nesting Signatures with JWT about vc-data-model HOT 3 CLOSED

w3c avatar w3c commented on May 22, 2024
Nesting Signatures with JWT

from vc-data-model.

Comments (3)

jonnycrunch avatar jonnycrunch commented on May 22, 2024

uPort may have solved this by wrapping the hash of the content using IPFS and signing the hash. I will look up the solution and update this issue.

uPort whitepaper describing the ipfs hash: https://uport.me/library/pdf/whitepaper.pdf

I may be mistaken...looks like it is an array of JWTs that are atomic attestations (with signatures), not nested as that would obviously change the ipfs hash.

Nesting is accomplished by creating new attestation with content:

{ ...
"subject":{"uportId":"0xf25a8c2ec....057db9f7"}
"claim" : { .... }
...
}

This is stored as a separate ipfs file and then linked via the ethereum smart contract.

Overall, elegant solution. However, as @msporny pointed out during the call privacy would be an issue and thus not all implementers would use ipfs.

from vc-data-model.

coder5876 avatar coder5876 commented on May 22, 2024

@jonnycrunch: Yeah in uPort we haven't dealt with multiple signature on the same data yet. I guess a question here is if a verifiable claim needs to be a JWT? You could imagine a scenario where you interpret an array of JWTs as a multisig on the same data.

from vc-data-model.

msporny avatar msporny commented on May 22, 2024

The latest Linked Data Signatures spec supports multisig sets and chains: https://w3c-dvcg.github.io/ld-signatures/#multiple-signatures

The latest RsaSignature2018 cryptography suite supports JOSE JWS-style signatures: digitalbazaar/jsonld-signatures@f583bd4

Given that it's been 4+ years and there isn't a spec for Verifiable Credentials expressed as a JWT, and given that no one is implementing JWT-based Verifiable Credentials. I'm suggesting that we close this issue for the 1.0 work. We can always support JWT-based VCs later if someone decides to write a spec encapsulating VCs in JWTs.

Notice: Closing this issue on or after 2018-2-20.

from vc-data-model.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.