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
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
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
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
c8aca62d03
Crypto: Blacklist Verisign G1 roots
...
match by CN or OU
2015-12-11 22:36:40 +00:00
8b9bcbc777
SSU: Fix outbound IPv6 errors on Windows without a real v6 address
...
when explict host is set. Validate addresses before confirming that
we have an IPv6 address. Possibly related to ticket #1538 .
javadocs
2015-12-11 17:14:45 +00:00
ea9c4a1957
Router, naming, I2CP: Increase lookup cache max sizes (except on Android),
...
reduce max lookup depth, and increase non-floodfill profile bonus
to attempt to reduce load on floodfills
2015-12-11 15:40:11 +00:00
393b593785
Logs: Windows line ending fixes for event log and duplicate message in router log
2015-12-11 15:06:22 +00:00
9b2bbe03ee
dont put HTML in Android router logs
2015-12-10 13:07:40 +00:00
bb56a11bda
propagate from branch 'i2p.i2p.unittests' (head 53586f73fb813f519cdb6a1f7b1b40efec2e35dc)
...
to branch 'i2p.i2p' (head 628a2c591ca44095e2f93acd026046d4512cf692)
2015-12-08 05:27:03 +00:00
7ea2be387e
Better exception message, so it's in the router log
2015-12-08 02:13:31 +00:00
8b42896cc6
Crypto: Consolidate certificate import methods
2015-12-08 02:07:38 +00:00
fdc160cf1d
Utils: Move new getSystemTimeZone() from DataHelper to SystemVersion,
...
which is a better place for it.
2015-12-06 16:28:14 +00:00
b53fe37a30
SAM:
...
- Don't map keys to upper case in parser, corrupts I2CP options
- Register SSL and UDP ports with PortMapper
2015-12-01 20:14:09 +00:00
d5717ca12d
javadoc
2015-11-29 14:52:08 +00:00