7511de68a4
Router: Remove unused test support for AES disabled
2019-03-14 15:19:23 +00:00
1f861c14a9
javadoc fix
2019-03-13 11:23:37 +00:00
d7d1dcb539
Crypto: Ed25519 check for S < L as in RFC 8032
2019-03-12 12:55:58 +00:00
91c59dfb6b
Crypto: Fix Ed25519ph conversion
2019-03-12 12:37:28 +00:00
30dbe24777
LS2: Allow UTF-8 for blinding secret
2019-03-10 12:11:13 +00:00
10bae6a07b
Data: Update Encrypted LS2 blinding and encryption to match current proposal 123
...
Hide b32 in console for encrypted LS2
2019-03-05 15:43:23 +00:00
b37160fa8d
Crypto: Keygen for RedDSA, allow RedDSA for unblinded keys (Enc LS2)
2019-02-21 14:19:38 +00:00
7fbe1ced5a
Crypto: Sign/verify/encrypt/decrypt for Encrypted LS2
...
generateAlpha() method for arbitrary date
2019-02-20 22:49:14 +00:00
17270b1502
Crypto: RedDSAEngine and generateAlpha() for Encrypted LS2
2019-02-20 15:00:54 +00:00
e34b646231
Crypto: New ChaCha20 wrapper around ChaChaCore, for use with Encrypted LS2
2019-02-19 19:11:34 +00:00
b3c5974693
Crypto: Implement blinding (proposal 123)
...
Add sig type 11 for blinded keys
2019-02-19 13:12:26 +00:00
490b81c1a1
Crypto: Shortcut GroupElement representation conversion
2019-02-06 12:35:27 +00:00
ead49256c7
Data: Represent blinding secret as a SigningPrivateKey
2019-02-04 16:58:41 +00:00
1bb57c4103
EdDSA minor cleanup
2019-01-29 13:51:42 +00:00
0801d20fd1
EdDSA: Make more classes serializable (Github PR #68 )
2019-01-28 15:21:15 +00:00
ca86bbe4f7
EncType javadoc update
2019-01-14 15:58:40 +00:00
5634055d4b
Crypto: Stub out EdDSA blinding (proposal 123)
2019-01-05 14:22:46 +00:00
4786081026
Build: Check cert validity
...
Reseed updates
2019-01-04 12:15:58 +00:00
468871f21e
Crypto: Add HKDF class for LS2 and NTCP2 (proposal 123)
...
Minor speedup in HMAC256
2018-12-13 14:39:08 +00:00
fd23b23e56
Crypto: HMAC-SHA256 cleanup
...
Add byte[] key method to reduce object churn in NTCP2
Un-deprecate in context
2018-12-11 12:19:46 +00:00
922515dfe4
Crypto: Add X25519 keygen support
2018-11-30 17:29:08 +00:00
f1689187a4
Data: Check data length in typed constructors
...
Check for type match in KeyPair
Mark placeholder EncTypes 1-3 as unavailable
2018-11-30 15:56:27 +00:00
2487bca47c
Crypto: Change X25519 key classes from Java keys to I2P keys,
...
in prep for new crypto (Proposal 144)
Add EncType
Fix PrivateKey constructor w/ EncType
Add support to KeyGenerator
2018-11-30 15:15:31 +00:00
b93be8bb4a
Crypto: Define ElG length constants
2018-11-25 15:23:17 +00:00
9badfd07bf
Utils: Catch ProviderException in SelfSignedGenerator (ticket #2344 )
2018-11-25 15:17:27 +00:00
535f2daab0
Router: Move ElGamalAESEngine from core to router
...
Client end-to-end crypto removed 13 years ago
Not used by any client, app, or plugin.
2018-11-23 13:04:28 +00:00
9377b57c9e
ElG minor cleanup
2018-11-13 17:51:52 +00:00
d27000ec07
Crypto: Avoid java-to-i2p ECDSA privkey conversion when generating CRL,
...
failing on Android for unknown reasons (ticket #2296 )
2018-09-26 15:19:14 +00:00
39aa2c597e
Utils: Enhance exception message for ticket #2296
2018-09-26 14:04:36 +00:00
1f92232253
Findbugs all over
2018-08-26 13:50:40 +00:00
3adbea9c76
Better message on su3 certificate errors
2018-08-25 22:26:47 +00:00
c3881a811b
fix deprecations
2018-08-25 13:26:28 +00:00
e7202e0ee6
javadoc html fix
2018-07-25 15:46:20 +00:00
eff0cac30b
EdDSA: Backport versions 0.2/0.3 from github:
...
- Change key encoding to match curdle draft
- Support key decoding based on curdle draft
- Implement true constant-time cmov()
- Add handling of X509Key-wrapped EdDSA keys (GitHub PR #47 )
- Clarify that KeyPairGenerator takes a key size, not strength
- Javadocs
GitHub PR #58 :
- Make GroupElement immutable by moving the pre-computed logic to the constructors,
allowing the synchronized checking of whether the pre-computed logic had executed or not
to be removed since it always has when it is used because those code paths
are modified to request it at construction time.
- This allows getNegativeA() to be lazy, and doesn't need volatile due to the immutability
(and final fields - this is important part of the contract with the JVM memory model).
- Remove synchronized contention from the named curve table get method.
- Generally remove use of the named curve table get method with a constant curve name
in hot code paths in favour of using a new static constant for the curve spec.
Overall performance changes:
- Keygen 46% faster
- Signing 39% slower (due to cmov)
- Verify 2% faster
2018-07-01 11:10:06 +00:00
ef7b3e0c8b
Core: misc. minor changes
2018-06-26 20:29:19 +00:00
df7c1c6104
Certs: Change default from RSA to EC for CA certs
2018-05-06 13:21:22 +00:00
4ca12d141c
KeyStore: Fix ConncurrentModificationException (ticket #2196 )
2018-04-02 18:04:32 +00:00
meeh
9f11188e8f
Started on scalatests for SU3File and CertUtil.
2018-03-26 21:48:31 +00:00
144147d854
Certs: Sort alt names in generated certs
2018-03-15 15:58:40 +00:00
81808d4a60
Crypto: Add utils for renewing a cert in a keystore
2018-03-11 22:17:06 +00:00
1412dbd16b
Crypto: Generate non-CA cert for family
2018-03-08 14:22:37 +00:00
0eb04facec
Util: Consolidate FileFilters
2018-03-05 13:16:04 +00:00
3bc9053a86
KeyStore: Log expiration of self-signed certs
2018-03-04 12:14:05 +00:00
5cd1419897
Util: Add methods to validate IP addresses
2018-02-28 17:58:28 +00:00
79baf70f9a
Crypto: Add support for more alt names in certs (tickets #2159 , #2160 )
...
Set alt names for console cert
Use utils to validate console IP addresses
2018-02-25 14:17:01 +00:00
4b1a357ee7
Certs: Add policy extension
2018-02-21 20:10:14 +00:00
b77524cfc7
Crypto: Backdate selfsigned cert to allow for clock skew
2018-02-20 12:27:30 +00:00
88c7abedde
javadoc note
2018-02-19 22:26:32 +00:00
673d765ed6
Crypto: Add IP addresses to selfsigned cert SAN (ticket #2160 )
2018-02-19 19:36:30 +00:00
96185d015a
Set default organization for self-signed certs
2018-02-07 18:52:26 +00:00