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
fe3642edd4
CPUID: Multiple bug fixes:
...
- Add support for extended feature registers EBX/ECX
- No such thing as EBX for 0x80000001 call; remove getExtendedEBXCPUFlags() method,
replaced with getExtendedEBXFeatureFlags()
- Check for support of 6 required Core i3/i5/i7 instructions to enable Haswell,
since GMP Haswell requires Core i3/i5/i7 support.
There are Pentium/Celeron Haswells that do not support these instructions.
- Fix hasAVX2(), hasAVX512(), and hasADX() using wrong register
- Fix hasAVX512() checking wrong bit
- Define hasAVX512() as supporting AVX-512 Foundation, not the "full"
instruction set as previously specified in the javadocs.
- hasAVX2(), hasAVX512(), and hasADX() need not check hasAVX() first
- Add missing hasADX() to CPUInfo interface
Also:
- More diagnostic output in CPUID.main()
- More javadocs
2015-12-12 22:53:33 +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
5df3f404f8
Fixed support for Atom CPUs.
2015-12-08 00:36:49 +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
dffd441304
SAM: Allow backslash escapes in parser (tickets #1325 , #1488 )
...
remove unneeded escape char in other parsers
2015-11-28 18:53:40 +00:00
415b51bc49
i2psnark: Fix NPE caused by URL-to-URI conversion in -2 (ticket #1715 )
...
Fix some other similar places
2015-11-28 12:54:41 +00:00
9ce8fced02
propagate from branch 'i2p.i2p.zzz.sam' (head b328f0edb961263d7606ea964ecb3f7c319ca1cf)
...
to branch 'i2p.i2p' (head 7b4c0525be182722ef2cc7b564691f27d997da3b)
2015-11-27 20:58:18 +00:00
8d7edaae61
Block DSDTestProvider CA cert
2015-11-26 12:54:37 +00:00
6b67a70bbd
update @since
2015-11-25 16:54:44 +00:00
92bb2dbda7
Block CNNIC roots also.
...
Only log once.
2015-11-24 17:18:26 +00:00