zengo-x / kms-secp256k1 Goto Github PK
View Code? Open in Web Editor NEWMulti Party Key Management System (KMS) for Secp256k1 Elliptic curve based digital signatures.
License: GNU General Public License v3.0
Multi Party Key Management System (KMS) for Secp256k1 Elliptic curve based digital signatures.
License: GNU General Public License v3.0
When deriving child keys from master key 1 and master key 2,
the same code path should be used.
We need a specification of the protocol to better support binding tools, i.e., libs-core-bindings
.
instead of directly calling the cryptographic libraries
@omershlo can you document?
Hi,
I noticed the formula used to generate public key in HD Wallet for ECDSA and Schnorr is slightly different.
In ECDSA, it is link to code
let pub_key = pubkey * &f_l_fe;
In Schnorr, it is link to code
let pub_key = pubkey.clone() + &g * &f_l_fe;
Is there some security issue hence the need to multiply the Schnorr public key with generator?
Thanks!
this kms is specific for ecdsa. Its name should indicate it
This is related to #25
We want to make it easier to the https://github.com/nash-io/openlimits users to use the library without worrying about compiling gmp copying and copying it to the expected path.
I just created a hacky build.rs
to automatically copy the gmp.lib
and gmp.dll
files to the toolchain lib folder, but if the user doesn't want to use openlimits anymore and if the user forget about it, the user will leave both files in the folder.
I just found a reasonable solution for it in this stackoverflow answer https://stackoverflow.com/a/32868075 and I would love to see it implemented here.
e2,d2
c1
- encryption of x1 under the old Paillier public key e1
, because of the homomorphism of Paillier encryption, party2 can compute by herself c2
- the ciphertext of the updated party1 share.specifically: for ecdsa key gen and for ecdsa sign.
an example on how to use Curv's ec-dh can be found in chain code
The purpose of the code in KMS is to take a cryptographic protocol and to construct the actual messages that are supposed to be send among the participants.
all key generation should call a function. same for rotation protocol
currently we just show keygen with schnorr and ecdsa. the complete the poc we must run also chain code generation once and generate Master Keys for schnorr and ecdsa using calls to set_master_key
I try to run ecdsa/two_Party/test.rs prompt
error: linking with link.exe
failed: exit code: 1181
note: LINK : fatal error LNK1181: cannot open input file 'gmp.lib'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.