From 21181b2deb4cf4c904c80d9152780c9e55bacfd7 Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 2 Aug 2026 15:10:56 -0400 Subject: [PATCH] optional 'keys' param for torrents tunnel --- libi2pd_client/ClientContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd_client/ClientContext.cpp b/libi2pd_client/ClientContext.cpp index f2e2217b..139f3413 100644 --- a/libi2pd_client/ClientContext.cpp +++ b/libi2pd_client/ClientContext.cpp @@ -953,9 +953,9 @@ namespace client { // mandatory params - std::string keys = section.second.get (TORRENTS_TUNNEL_KEYS); std::string torrentsDir = section.second.get (TORRENTS_TUNNEL_TORRENTS_DIR); // optional params + std::string keys = section.second.get (TORRENTS_TUNNEL_KEYS, "transient"); std::string trackers = section.second.get (TORRENTS_TUNNEL_TRACKERS, ""); i2p::data::SigningKeyType sigType = section.second.get (TORRENTS_TUNNEL_SIGNATURE_TYPE, i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519); if (sigType > i2p::data::SIGNING_KEY_TYPE_REDDSA_SHA512_ED25519) sigType = i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519;