mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Avoid deriving a known PublicKey
This commit is contained in:
committed by
Vinnie Falco
parent
e6d4436e9d
commit
5cac2befb0
@@ -107,8 +107,6 @@ sign (PublicKey const& pk,
|
||||
{
|
||||
case KeyType::ed25519:
|
||||
{
|
||||
auto const pk = derivePublicKey(
|
||||
KeyType::ed25519, sk);
|
||||
Buffer b(64);
|
||||
ed25519_sign(m.data(), m.size(),
|
||||
sk.data(), pk.data() + 1, b.data());
|
||||
|
||||
Reference in New Issue
Block a user