diff --git a/common/key.hpp b/common/key.hpp index c901ba3..bc49fa3 100644 --- a/common/key.hpp +++ b/common/key.hpp @@ -31,6 +31,8 @@ std::string SigTypeToName(uint16_t keytype) return "GOSTR3410-A-GOSTR3411-256"; case i2p::data::SIGNING_KEY_TYPE_GOSTR3410_TC26_A_512_GOSTR3411_512: return "GOSTR3410-TC26-A-GOSTR3411-512"; + case i2p::data::SIGNING_KEY_TYPE_REDDSA_SHA512_ED25519: + return "RED25519-SHA512"; default: std::stringstream ss; ss << "unknown: " << keytype; @@ -71,6 +73,8 @@ uint16_t NameToSigType(const std::string & keyname) if(name.find("GOSTR3410-TC26-A-GOSTR3411-512") != npos) return i2p::data::SIGNING_KEY_TYPE_GOSTR3410_TC26_A_512_GOSTR3411_512; + if(name.find("RED25519") != npos) return i2p::data::SIGNING_KEY_TYPE_REDDSA_SHA512_ED25519; + return -1; } diff --git a/i2pd b/i2pd index d40a029..ff44bcc 160000 --- a/i2pd +++ b/i2pd @@ -1 +1 @@ -Subproject commit d40a029dae39a1c4185117b880b16b7d8e391985 +Subproject commit ff44bcc489f8a881214a1dfe522231372a0a970b