Comments (3)
Private is a Struct part of the MasterKey Struct that represent the private fields of the master keys. We do not want to expose these fields outside of library that created them and therefore they are private.
We created a set of method calls to manipulate private fields in case some higher level code requires it. This is very specific set of methods (rotate, encrypt etc..) and this is the only API that higher level code can get to private fields where all operations are done locally - private fields remain private and unexposed.
Because the sensitivity of the Private Struct we made it private in KMS Master Key Struct by default, Until some good use case will show that it is needed outside KMS. In that case we decided to switch to pub
the Private struct, same as we have done previously with Party2 MasterKey. The specific use case is following a test that show how to use kms. We feel the Private API in multi-party-ecdsa is secure and do not leak private data so we see no problem in switching to pub
what should have been pub
at the first place.
Having said that, Private is still serialisable which we will be able to eliminate once @gbenattar will solve the Gotham issue ZenGo-X/gotham-city#21
from kms-secp256k1.
To be accurate: Private is a Party1Private
which is a public Struct in multi-party-ecdsa with private elements. private
is a field of type Party1Private
in KMS. Party1Private
defines a set of methods to manipulate it securely and without exposing or leaking private data. private
field was set up to be private by default until a use case showed it is needed for a consumer of KMS library.
from kms-secp256k1.
Pushed. Resolving.
from kms-secp256k1.
Related Issues (17)
- re-license HOT 1
- implement serialize and deserialise
- generate MasterKeys in poc.rs example code
- Refactor all local DH-key exchanges to use Curv dh-ke
- add paillier key rotation to ecdsa HOT 1
- Publish 2-Party chaincode protocol specification HOT 10
- redundant code in 2 party schnorr tests
- Move Ser-Des from cryptographic libraries to here
- linking with `link.exe` failed: exit code: 1181 HOT 6
- HD Wallet - slight differences between ECDSA and Schnorr HOT 2
- Allow the user to define the library search path for gmp.lib HOT 1
- Add signing interface to kms HOT 1
- code review for ManagementSystem trait
- rename project to kms[secp256k1] HOT 2
- child key derivation - unnecessary code duplication. HOT 2
- Add option to use predefined scalar for secret share (first message) for party1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kms-secp256k1.