Closed ggutoski closed 3 years ago
As discussed, keygen/sign results are now presented in a format that's convenient for tofnd to put into grpc.
GroupPublicInfo
now has a method all_verifying_keys_bytes
that returns a Vec<(party_id, subshare_index, pubkey_bytes)>
. Compare to the gg20 method pubkey_bytes
.Vec<(keygen_party_id, subshare_index, signature_bytes)>
. Compare to the gg20 output, which is merely signature_bytes
.fixes #183 because we no longer use SigningKey
Continue implementing support for naive multisig. This PR implements sign.
Draft status: Quick-and-dirty implementation to establish API for tofnd asap. Lots of TODOs in the code.
VerifyingKey
->ProjectivePoint
and sig typeSigningKey
->Scalar
becauseSigningKey
does not support signing of a pre-hashed message.hazmat::RecoverableSignPrimitive
API to sign a pre-hashed message. This API also requires us to sample the ephemeral scalar ourselves, so I added arng_seed_sign
helper function for this purpose.Signature
tok256_serde
.Signature
.