boltlabs-inc / tss-ecdsa

An implementation of a threshold ECDSA signature scheme
Other
12 stars 5 forks source link

Add storage-related methods to keygen output #376

Closed marsella closed 1 year ago

marsella commented 1 year ago

The keygen Output type added in #355 is currently a type that can only be constructed inside the tss-ecda library. However, that doesn't map correctly to how it will be used. In practice, the calling application has to take the output, separate it into public and private parts, and store those two chunks differently. When the calling application tries to use the key (e.g. for presign), they'll need to retrieve the stored parts and put them back together into the output, which we pass as input to Presign.

Related issue: #406 does the same thing for auxinfo.