Storing keyshards for ecdsa signing #58
Unanswered
bonecruizer
asked this question in
Q&A
Replies: 1 comment 4 replies
-
A quick solution is to use Python's For example, if import pickle
s = pickle.dumps(x)
print(s)
x = pickle.loads(s) With |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been playing with the ElGamal and ecdsa signing examples. In the current demos, a new key is generated each time.
If I understand correctly, the private key x used in the dsa example is never exposed since it exists as a SecureObject.
I would like to reuse a securely generated key by somehow storing (serializing) the shards each party holds locally, so next time they can be loaded (deserialized) and used in the signing process. This is part of a theoretical use case where certificates are signed using MPC (and also the key is generated with MPC and only stored as shards). So far I haven't found a way to do this within MPyC (I am no Python expert). Any ideas how to handle such a use case?
Thanks in advance,
Hilco
Beta Was this translation helpful? Give feedback.
All reactions