Remove ElGamal support

This commit is contained in:
zzz
2025-04-27 10:47:48 -04:00
parent 8d82d13d1c
commit 26ad8bfd08
3 changed files with 5 additions and 3 deletions

View File

@ -4,6 +4,7 @@
s/<Ref id=/<Ref refid=/g
- Add interval to stats page
- Add stats to I2P stats subsystem
- Remove ElGamal support
2024-04-07 [0.19.0]
- Disable full scrape by default

View File

@ -7,7 +7,7 @@ tunnel.0.option.crypto.tagsToSend=10
tunnel.0.option.i2cp.destination.sigType=7
tunnel.0.option.i2cp.enableAccessList=false
tunnel.0.option.i2cp.encryptLeaseSet=false
tunnel.0.option.i2cp.leaseSetEncType=4,0
tunnel.0.option.i2cp.leaseSetEncType=4
tunnel.0.option.i2cp.reduceIdleTime=1200000
tunnel.0.option.i2cp.reduceOnIdle=true
tunnel.0.option.i2cp.reduceQuantity=1

View File

@ -280,8 +280,9 @@ public class ZzzOTController implements ClientApp {
_log.error("Cannot open " + i2ptunnelConfig.getAbsolutePath() + ' ' + ioe);
throw new IllegalArgumentException("Cannot open " + i2ptunnelConfig.getAbsolutePath() + ' ' + ioe);
}
if (i2ptunnelProps.getProperty("tunnel.0.option.i2cp.leaseSetEncType") == null)
i2ptunnelProps.setProperty("tunnel.0.option.i2cp.leaseSetEncType", "4,0");
String p = i2ptunnelProps.getProperty("tunnel.0.option.i2cp.leaseSetEncType");
if (p == null || p.equals("4,0"))
i2ptunnelProps.setProperty("tunnel.0.option.i2cp.leaseSetEncType", "4");
TunnelController tun = new TunnelController(i2ptunnelProps, "tunnel.0.");
if (dest != null) {
// start in foreground so we can get the destination