Giter Club home page Giter Club logo

Comments (5)

OR13 avatar OR13 commented on May 31, 2024

It would be ideal to pick a signature method that is compatible with the tooling built by jolocom and uport already.

@christianlundkvist @Exulansis

Whatever we decide, it needs to be clearly defined in the spec, in plain terms, and there needs to be at least a javascript test.

Ideally, there should be at least one implementation in a different language for cross validation of spec compliance.

from lds-ecdsa-secp256k1-2019.js.

OR13 avatar OR13 commented on May 31, 2024

@thehenrytsai this suite could potentially use the same signing method that sidetree uses. If you have any strong arguments for leveraging the same type of signature here, I'd love your input.

I believe this code is equivalent to the code used in sidetree core:

https://github.com/decentralized-identity/element/blob/master/packages/element-lib/src/func/signEncodedPayload.js

from lds-ecdsa-secp256k1-2019.js.

OR13 avatar OR13 commented on May 31, 2024

I consider this repo to be one of the best references for JSON-LD Signature Suite implementation in JS:

digitalbazaar/jsonld-signatures#52

We should be concerned about updating the JOSE registry.

from lds-ecdsa-secp256k1-2019.js.

OR13 avatar OR13 commented on May 31, 2024

Does anyone know how to get the JOSE algorithm registry updated, or who a champion might be for this task?

https://tools.ietf.org/id/draft-ietf-cose-webauthn-algorithms-00.html

This is required to have valid JWS which use secp256k1. Anything else might look correct, but won't be official.

from lds-ecdsa-secp256k1-2019.js.

OR13 avatar OR13 commented on May 31, 2024

ES256K (JWS) Unencoded Payload Option, same as EdDSA used in Ed25519Signature2018 ... https://tools.ietf.org/html/rfc7797#section-6

from lds-ecdsa-secp256k1-2019.js.

Related Issues (12)

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.