request ECIES encrypted reply for LeaseSet lookup with post-quantum crypto

This commit is contained in:
orignal committed 2026-06-10 14:07:09 -04:00
1 parent 3668a8a831
commit 0a51aa45ea
1 file changed
+1 -1
+1 -1
View File
@@ -863,7 +863,7 @@ namespace client
request->excluded.insert (nextFloodfill->GetIdentHash ());
request->requestTimeoutTimer.cancel ();
bool isECIES = SupportsEncryptionType (i2p::data::CRYPTO_KEY_TYPE_ECIES_X25519_AEAD) &&
bool isECIES = GetRatchetsHighestCryptoType () > 0 &&
nextFloodfill->GetVersion () >= MAKE_VERSION_NUMBER(0, 9, 46); // >= 0.9.46;
uint8_t replyKey[32], replyTag[32];
RAND_bytes (replyKey, 32); // random session key