I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 0c6a9ff2 authored by zzz's avatar zzz
Browse files

proof delimiter tweak

parent 9ebfccd8
No related branches found
No related tags found
No related merge requests found
......@@ -27,11 +27,11 @@ public class ProofHelper extends HelperBase {
byte[] data = DataHelper.getUTF8(msg);
Signature sig = _context.dsa().sign(data, _context.keyManager().getSigningPrivateKey());
buf.setLength(0);
buf.append("--- BEGIN I2P SIGNED MESSAGE ---\n");
buf.append("---BEGIN I2P SIGNED MESSAGE---\n");
buf.append(msg);
buf.append("\n--- END I2P SIGNED MESSAGE ---\n");
buf.append("\n---BEGIN I2P SIGNATURE---\n");
buf.append(sig.toBase64());
buf.append("\n--- END I2P SIGNATURE ---");
buf.append("\n---END I2P SIGNATURE---");
return buf.toString();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment