GithubHelp home page GithubHelp logo

Comments (4)

peacekeeper avatar peacekeeper commented on July 19, 2024

I don't know how key agreement works in KERI, can you point me to something?

I know that Ed25519 keys can be converted to X25519 for key agreement, and we could add such converted keys to the DID document. Some DID methods do that "automatically", and some don't. There are some use cases and ecosystems where this is not acceptable.

from tswg-did-method-webs-specification.

swcurran avatar swcurran commented on July 19, 2024

There definitely needs to be a way to declare both the Verification and KeyAgreement, and have the controller explicitly do the derivation of (for example) Ed25519 to X25519 vs. the DID Method doing it for you.

from tswg-did-method-webs-specification.

2byrds avatar 2byrds commented on July 19, 2024

Sam and Phil provided information on key agreement:
KERI supports more than Ed25519 (ECDSA for instance would use the same curve, no translation). So specifying translation is problematic, NIST algorithms use the same keys as the signing keys. The right strategy would be similar to how we are handling endpoints, domain migration info, etc. Normally in KERI we would use BADA-RUN for key agreement (just like we do for endpoints). But we should support two choices; BADA-RUN the assertion for the key agreement encryption key or anchor the key agreement info to the KEL via an ACDC credential.

from tswg-did-method-webs-specification.

2byrds avatar 2byrds commented on July 19, 2024

I included this wording in #64
Happy to adjust in a future PR.

from tswg-did-method-webs-specification.

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.