feat: CRP-2802 add sign_with_bls to utils#102
Conversation
derive_public_vetkey functionderive_public_vetkey function
|
Once we have abstractions for VRF, BLS signatures, etc., we could make |
|
@fspreiss @randombit any better ideas for the function ( |
Maybe |
in the timelock encryption case, that would still be a vetkey 🤷♂️ |
|
TODO: check the validity of the obtained BLS signature once #108 is merged. |
derive_public_vetkey functionsign_with_bls to utils
randombit
left a comment
There was a problem hiding this comment.
LGTM besides adding the signature verification
Said function calls the management canister's
vetkd_derive_vetkeyAPI with a fixed transport public key (G1 identity) and removesc1more efficiently than inEncryptedVetKey::decrypt_and_verify.