Blinding: Missed PKF file from last checkin

Add to CLI
This commit is contained in:
zzz
2019-04-11 11:44:57 +00:00
parent 9a72c4b2d1
commit 2960156b33
2 changed files with 2 additions and 1 deletions

View File

@ -763,7 +763,7 @@ public class PrivateKeyFile {
if (type == SigType.EdDSA_SHA512_Ed25519 || if (type == SigType.EdDSA_SHA512_Ed25519 ||
type == SigType.RedDSA_SHA512_Ed25519) { type == SigType.RedDSA_SHA512_Ed25519) {
I2PAppContext ctx = I2PAppContext.getGlobalContext(); I2PAppContext ctx = I2PAppContext.getGlobalContext();
s.append("\nBlinded B32: ").append(Blinding.encode(ctx, spk, null)); s.append("\nBlinded B32: ").append(Blinding.encode(ctx, spk));
} }
} }
s.append("\nContains: "); s.append("\nContains: ");

View File

@ -21,6 +21,7 @@ public class CommandLine {
protected static final List<String> CLASSES = Arrays.asList(new String[] { protected static final List<String> CLASSES = Arrays.asList(new String[] {
"freenet.support.CPUInformation.CPUID", "freenet.support.CPUInformation.CPUID",
"net.i2p.CoreVersion", "net.i2p.CoreVersion",
"net.i2p.crypto.Blinding",
"net.i2p.crypto.CertUtil", "net.i2p.crypto.CertUtil",
"net.i2p.crypto.CryptoCheck", "net.i2p.crypto.CryptoCheck",
"net.i2p.crypto.KeyGenerator", "net.i2p.crypto.KeyGenerator",