784f72403b
Fix padding, add TODO note, align spk to end of first 384 bytes
2024-02-05 12:41:49 -05:00
664a17e42a
Fix construction of keys_and_cert from a stream of bytes
2024-02-05 12:32:33 -05:00
37718c36f8
Fix cert construction in keys_and_cert
2024-02-05 11:47:51 -05:00
b0fcf4bc11
Fix mapping values, remove redundant, unused functions
2024-02-05 10:42:57 -05:00
65febb5dcf
Work on organizing this Noise over TCP Socket stuff
2022-12-15 23:52:05 +00:00
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
0419665d7b
use separate incoming and outgoing queues
2022-11-14 00:10:58 -05:00
dab108c270
Client=>Outgoing
2022-11-13 23:46:57 -05:00
0fcded4c51
check in more noise handshake missing pieces
2022-11-13 22:24:31 -05:00
7d16b0b257
update my notes
2022-10-17 02:16:44 -04:00
a689f26d73
fix merge conflicts
2022-10-17 02:07:11 -04:00
8d631239b7
Implements a mostly-working Noise IK handshake on a socket with multiple subsessions. Does not implement conns or listeners yet.
2022-10-17 02:03:59 -04:00
fdc34b382e
Fix some tests so it compiles again
2022-10-16 17:19:38 -04:00
a4ed06e530
update my notes
2022-09-26 12:18:33 -04:00
c6e359f152
Merge pull request #4 from Thuulium/MappingValues/TweakValuesSort
...
Rework MappingValues Sort
2022-09-20 11:14:51 -04: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
6b5ea57cbd
Move my noise transport tests to a branch so I don't mess up the other branch
2022-09-19 14:35:49 -04:00
43c3498389
Rework MappingValues Sort
2022-09-18 20:54:43 -04:00
f90d1d5f42
Merge branch 'tweak-lib/common-godocs' into 'master'
...
Tweak godocs for lib/common
See merge request idk/go-i2p!4
2022-09-19 00:02:56 +00:00
c8c4196c6f
Tweak godocs for lib/common
2022-09-12 04:31:02 -04:00
68a6ed02be
Merge branch 'unbreak-mappings' into 'master'
...
Attempt to fix mappings
See merge request idk/go-i2p!3
2022-09-11 19:13:49 +00:00
53dd3230df
Attempt to fix mappings
2022-09-10 15:34:20 -04:00
c3147c3570
Fix most of the router info tests, all errors are now Mapping-related.
2022-08-06 14:16:42 -04:00
76fba3c8ba
Merge pull request #3 from apeace/su3
...
This merges apeace's working SU3 implementation, which is more like idiomatic Go and will be easier to build upon. TODO: We need to write the godoc, we don't want that situation to get out of hand.
2022-08-05 00:55:57 -04:00
0cae80c698
documentation on novg.net reseed file
2022-08-03 16:14:21 -04:00
7deba5f725
when checking su3 signature, hash ALL file contents up to the signature
2022-08-03 16:10:27 -04:00
35983423ed
update from PSS -> PKCS1v15
2022-08-02 15:46:06 -04:00
136133e643
add signature test for snowflake plugin
2022-08-02 11:50:02 -04:00
8d39f1512a
add su3 test of snowflake plugin
2022-08-02 11:43:54 -04:00
c9b5fa1406
Add a test for verifying i2pgit reseed signature
2022-08-02 11:27:45 -04:00
cdc9998f10
improve su3 tests by only generating fake data once
2022-08-02 09:47:19 -04:00
4c06fcaff0
add su3 documentation on streaming to disk
2022-08-02 09:47:19 -04:00
403ef30119
verify su3 RSA signatures
2022-08-02 09:47:19 -04:00
feef6e6bbf
refactor su3 readers to support signature verification
2022-08-02 09:47:19 -04:00
ad7a828d43
documentation on reading su3 from []byte
2022-08-02 09:47:19 -04:00
416cf6546a
remove unused config/su3 implementation
2022-08-02 09:47:19 -04:00
9b81a5c6d8
package su3 documentation
2022-08-02 09:47:19 -04:00
940347351e
package su3 documentation
2022-08-02 09:47:19 -04:00
726bff974c
read SU3 files into io.Readers
2022-08-02 09:47:19 -04:00
74591a96cb
read SU3 files into a struct
2022-08-02 09:47:19 -04:00
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
88d8d09527
write my notes for this week
2022-07-18 13:31:20 -04:00
83e999992f
start putting my copypasta in the repo
2022-07-18 12:48:49 -04:00
a437bab373
Progress on pure-noise transport
2022-07-18 12:32:29 -04:00
2d310fe91a
Progress on pure-noise transport
2022-07-18 12:32:16 -04:00
fefbfc4be6
move mapping_values to it's own file
2022-07-14 16:05:48 -04:00
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
8bd30d1e23
start pure-noise transport. Move messages to own module
2022-07-11 17:29:01 -04:00
b7768d4d99
Work on Mapping tests, get ready to send Session messages for NTCP2
2022-07-11 10:33:33 -04:00