077c4a073f
replaceAll -> replace
2015-11-07 12:47:31 +00:00
71bc55b470
lint core, i2psnark, jetty, susimail
2015-10-17 16:49:37 +00:00
4e6ddfcea3
lint core
2015-10-17 14:01:08 +00:00
dg2-new
22b9876b68
Rename _() for translation to _t() for Java 9 compatibility (ticket #1456 )
2015-09-25 19:55:36 +00:00
7c703953be
Data: Cache P256 and Ed255i9 key certificates
...
- Enable P256 caching
- Create cached Ed25519 cert and enable
- Fix cached P256 hashcode
2015-08-31 13:25:58 +00:00
str4d
265e4b58a5
Throw DataFormatException if not enough bytes
2015-07-23 01:15:11 +00:00
str4d
ba5af15c6f
Fix KeyCert bug
2015-07-21 01:19:37 +00:00
1f9bb046f5
Findbugs all over #2
...
Mostly char encoding
Use StringWriter rather than OSW->BAOS->String
2015-07-12 16:06:49 +00:00
1eaf376ee7
Crypto: Check for error return from sign()
2015-07-07 13:46:04 +00:00
355b2a1528
I2CP: Don't try to decrypt an LS before it's encrypted (ticket #1608 )
...
log tweaks
2015-06-23 21:16:34 +00:00
036b77746b
Catch uncaught exceptions in ClientConnectionRunner and stop connection
...
Catch null SessionId in messages and stop connection instead of NPE
Wait for LS in SubSession in connect() so we don't send data w/o
a session ID and leaseset
Log tweaks
2015-06-17 02:16:06 +00:00
8962bfb6bc
more @since updates
2015-06-10 19:23:26 +00:00
099515adff
propagate from branch 'i2p.i2p' (head 1de143fff53bb56e6eac926d6293d62200f0c392)
...
to branch 'i2p.i2p.zzz.multisess' (head 70fc07857232668b93ca6ba02c433dffc7639132)
2015-06-08 21:50:42 +00:00
f8594c316f
DataHelper: make formatDuration() days to years be monotonic
2015-06-02 15:36:19 +00:00
042b03d6b8
DataHelper: Add year output to formatDuration()
2015-05-27 20:48:51 +00:00
a3b1327934
javadoc fixes
2015-05-13 10:48:48 +00:00
2aafc23774
PrintWriter doesn't throw exceptions, so call checkError()
2015-05-06 01:51:57 +00:00
94bba8d11f
I2CP: Fix external I2CP SendMessageExpires, broken in previous cleanup
2015-05-04 12:36:03 +00:00
6dbbb6b61b
minor cleanup
2015-04-26 17:46:14 +00:00
32049d7bfc
I2CP Multisession - Work in progress:
...
Reuse LS encryption keypair from primary LS
Log tweaks
2015-04-19 14:49:13 +00:00
6a644dd0e5
propagate from branch 'i2p.i2p' (head 66743cfb9b4e1c257e4f0a20a318ee7eb1fb607c)
...
to branch 'i2p.i2p.zzz.multisess' (head 4533ba250cb8e49044f5144b34014e9bc618cdc7)
2015-04-18 14:08:22 +00:00
2ef615a3f7
I2CP: Allow larger client clock skew (ticket #1503 ),
...
better error message to client
javadocs
2015-04-01 12:50:51 +00:00
fadc624f7c
API: Fix some client-side APIs to honor defaults in Properties;
...
add javadocs to specify where we do and don't (ticket #1491 )
2015-03-31 13:18:11 +00:00
f0961a9658
more accurate job stats
2015-03-21 12:10:10 +00:00
1293dccf35
I2CP Multisession support and multiple destinations in one tunnel pool.
...
Work in progress.
Router-side I2CP mostly done.
Client-side I2CP mostly done but undecided on how to handle
listeners.
Streaming stubbed out but may be wrong, may need multiple socket managers,
not clear how to proceed.
I2PTunnel not started.
Blacklist of DSA-only dests not started.
Router leaseset publishing not correct. Not clear whether to have
additional tunnel pools with flags, or put the tunnel pools into
the client hashmap twice. Client config contains destination,
may need to move that to tunnel pool.
2015-03-18 12:59:50 +00:00
5bf515441e
Router: Ensure nonzero tunnel IDs
2015-01-28 21:43:27 +00:00
98e275d908
javadoc typo
2014-12-08 14:05:35 +00:00
e842165265
more argument checking, javadocs
2014-12-05 15:21:26 +00:00
6d6f7fb89b
Data: Disallow duplicate keys in a Mapping
2014-11-28 13:45:33 +00:00
a38bd0b5cf
Data: Fix NPE on unknown sig type in destination
...
Fix hashcode and equals for typed data
2014-11-26 16:06:09 +00:00
5f2b620819
PrivateKeyFile: Don't rewrite file in main() if no options
2014-11-24 14:26:53 +00:00
397ae536f9
Data: Clear more caches when under memory pressure and at shutdown
2014-11-12 14:44:49 +00:00
5f1e5bc271
Data: make getKeysAndCert() public
2014-11-08 17:53:55 +00:00
6ca0c54ba7
i2ptunnel:
...
ECDSA default for all new server tunnels
ECDSA default for streamr client tunnels
Fix display of server destination on edit page when not running (privkey file path wasn't absolute)
Fix display of persistent client key b32 on edit page when not running
Fix display of server sig type on edit page when we have a privkey file
Add KeysAndCert.getSigType()
Javadocs
2014-11-02 15:23:13 +00:00
86c43f4734
propagate from branch 'i2p.i2p' (head b82e829752729679ee6b9ece7ce8c7279c70aedf)
...
to branch 'i2p.i2p.zzz.test2' (head 8e441b5ba1384e499901127e10ab79b96f0f0cb5)
2014-10-14 16:47:50 +00:00
be0cb84f97
Util: Use write-sync-close-rename for config file writing
2014-10-14 16:47:41 +00:00
fff7fbe121
Base64: Catch NPE on bad input to main() decode
2014-10-03 15:11:29 +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
a72866ee6a
RouterInfo: Backport fix for verification of EdDSA RI sig type
...
from i2p.i2p.zzz.test2
2014-08-30 12:35: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
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