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
8badb609e4
Selfsigned: Add EdDSA_SHA512_Ed25519 support
...
Remove debug output by default
2016-01-29 12:56:26 +00:00
a1a895e462
Add EdDSA_SHA512_Ed25519ph
...
Fix EdDSA OID
2016-01-29 03:02:02 +00:00
9ed185f3d1
Add synch
...
https://github.com/str4d/ed25519-java/issues/10
2016-01-29 02:40:44 +00:00
7fdfb5cf12
Put the OID in SigType
2016-01-29 02:23:14 +00:00
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
66299cb081
EdDSA notes
2016-01-29 02:04:16 +00:00
79450bcda6
ElG cleanup
2016-01-29 02:02:34 +00:00
3a72b0cc63
Crypto: Move I2PProvider initialization
...
Add ElGamal SigAlgo type
2016-01-28 14:57:07 +00:00
bccefb949f
0.9.24
2016-01-27 14:18:08 +00:00
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
d2d5a464a3
KeyGenerator: Check that dsax is greater than zero
2016-01-27 13:42:58 +00:00
ed9d403281
ElGamal: Implement key encoding
2016-01-24 21:40:33 +00:00
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
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
ad2561125e
final all the crypto classes
2016-01-24 16:37:21 +00:00
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
c9063f9d9b
KeyFactory and KeyPairGenerator for ElGamal.
...
Stub out decoding key constructors.
2016-01-23 17:12:47 +00:00
e276febf0a
private, final
2016-01-23 14:57:42 +00:00
592f2449d2
ElGamal classes, from Bouncy Castle 1.53, for I2PProvider.
...
License: BSD
Encoding/decoding/sigs: todo.
2016-01-23 14:51:52 +00:00
a4f75d7b32
Random: Don't bother trying to seed from /dev/urandom on Windows
2016-01-22 16:04:43 +00:00
9cdd0fc829
Crypto: Fix privkey encoding to follow PKCS8,
...
ignore example in josefsson draft,
required for keytool to work.
Fix pubkey decode typo.
(ticket #1723 )
2016-01-21 21:38:26 +00:00
f29ed21090
Crypto: Add OID aliases to provider,
...
required for keytool to work
(ticket #1723 )
not working yet, need to fix privkey encoding
2016-01-21 19:06:54 +00:00
cd5db63286
Crypto: Add I2PProvider,
...
pass provider args to keytool,
add EdDSA keygen support
(ticket #1723 )
not working yet, need sig support
2016-01-21 15:36:54 +00:00
5074002327
Crypto: Implement EdDSA key decoding
...
following the draft at
https://tools.ietf.org/html/draft-josefsson-pkix-eddsa-04
(ticket #1723 )
2016-01-21 14:43:23 +00:00
179a4a2e56
Crypto: Implement EdDSA key getEncoded()
...
following the draft at
https://tools.ietf.org/html/draft-josefsson-pkix-eddsa-04
(ticket #1723 )
2016-01-21 13:27:33 +00:00
2007e881e5
Crypto: New utils to support private key import/export
...
Console: New /configfamily, /exportfamily
2016-01-20 21:05:26 +00:00
cdfd4ca2f4
Move CachedIteratorArrayList from core to router
2016-01-14 13:54:53 +00:00
ca00ea7a76
Fortuna: Add getByte() method
2016-01-13 16:11:39 +00:00
c8197b8181
Tunnels: Fix build request Bloom filter (ticket #1746 )
...
Change from 60s DHS to 60m DBF
Use reply key as filter key, not first part of
encrypted data, to match the specs and hopefully reduce dups
BuildMessageProcessor cleanups
log and stat tweaks
remove deprecated methods
remove some timing measurements
javadocs
2016-01-10 21:22:22 +00:00
6917203530
DataHelper: Optimize checks in storeProps()
2016-01-06 17:54:05 +00:00
144f54eb8c
Console: Properly register listen hosts with PortMapper
...
I2PTunnel: Fixup console links in error pages if console is
on a non-standard host or port, or on https
PortMapper: Add method to convert wildcard host to actual host
2016-01-06 17:50:06 +00:00
3e4d77452a
Added support an missing binary for AMD K10 arch.
2015-12-27 13:22:34 +00:00
2698076fb6
distrust Comodo UTN cert
2015-12-23 11:55:44 +00:00
8da3257856
cache new family options
2015-12-23 10:50:46 +00:00
074c5aa16c
merge of '22cebc21c21e3a101e03165f26a5e9fddc3648da'
...
and 'e210f94f3d17359b39a6b24f2a5e1221a86abfd0'
2015-12-20 21:07:16 +00:00
cc4bf8ea16
CertUtil: Add methods to export private keys
...
Unused so far, to be used for family key
2015-12-20 14:28:44 +00:00
c60f3970d1
Replaces instances of getBytes() in core classes
2015-12-20 01:18:38 +00:00
71d4b5f49f
Broadwell/Skylake tweak
2015-12-16 20:52:14 +00:00
31efa7c980
Recognize Skylake
...
Do the same checks for Broadwell and Skylake that we do
for Haswell, and check ADX as well, which will be used
in GMP 6.1.
Javadocs
2015-12-16 20:32:54 +00:00
89e5e1d308
Fix class for nativeJcpuidVersion()
...
Add output for nativeJcpuidVersion()
Change CPUIDCPUInfo back to package private
More @since fixes
2015-12-16 15:55:39 +00:00
1e3e02d1f0
CPUID: Clear ECX register to ensure it will work with EAX=7
...
Tested on linux only
Add nativeJcpuidVersion()
Only call getCPUVendorID() once in getInfo()
Change all @since to 0.9.25 in hopes it will come true
Tab removal
Javadoc tweaks
2015-12-16 15:02:03 +00:00
1f4a266c22
Added more checks to Haswell identification..
2015-12-15 20:34:28 +00:00
93fbdcd443
Made CPUIDCPUInfo non-abstract to support looking for CPU features during CPU identification.
2015-12-15 17:19:37 +00:00
0e6e90baf0
Cleaned up BMI1/BMI2/AVX2/FMA3/MOVBE/ABM support.
2015-12-15 05:29:58 +00:00
2c8179f057
Added hasBMI2() feature detection and use it to list some Celeron Haswell CPUs as non-Haswell CPUs.
2015-12-14 18:54:58 +00:00
3c5f9d0bc3
RouterInfo: Optimize writing to avoid extra copy;
...
eliminate caching previously enabled for routers with high memory limits
Log tweak on sig verify fail
DataHelper.writeLong() to write(byte) conversion
DatabaseEntry: Remove deprecated, unused setRoutingKey()
2015-12-13 16:48:04 +00:00
2155347e4f
another writeLong
2015-12-13 16:41:35 +00:00
db86850d15
Addresses: Catch a rare (Windows only? IPv6 only?) error
...
when enumerating network interfaces
2015-12-13 16:40:42 +00:00
97ae1e5034
Cleanup: Don't use DataHelper.writeLong() for a single byte
2015-12-13 16:38:06 +00:00