diff --git a/core/java/src/net/i2p/crypto/eddsa/EdDSAPrivateKey.java b/core/java/src/net/i2p/crypto/eddsa/EdDSAPrivateKey.java index 81029c62e04ef4e39a4820e337ccacc1a7926219..5a79c61bf554de20d732db21d1e0ae1d642b9bff 100644 --- a/core/java/src/net/i2p/crypto/eddsa/EdDSAPrivateKey.java +++ b/core/java/src/net/i2p/crypto/eddsa/EdDSAPrivateKey.java @@ -77,8 +77,9 @@ public class EdDSAPrivateKey implements EdDSAKey, PrivateKey { * } *</pre> * - * Note that the private key encoding is not fully specified in the Josefsson draft, - * and the example is wrong, as it's lacking Version and AlgorithmIdentifier. + * Note that the private key encoding is not fully specified in the Josefsson draft version 04, + * and the example could be wrong, as it's lacking Version and AlgorithmIdentifier. + * This will hopefully be clarified in the next draft. * But sun.security.pkcs.PKCS8Key expects them so we must include them for keytool to work. * * @return 49 bytes for Ed25519, null for other curves