From 6e0ca92041ba3893e2d2ebfb07fa02576ee3b24c Mon Sep 17 00:00:00 2001 From: zzz Date: Mon, 17 Feb 2014 13:39:32 +0000 Subject: [PATCH] * getopt fix for PrivateKeyFile -t sigtype, busted in prop * history for prop, -8 --- core/java/src/net/i2p/data/PrivateKeyFile.java | 4 ++-- history.txt | 13 +++++++++++++ router/java/src/net/i2p/router/RouterVersion.java | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/core/java/src/net/i2p/data/PrivateKeyFile.java b/core/java/src/net/i2p/data/PrivateKeyFile.java index e317a804ab..6d5eb403b3 100644 --- a/core/java/src/net/i2p/data/PrivateKeyFile.java +++ b/core/java/src/net/i2p/data/PrivateKeyFile.java @@ -145,9 +145,9 @@ public class PrivateKeyFile { case 't': // KeyCert - SigType type = SigType.parseSigType(args[g.getOptind()]); + SigType type = SigType.parseSigType(stype); if (type == null) - throw new IllegalArgumentException("Signature type " + args[g.getOptind()] + " is not supported"); + throw new IllegalArgumentException("Signature type " + stype + " is not supported"); pkf.setKeyCert(type); System.out.println("New destination with key cert is:"); break; diff --git a/history.txt b/history.txt index 6f1ba841ac..0333cd0f17 100644 --- a/history.txt +++ b/history.txt @@ -7,6 +7,19 @@ - Use session key for relay request/response if available (ticket #1206) - Restrict authentication with Bob's intro key to session created packet - Remove packetAuthTime stats + * Initial support for key certificates and arbitrary types and lengths + of signing keys and signatures in RouterIdentities and Destinations. + - Fixup of Destination.create() and Destination.size() + - Add generic off/len methods in DSAEngine, needed for streaming + - Support i2cp.destination.sigType option in TunnelController and + I2PSocketManagerFactory + - Fixup of sign/verify in streaming Packet + - Add setting in i2ptunnel server edit page (hidden for now) + - Comment out cert setting on i2ptunnel server edit page + - Show key type on susidns details page and LS debug page + - Hide setting in i2ptunnel edit pages unless advanced user + - Only store LS with key certs to routers that support it + - Only store LS with more than 6 leases to routers that support it 2014-02-14 zzz * I2CP: diff --git a/router/java/src/net/i2p/router/RouterVersion.java b/router/java/src/net/i2p/router/RouterVersion.java index fecba78d69..a6204817e3 100644 --- a/router/java/src/net/i2p/router/RouterVersion.java +++ b/router/java/src/net/i2p/router/RouterVersion.java @@ -18,7 +18,7 @@ public class RouterVersion { /** deprecated */ public final static String ID = "Monotone"; public final static String VERSION = CoreVersion.VERSION; - public final static long BUILD = 7; + public final static long BUILD = 8; /** for example "-test" */ public final static String EXTRA = "";