I would like to proof that I am in possession of private key sk
for public key pk
using libsodium
.
Therefore I am signing a constant message m
using libsodium's crypto_sign
function. The signed message (signature + m
) is then published.
libsodium crypto_sign
uses Ed25519
as digital signature scheme.
Questions:
- Does the reuse of a constant message might introduce any attack vectors?
The libsodium documentation on
crypto_sing
states:Verifiers need to already know and ultimately trust a public key before messages signed using it can be verified.
https://libsodium.gitbook.io/doc/public-key_cryptography/public-key_signatures#purpose
Is that information relevant for my case as I actually do not want to verify the message, but want to proof the possession of
sk
?