Commit Graph

498 Commits

Author SHA1 Message Date
zzz b970912cc1 javadoc fixes part 7 (ticket #1894) 2017-01-26 21:55:04 +00:00
zzz d196047382 javadoc fixes part 6 (ticket #1894) 2017-01-26 21:45:47 +00:00
zzz 8bb114e9c4 javadoc fixes part 2 (ticket #1894) 2017-01-26 20:45:58 +00:00
zzz f77fc52ca7 javadoc fixes part 1 (ticket #1894) 2017-01-26 20:37:44 +00:00
zzz 6e7dedba81 javadoc clarification 2017-01-19 13:32:15 +00:00
zzz 6843950bdc DataHelper: Release resources in finally block 2017-01-04 13:25:49 +00:00
zzz 7734d3dd65 Consolidate base64 alphabet string 2016-12-04 14:10:07 +00:00
zzz 42efed578a Clean up single char indexOf() 2016-12-03 16:00:09 +00:00
zzz 4f0cae59c2 Crypto: Remove deprecated Sha256Standalone as scheduled
This will break Syndie 1.105 and earlier, users must upgrade to 1.107
2016-10-28 01:52:07 +00:00
zzz 71f7c712cd NetDB: Disallow RSA for RI or LS 2016-10-21 18:21:12 +00:00
zzz f5f411b62f Data: Cache serialized leasesets on floodfills 2016-10-21 18:08:31 +00:00
zzz cee3ebbb23 less wtf 2016-10-21 15:20:35 +00:00
zzz cc179b488d DataHelper: Fix read() for nonzero offset, broken since the
beginning (2004) but unused by this repo;
Throw EOFException on short read rather than returning a smaller value,
since the whole point is to guarantee a complete read
2016-09-22 17:01:32 +00:00
zzz 6f0fde092b more keys to cache 2016-05-29 15:03:04 +00:00
zzz 6b578dfd8c Console: Fix UTF-8 passwords
Partial fix for UTF-8 usernames
Better input checking and help messages
2016-05-08 19:49:14 +00:00
zzz 43f7897027 Data: Fix NPE calculating the hash of a RI of unknown sig type 2016-04-30 13:58:36 +00:00
zzz 0ac83bd7c1 i2ptunnel: Enhance registration authentication page
- Enable form
- Switch to multipart form for getting old private key file
- Add advanced authentications
PrivateKeyFile: Add InputStream constructor for i2ptunnel
2016-04-24 21:03:10 +00:00
zzz 2a34d1c44a HostTxtEntry: Fixups for use by i2ptunnel
i2ptunnel: Add new registration authentication page
- Remove old, unused hostname signature generation
PrivateKeyFile: Ensure initialization before returning private keys
2016-04-24 18:10:10 +00:00
zzz 75dd22510b Addressbook: Fix changedest action
- Implement adddest action
- Logging improvements
BFNS: Fix lookupAll() NPE
- Fix addDestination() UOE
- Support long property values
DataHelper: Properties methods cleanup
HostTxtEntry: Test improvements
2016-04-22 23:37:55 +00:00
zzz 0ceb9576b9 PrivateKeyFile: Add method to specify sig type on creation 2016-04-17 15:55:41 +00:00
zzz a438722eed TunnelId: Add max value check 2016-04-16 16:10:56 +00:00
zzz 8ef593fe98 Data: New Hash.toBase32() method 2016-02-13 15:35:57 +00:00
z3r0fox b1eaa772a1 Linting dep-ann: Added @Deprecated annotations in BOB and i2p_sdk 2016-02-06 21:32:28 +00:00
zzz 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
zzz 2007e881e5 Crypto: New utils to support private key import/export
Console: New /configfamily, /exportfamily
2016-01-20 21:05:26 +00:00
zzz 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
zzz 6917203530 DataHelper: Optimize checks in storeProps() 2016-01-06 17:54:05 +00:00
zzz 8da3257856 cache new family options 2015-12-23 10:50:46 +00:00
z3r0fox c60f3970d1 Replaces instances of getBytes() in core classes 2015-12-20 01:18:38 +00:00
zzz 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
zzz 2155347e4f another writeLong 2015-12-13 16:41:35 +00:00
zzz 97ae1e5034 Cleanup: Don't use DataHelper.writeLong() for a single byte 2015-12-13 16:38:06 +00:00
zzz fdc160cf1d Utils: Move new getSystemTimeZone() from DataHelper to SystemVersion,
which is a better place for it.
2015-12-06 16:28:14 +00:00
zzz 6fb0692d57 Centralize time zone code in DataHelper
NewsManager should be a ClientApp, not a RouterApp
2015-11-16 20:04:15 +00:00
zzz 51c5da3f72 lint: don't catch Exception, catch RuntimeException or checked exception.
omits SAM, BOB, reflection, commented-out code, and a few other places
2015-11-12 18:49:13 +00:00
zzz 1451dc6ece More: Don't use DataHelper.readLong() for 1-byte reads, for efficiency 2015-11-08 20:43:42 +00:00
zzz 63ddf11799 use float for efficiency 2015-11-08 18:14:19 +00:00
zzz 83b923151c propagate from branch 'i2p.i2p' (head e2aa08a93036bcf0d846b8ff67e9cb74de3e4d0f)
to branch 'i2p.i2p.zzz.test2' (head b3d23ed369ba339b9a71dfeb205110458df9ec0d)
2015-11-07 17:08:39 +00:00
zzz e4ebb9a77d Utils: Add caching string split() 2015-11-07 17:08:27 +00:00
zzz 077c4a073f replaceAll -> replace 2015-11-07 12:47:31 +00:00
zzz 71bc55b470 lint core, i2psnark, jetty, susimail 2015-10-17 16:49:37 +00:00
zzz 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
zzz 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
zzz 1f9bb046f5 Findbugs all over #2
Mostly char encoding
Use StringWriter rather than OSW->BAOS->String
2015-07-12 16:06:49 +00:00
zzz 1eaf376ee7 Crypto: Check for error return from sign() 2015-07-07 13:46:04 +00:00
zzz 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
zzz 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