Commit Graph

82 Commits

Author SHA1 Message Date
idk
116e22f8da Try to figure out how to implement the pieces I'm still missing from the Noise handshake, but I think that I probably need to redo it again anyway 2022-12-12 17:44:43 +00:00
70415b34eb Tweak test message 2022-09-19 19:47:46 -04:00
dbd4c7d346 Allow duplicate keys, add back HasDuplicateKeys 2022-09-19 19:46:46 -04:00
43c3498389 Rework MappingValues Sort 2022-09-18 20:54:43 -04:00
c8c4196c6f Tweak godocs for lib/common 2022-09-12 04:31:02 -04:00
53dd3230df Attempt to fix mappings 2022-09-10 15:34:20 -04:00
idk
c3147c3570 Fix most of the router info tests, all errors are now Mapping-related. 2022-08-06 14:16:42 -04:00
idk
eb117aa1bd Updates Go Modules and several tests.
Re: the tests, this happens largely because when you can check for errors changes fundamentally
based on whether or not you're just reading some bytes and storing them for later or whether
you're reading them and then immediately trying to store them in some intelligible datastructure.
The old code, before I started refactoring it, sort of split the difference by putting everything
into slices of bytes, but hanging functions off those byte slices to parse intellible structures
on the fly. The tests were largely designed around testing this format. Updating them has been
a menace. It is very difficult to tell which tests are necessary and how the necessary tests need
to be changed. A handful of high-level tests in router_info_test currently won't compile. I think
those are the only remaining broken tests.
2022-08-01 12:50:42 -04:00
idk
fefbfc4be6 move mapping_values to it's own file 2022-07-14 16:05:48 -04:00
idk
0ec4f55fa9 Check in unchecked-in common library fixes, start implementing transports.
Since I turned out to be implementing parts of Noise which I did not need to implement, I'm taking a different approach, and doing an unmodified Noise transport first and then making our modifications to it. That should reduce what I need to do to message pre-processing mostly, I think.
2022-07-11 23:41:58 -04:00
idk
b7768d4d99 Work on Mapping tests, get ready to send Session messages for NTCP2 2022-07-11 10:33:33 -04:00
idk
171f09bba6 move every struct into it's own directory in order to run tests individually. 2022-05-22 19:59:20 -04:00
idk
13b996d0da Factor away byte slices in RouterInfo, KeysAndCert, Mapping, RouterAddress, RouterIdentity. 2022-05-09 20:43:24 -04:00
idk
f113977419 refactor certs, keycerts 2022-04-27 10:50:10 -04:00
idk
86dc323348 refactor certs, keycerts 2022-04-27 10:48:59 -04:00
d837630ff6 remove libsodium dependency in favor of the native go/crypto ed25519 library 2021-05-07 21:02:54 -04:00
idk
366db272f4 merge majestrate's changes from years ago 2021-04-19 20:51:15 -04:00
idk
6c7b8d48ea make it build with modules and add the checklist from ire 2021-04-19 20:43:37 -04:00
0765c8b302 more 2017-08-27 09:59:22 -04:00
7e2180c316 Merge remote-tracking branch 'hkparker/master' 2017-08-27 09:07:39 -04:00
3d00b978f4 corpus from fuzzing 2017-04-16 22:32:19 -07:00
b2bae2c198 move fuzz files, fix crasher 2017-04-16 21:02:47 -07:00
95d65ab0a0 fix fuzzing dockerfile 2017-04-07 22:11:45 -07:00
b98534c112 fuzzing with dvyukov/go-fuzz 2017-04-07 21:59:28 -07:00
8d7960f533 fix router_info signature size 2017-04-06 10:20:19 -04:00
a8d3e1a188 more delivery instruction details, hash fixes 2016-09-11 00:20:16 -07:00
7dcca12340 Merge pull request #17 from majestrate/master
merge netdb, router work
2016-09-09 00:20:24 -07:00
f1094c0ffe fix up structure 2016-08-17 09:19:56 -04:00
5420376339 add oldest and newest lease 2016-07-24 13:24:09 -07:00
bdef8ebbcc lease set earliest and latest lease dates 2016-07-09 19:47:38 -07:00
e148ff03cc lease set parsing tests 2016-07-05 21:35:24 -07:00
940d0f64c0 key parsing tests 2016-07-04 14:42:02 -07:00
54be313601 basic lease set destination test 2016-07-04 14:27:17 -07:00
53efb84a58 lease set lease count tests 2016-07-03 20:57:36 -07:00
d4a9db0331 starting lease set tests 2016-07-03 20:26:20 -07:00
dc5349b094 more router info tests 2016-07-02 21:58:34 -07:00
b4728abdee fix and test router info signature size 2016-07-02 18:07:11 -07:00
c12a16109c testing router info options 2016-07-02 17:22:14 -07:00
712f0ca0ae router info test and bug fixes 2016-06-22 21:06:03 -07:00
02d2d78b8d testing router info error cases 2016-06-20 22:49:21 -07:00
20017a61d9 some router info tests 2016-06-19 14:26:03 -07:00
3cd217eecc more tests 2016-06-17 21:53:36 -07:00
3f2c615a21 add tests, fix imports, document consts 2016-06-17 21:07:16 -07:00
38a8ec2e4c more keys and cert testing 2016-06-17 00:17:48 -07:00
e05c0bc9bc more keys and cert testing 2016-06-17 00:09:33 -07:00
89b9e418c2 update documentation links 2016-06-16 23:17:21 -07:00
cfe8807215 at 2016-06-16 23:04:03 -07:00
57f19b74bc starting keys and cert tests 2016-06-16 22:45:38 -07:00
fc9974c33f test stubs 2016-04-01 21:36:20 -07:00
7e00424a83 converted existing common tests to testify 2016-03-29 23:27:58 -07:00