Commit Graph

2349 Commits

Author SHA1 Message Date
zzz
193ad4306e Util: Minor optimization in OrderedProperties 2016-04-17 15:29:18 +00:00
zzz
a438722eed TunnelId: Add max value check 2016-04-16 16:10:56 +00:00
zzz
25fe886e72 Update version warnings
Add OpenJDK check for ARM
Uncomment SystemVersion.main()
2016-04-16 15:53:34 +00:00
zzz
49ff78cf0e 0.9.25 2016-03-21 23:47:02 +00:00
zzz
ed72847374 Add SystemVersion.isOpenJDK()
Add warning for OpenJDK + ARM
2016-03-20 13:21:40 +00:00
zzz
645bd3d383 propagate from branch 'i2p.i2p' (head 110585552852c1f9c61a3a2efb4f17d62b0c1b2e)
to branch 'i2p.i2p.zzz.test2' (head 558ec52091868b7fa66af462f84044df1bede8cb)
2016-03-19 15:18:17 +00:00
zzz
3474b827b0 add raw signing test 2016-03-19 15:16:38 +00:00
zzz
855215e840 SU3File: fix bulksign of .xml and .xml.gz files 2016-03-15 20:42:53 +00:00
zzz
674a77baca SU3File: bulksign .xml.gz files 2016-03-15 19:55:05 +00:00
zzz
35e4b3c859 javadoc typo 2016-02-28 14:04:40 +00:00
7ccca9ef3c EdDSAEngine: one-shot mode tests 2016-02-28 04:18:04 +00:00
6e7f015d4b Add tests to check that an EdDSAEngine object can be reused with the same key 2016-02-28 03:37:03 +00:00
zzz
d28f983c46 Utils: Add main classes to i2p.jar and router.jar
for simple command line access to utilities
2016-02-26 18:12:11 +00:00
zzz
0de1ca161c CPUID: Restore AES-NI diagnostic output, inadvertently removed 2016-02-26 15:36:00 +00:00
zzz
87d7e10841 I2CP: Improve client error message when internal router connection fails 2016-02-22 13:04:57 +00:00
zzz
bd49b1d4bd Crypto: Blacklist certificates by SHA1 hash,
not by serial/CN/OU
2016-02-20 01:41:23 +00:00
zzz
40894663c2 Clock: Add sanity checks to detect invalid system clock 2016-02-19 17:01:40 +00:00
zzz
238ebc23e2 Crypto: Check for revocation when reading in certificates 2016-02-19 01:37:41 +00:00
zzz
910822ecf2 Add utilities for loading CRLs from disk and checking certs for revocation 2016-02-18 23:54:56 +00:00
zzz
8ef593fe98 Data: New Hash.toBase32() method 2016-02-13 15:35:57 +00:00
zzz
071769679d Javadoc fixes in imagegen, sam, crypto
package.html files for imagegen
2016-02-13 15:17:41 +00:00
zzz
6ab5b84979 Crypto: EdDSA precedence fix 2016-02-10 16:36:40 +00:00
zzz
981b708230 Crypto: Use new internal key generation instead of calling
out to keytool; save CRL for new su3 amd family keys
Allow su3 bulksign for xml files (news)
2016-02-09 20:48:23 +00:00
zzz
651c1b6545 Crypto: Fix raw (su3) signing, broken in test2 prop (-2) 2016-02-09 16:39:09 +00:00
b1eaa772a1 Linting dep-ann: Added @Deprecated annotations in BOB and i2p_sdk 2016-02-06 21:32:28 +00:00
zzz
ebc4ca8698 propagate from branch 'i2p.i2p.zzz.test2' (head 70ae5494bd7255a03f80838a2f3d8e7c0ce86634)
to branch 'i2p.i2p' (head 05a201cc5c1bd841f32e9268b3019b3a3447f4f3)
2016-02-03 20:02:34 +00:00
zzz
d4d720524e hashCode() and equals() for ElGamalParameterSpec
comments for I2PProvider
2016-02-03 19:04:46 +00:00
zzz
6be7c46038 EdDSA:
- Implement one-shot methods in EdDSAEngine so we don't copy
   the data if all the data is available (ticket #1750)
 - Use EdDSA one-shot methods in DSAEngine
 - Fix API violation if EdDSAEngine object is reused for signing (ticket #1750)
 - Javadocs
2016-02-03 18:39:49 +00:00
zzz
bf51d5d9c4 CertUtil: Consolidate PEM encoding (DRY) 2016-01-31 22:24:16 +00:00
zzz
5d1d8b6d4d SelfSigned: Add support for CRL generation 2016-01-31 22:09:39 +00:00
zzz
129fb973f2 update comments 2016-01-29 18:28:43 +00:00
zzz
da3086bbef EdDSA:
- Add hashCode() and equals() everywhere it was missing,
  so we can test keys for equality: Curve, EdDSAParameterSpec, EdDSAPrivateKey, and EdDSAPublicKey
- Speedup for GroupElement.equals()
- Fix public key decode()
- Put unknown class name in exceptions
- indent fixes
Provider:
- Add KeyFactory aliases required for cert.verify()
- Fix EdDSA signature OID
SelfSigned:
- Add simple tests after generation using cert.verify() and key equality
2016-01-29 16:01:23 +00:00
zzz
8badb609e4 Selfsigned: Add EdDSA_SHA512_Ed25519 support
Remove debug output by default
2016-01-29 12:56:26 +00:00
zzz
a1a895e462 Add EdDSA_SHA512_Ed25519ph
Fix EdDSA OID
2016-01-29 03:02:02 +00:00
zzz
9ed185f3d1 Add synch
https://github.com/str4d/ed25519-java/issues/10
2016-01-29 02:40:44 +00:00
zzz
7fdfb5cf12 Put the OID in SigType 2016-01-29 02:23:14 +00:00
zzz
b4d4c93047 New selfsigned key and cert generator,
without keytool, BC, or sun private classes.
To be hooked in to KeyStoreUtil to replace keytool.
2016-01-29 02:08:51 +00:00
zzz
66299cb081 EdDSA notes 2016-01-29 02:04:16 +00:00
zzz
79450bcda6 ElG cleanup 2016-01-29 02:02:34 +00:00
zzz
3a72b0cc63 Crypto: Move I2PProvider initialization
Add ElGamal SigAlgo type
2016-01-28 14:57:07 +00:00
zzz
bccefb949f 0.9.24 2016-01-27 14:18:08 +00:00
zzz
c6136b5cdb SHA256Generator: Don't fall back to Sha256Standalone,
SHA-256 support must now be in the JRE.
Deprecate all uses of Sha256Standalone, schedule for removal
in 0.9.27. This will require a new Syndie release.
2016-01-27 13:47:46 +00:00
zzz
d2d5a464a3 KeyGenerator: Check that dsax is greater than zero 2016-01-27 13:42:58 +00:00
zzz
ed9d403281 ElGamal: Implement key encoding 2016-01-24 21:40:33 +00:00
zzz
f38cfcc937 SigUtil: Enhance ASN.1 parser/generator to support
signatures up to 64K, needed for ElG
Log and javadoc tweaks
2016-01-24 19:02:13 +00:00
zzz
649d7122a2 Add ElGamal signature implementation
Add ElGamal to provider
doesn't work yet,
needs key encoding/decoding and SigUtil support for longer signatures
2016-01-24 16:45:54 +00:00
zzz
ad2561125e final all the crypto classes 2016-01-24 16:37:21 +00:00
zzz
403044fc6c DSAEngine: minor cleanup
ElG KeyFactory: Use getParameters() instead of getParams()
to get the correct class back
SigUtil:
  Use split() in sigBytesToASN1();
  new public ASN1 methods
  Javadoc, args checking
2016-01-24 13:28:03 +00:00
zzz
c9063f9d9b KeyFactory and KeyPairGenerator for ElGamal.
Stub out decoding key constructors.
2016-01-23 17:12:47 +00:00
zzz
e276febf0a private, final 2016-01-23 14:57:42 +00:00