mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-23 12:52:51 +00:00
EdDSA keys compatible with Java
This commit is contained in:
1 parent
b4657a0d05
commit
d83fc3181b
3 files changed
+15
-4
No files matched your search
+1
-1
@@ -509,7 +509,7 @@ namespace data
|
||||
m_Signer.reset (new i2p::crypto::RSASHA5124096Signer (m_SigningPrivateKey));
|
||||
break;
|
||||
case SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519:
|
||||
m_Signer.reset (new i2p::crypto::EDDSA25519Signer (m_SigningPrivateKey));
|
||||
m_Signer.reset (new i2p::crypto::EDDSA25519Signer (m_SigningPrivateKey, m_Public->GetStandardIdentity ().certificate - i2p::crypto::EDDSA25519_PUBLIC_KEY_LENGTH));
|
||||
break;
|
||||
default:
|
||||
LogPrint (eLogError, "Identity: Signing key type ", (int)m_Public->GetSigningKeyType (), " is not supported");
|
||||
|
||||
Reference in new issue
Block a user