81409369bc
measure keygen time in test
2014-09-24 13:46:38 +00:00
edb8590da8
move log outside synch
2014-09-24 13:45:50 +00:00
36fdb4ee2f
Fix junit compile fails due to data structure moves
2014-09-23 14:15:27 +00:00
012cc740d6
propagate from branch 'i2p.i2p.zzz.test2' (head 6ccd9ca652057494bb2857e87636f18aadcd33f3)
...
to branch 'i2p.i2p' (head 376f751adc13923cdbf4f659c3f23ca957cf47b3)
2014-09-23 13:06:36 +00:00
3fae6f06dd
reduce object churn in ElG decrypt
2014-09-21 22:20:37 +00:00
98062f830a
0.9.15
2014-09-20 19:17:58 +00:00
c259347917
javadoc fixes after review
2014-09-20 15:08:55 +00:00
3781b8db09
sanity check
2014-09-15 18:24:37 +00:00
7a450c526c
exception tweak
2014-09-15 18:23:58 +00:00
c1e8ea0e4a
RoutingKeyGenerator:
...
- Move from core to RouterKeyGenerator in router.jar
- Leave RoutingKeyGenerator as a simple abstract class
- DatabaseEntry now uses timestamp instead of mod data
to determine if mod data has changed. Don't expose
mod data to DatabaseEntry any more.
- I2PAppContext.routingKeyGenerator() now returns null;
you must be in RouterContext to get a generator.
2014-09-15 18:23:01 +00:00
156d86835a
propagate from branch 'i2p.i2p' (head 60a9a2297abeaf042645e3f0bc8d106f1ff585bf)
...
to branch 'i2p.i2p.zzz.test2' (head 6ff6f0bcee835d32aad62449a37f5171afde915a)
2014-09-13 14:50:11 +00:00
d808b999c6
better error message
2014-09-13 14:36:21 +00:00
49118b8bf1
propagate from branch 'i2p.i2p' (head e606c473eb1e461a477e45419f6295b6430a7353)
...
to branch 'i2p.i2p.zzz.test2' (head 6212892778308db10a86e58f9f275c838f604973)
2014-09-09 19:27:10 +00:00
0f1036b0e1
better message on EOF reading data
2014-09-04 15:21:03 +00:00
86935f10a8
update link
2014-09-04 15:14:33 +00:00
6826ba05e7
stubs for su3 news
2014-08-31 14:12:18 +00:00
4a216c57d4
Updated EdDSA code from upstream
...
Source: https://github.com/str4d/ed25519-java
Git commit: f9a9213e1446adb46756d3a23b614fe09324ae16
2014-08-31 00:11:03 +00:00
03cec7fd5a
just check availability once
2014-08-30 20:46:16 +00:00
fa1c077fdd
* Console: Show unavailable crypto on /logs
...
* Router: Log warnings for unavailable crypto at startup
2014-08-30 19:00:57 +00:00
a72866ee6a
RouterInfo: Backport fix for verification of EdDSA RI sig type
...
from i2p.i2p.zzz.test2
2014-08-30 12:35:14 +00:00
5decf18eb5
import, @since
2014-08-29 13:40:53 +00:00
c318760398
javadoc fixes and package.html files
2014-08-29 13:21:14 +00:00
588ab86abb
* Streaming: Fix P521 and RSA sig types
2014-08-27 22:43:44 +00:00
ed4fe56e7e
I2CP:
...
- Verify crypto key pair in LS
- Verfiy same dest as before in LS
Router: Don't try to use an unavailable sig type for the router,
even if it's the default
RouterInfo: Work around unsupported raw signatures for
RI Ed25519 sig type
2014-08-26 19:14:51 +00:00
310cd54aa0
remove unused EC curves
2014-08-26 13:47:21 +00:00
ddb32c65fb
add getPadding()
2014-08-25 20:32:47 +00:00
c5c158e983
PrivateKeyFile: Add validateKeyPairs()
...
Router: Validate router key pairs read in from file
2014-08-25 16:55:16 +00:00
f83007e038
KeyGenerator: Add support for converting
...
all signing key types from private to public
2014-08-25 16:20:39 +00:00
2b9a368b18
propagate from branch 'i2p.i2p' (head 695c0048cc8ce28df0574a5e188c77c07c9b42ce)
...
to branch 'i2p.i2p.zzz.test2' (head c116da02ea4b4d01dd028bc58ea02b43ae9af8cd)
2014-08-25 12:05:15 +00:00
6ad6974452
javadoc warnings about EdDSA raw sigs
2014-08-24 23:11:56 +00:00
308923448b
PrivateKeyFile: New constructor with padding
...
Router:
- Use eepPriv.dat format for router keys file (thx orignal)
- Consolidate router keys readin code
- Update killKeys file list
RouterPrivateKeyFile: New extension to add getRouterIdentity()
2014-08-24 19:15:26 +00:00
54563b0b42
catch swapped args
2014-08-23 23:49:34 +00:00
593779b54f
Router: Prep for RI sig types:
...
- New router.sigType config
- Generate / regenerate router keys based on config
- New router.keys2 file format for sig types and padding
- Fix RouterInfo.readBytes() signature verification with sig types
- Catch unset padding in KeysAndCert.writeBytes()
- Catch key errors in ReadRouterJob
- Show RI sig type on /netdb in console
- Move some things from Router to startup classes
- Startup classes package private
- Buffer readin of key files
- Remove configurability of router.info and router.keys file locations
2014-08-23 23:48:16 +00:00
efebecfc67
* SigTypes:
...
- Add isSupportedSince(), use in floodfill selection
- Handle mixed-case 25519 enum
- Fix 25519 type code
- Add dup type code check
2014-08-22 14:34:13 +00:00
0fe15b8e1d
Use DataHelper instead of TestUtils
2014-08-21 23:43:57 +00:00
a1cb00b5a3
Java implementation of Ed25519
...
Source: https://github.com/str4d/ed25519-java
Git commit: be161ee7c6da29129b5ec6c4739ec3a99114a846
License: Public domain
2014-08-21 23:27:45 +00:00
5041d819a9
propagate from branch 'i2p.i2p' (head b026fe071e77884ef6d104635c793ef16357ec71)
...
to branch 'i2p.i2p.str4d.eddsa' (head 0d928736c4a34d8a337e1f55e095fe90564ea1fb)
2014-08-21 23:27:34 +00:00
d7feab116f
Core: Move router data structures, and the deprecated RouterAddress sorter, from core to router.
...
This will break Android and the i2pcontrol plugin but shouldn't affect anything else.
2014-08-21 17:36:06 +00:00
d0b0e6a58e
fix clock.skew rates
2014-08-21 14:27:16 +00:00
a12f898096
Corrected Ed25519 SigType name
2014-08-21 13:08:21 +00:00
57650ef058
remove dup conversion
2014-08-21 11:51:05 +00:00
c860674613
propagate from branch 'i2p.i2p' (head e8883e85a7761bbda9df59b3f6b57601cc01bb5a)
...
to branch 'i2p.i2p.str4d.eddsa' (head a1cc4ae4a17efaca2825dae64b2cc55aa520ca27)
2014-08-20 02:11:15 +00:00
3839c8d1c0
* I2CP: Lookup synch cleanups
2014-08-15 11:48:02 +00:00
a63bfeaeec
fix SKM test broken by TSKM move
2014-08-10 15:48:18 +00:00
e3be1d1a04
propagate from branch 'i2p.i2p.zzz.test2' (head c182b371bc28158dd47262b89e5bd0cdda29e07b)
...
to branch 'i2p.i2p' (head 4fc776f7b76b028bb890affccfdcfbefbb932c58)
2014-08-10 13:56:15 +00:00
fdb54c315b
propagate from branch 'i2p.i2p' (head b8f5da367cf5d16bc1d91aa2097830c350c9ef8a)
...
to branch 'i2p.i2p.str4d.eddsa' (head 6fcc5b5019abb36251e28fe0f7723fd1a046a8e9)
2014-08-10 11:41:45 +00:00
c7de4e46c1
0.9.14.1
2014-08-09 21:24:18 +00:00
0bacbbc553
SigType: Add static isAvailable() methods
...
SU3File:
- Add -x option to bypass signature verification
- Add -k option to use specified private key cert for verification
- Don't verify signature in showversion
2014-08-09 17:55:17 +00:00
fe4d98f0df
javadoc
2014-08-08 16:40:56 +00:00
c9e20c5d23
log tweak
2014-08-07 21:22:18 +00:00