Code Monkey home page Code Monkey logo

indigo-simple-agent's People

Contributors

ankurdelight avatar clinejm avatar

Watchers

 avatar  avatar  avatar

indigo-simple-agent's Issues

change signature to use digital signature standard curve/library

ankur:
to use/build into indigo.

this is the library adrien recommended me (i think)

https://github.com/dchest/tweetnacl-js

looks like you would generate an encryption keypair using their public key library,
and then generate a different keypair for signing using your secret key as a seed, or from scratch.

looks like theyre using the same curve anton is in the verification on tendermint, so that's good.

anton:

Yes, that’s the same curve.

I just have a minor comment — instead of using one private key as the seed for another, generate both independently and concatenate it into a single 64-byte signing-encryption private key. Do the same for public keys.

With a minor overhead we get compatibility and probably better security — it’s not always possible to set up the seed, especially for things like HSM. Debugging is easier too.

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.