Giter Club home page Giter Club logo

Comments (5)

omershlo avatar omershlo commented on July 18, 2024

Yes, working on it as we speak :)

from gotham-city.

omershlo avatar omershlo commented on July 18, 2024

I will let you know when I push the code

from gotham-city.

omershlo avatar omershlo commented on July 18, 2024

@freehere107 This seems to be problematic at the moment : Technically it is very easy but security wise it creates an issue since now we will have API call to extract the secret share of party two. The code is designed in such way that the secret shares are never exposed and all operations on them are done locally (for example you can ask to refresh the private key but you will not get the new key as output, just an object of master key with the new key).

Until we find a solution you can do one of the following:

  1. It is currently possible to serialize master keys - you can serialize them and take the secret shares. This is not supposed to be supported in the future (see #21 )
  2. see this test : https://github.com/KZen-networks/kms-secp256k1/blob/master/src/ecdsa/two_party/test.rs#L46 . Now all operations are possible but one party will run both master keys roles locally

I am open for suggestions as well

from gotham-city.

freehere107 avatar freehere107 commented on July 18, 2024

I try it. https://github.com/KZen-networks/kms-secp256k1/blob/master/src/ecdsa/two_party/test.rs#L46 There is a problem, MasterKey1 private field scope is private.It's not possbile to to_encrypted_segment from parity1

from gotham-city.

omershlo avatar omershlo commented on July 18, 2024

Can you elaborate more? if you want to use the segmented encryption it should be possible on private field. What is the code you are using?

from gotham-city.

Related Issues (17)

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.