concordium-base icon indicating copy to clipboard operation
concordium-base copied to clipboard

Use `SignKey` instead of `KeyPair` in Haskell signing

Open annenkov opened this issue 2 years ago • 0 comments

Task description

The function signatures BlockSignature.sign and SignatureScheme.sign have KeyPair as a parameter. The interface of the ed25519-dalek library is different in v2: the verification key is not part of the API. For that reason, it doesn't make sense to pass KeyPair, since it's sufficient to pass SignKey .

These changes need to be propagated to concordium-node and concordium-client

annenkov avatar Jan 17 '24 13:01 annenkov