Giter Club home page Giter Club logo

identitylink-services's People

Contributors

antonyip avatar c-castillo avatar codynhat avatar decentralgabe avatar dysbulic avatar michaelsena avatar oed avatar pi0neerpat avatar venarius avatar zachferland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

identitylink-services's Issues

Feature Req: create reverse lookup for identity links

Description

I'd like to do a reverse lookup from alsoKnownAs, so it would be possible to find an account/DID based on someone's Github or Twitter username.

Technical Information

I initially asked this on Ceramic Discord, where Spencer suggested the following (and to create a feature request here);

"if we changed the way identity-link services worked, we could add a deterministic tile document as part of creating the link that would provide the reverse-link, similar to what caip10link is to the cryptoAccounts definition. This would be a good feature request for identity-link services"

Generated credential is not valid JSON-LD

The current Verifiable Credential looks like:

{
  iat: 1613091180
  iss: "did:web:oiekhuylog.execute-api.us-west-2.amazonaws.com"
  nbf: 1613091180
  sub: "did:3:kjzl6cwe1jw14b66fwpkbtsjr6l12rhtbrp48u0myiooozc0w559sv6e5yty0z4"
  vc: {
    @context: ["https://www.w3.org/2018/credentials/v1"]
    type: ["VerifiableCredential"]
    credentialSubject:
      account: {
        type: "Github"
        url: "https://gist.githubusercontent.com/dysbulic/2d6173168e3418d91acb9d83d53f35b6/raw/b342e5b8ab56781dc7adda4af2b693077bcabb84/IDX%20DID"
        username: "dysbulic"
      }
    }
  }
}

There are several parts of the VC & JSON-LD specifications are not followed. These include:

  • the credential should contain an issuer property specifying creator's DID
  • the credentialSubject should contain an id specifying the subject's DID
  • the @context should contain a contextualization for the contents of the account property
  • the type should contain a descriptor for the account property

The issuer and subject are present as the iss & sub properties, but I'm pretty sure they're also supposed to be present in the VC in case the JWT wrapper is stripped off in a presentation.

My understanding is JSON-LD's context is supposed to contain entries for all the elements in the document.

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.