ungrentquest
7bdaf6d4ea
ntcp/session.go: fixes and imrovements
...
- Stop using deprecated (and probably
not cryptographically secure) exp/rand, switch to crypto/rand instead
- Reduce code duplicacy by defining `buildAesStaticKey()` method
- Properly handle pointer to `crypto.AESSymmetricKey` struct
to prevent nil pointer dereferences
- go mod tidy
2025-03-01 21:19:53 +00:00
eyedeekay
7f78fdf784
Add new, address generation functions
2025-02-26 19:31:57 -05:00
eyedeekay
ae4970b3a9
Switch to oops for error configuration so we can get more info about failures
2025-02-26 19:22:48 -05:00
eyedeekay
3d6a08a76b
start building NTCP2 addresses
2025-02-26 19:13:05 -05:00
eyedeekay
8bc5ca162a
NTCP2: Change noise interface so we get static keys from better places
2024-12-21 22:13:03 -05:00
eyedeekay
74d2998e10
Try and reason with the ways of getting local and remote static keys in the transports
2024-12-13 16:59:46 -05:00
eyedeekay
db91315582
Make the arguments to ComposeInitatorHandshakeMessage comprehensible
2024-12-12 14:55:40 -05:00
eyedeekay
ef4d4658c0
NTCP2: Add CreateSessionRequest to implement handshake 1 message, modify ComposeInitiatorHandshakeMessage to actually send it
2024-12-01 15:27:42 -05:00
eyedeekay
9e3c8bcb98
move logger out of go-i2p so we can re-use it without importing the entire module
2024-11-21 17:16:48 -05:00
eyedeekay
4a6f49d14a
NTCP: fix IV functions
2024-11-20 16:02:14 -05:00
eyedeekay
5d789973b2
DRY: use obfs library to ofuscate and deobfuscate ephemeral keys
2024-11-20 15:55:07 -05:00
eyedeekay
08127861f1
Refactor: Fix constants.
2024-11-20 15:37:44 -05:00
eyedeekay
0e6ffd856b
Refactor: move Compose* onto the NoiseSession struct. Fix constants.
2024-11-20 15:34:48 -05:00
eyedeekay
67a02f5d69
Noise: Refactor, remove unused fields
2024-11-04 18:26:17 -05:00
eyedeekay
a5b3c3f194
NTCP2: Stub out NTCP2 and explain the task at hand, SSU2: Explain the plan
2024-11-04 00:24:08 -05:00
eyedeekay
266a1b71d6
Cleanup: Move obfs.go to own package to avoid import cycle noise->ntcp. I probably should have caught that in review.
2024-11-03 23:58:49 -05:00
eyedeekay
80e539930e
Mapping: fix off-by-one. Format: gofumpt
2024-10-28 18:11:54 -04:00
Haris Khan
e58d326d89
Move obfuscation functions to lib/transport/ntcp
2024-10-25 21:29:02 -04:00
eyedeekay
3a51a1229e
more merge conflicts
2024-10-03 22:45:33 -04:00
eyedeekay
2b18b2941d
resolve merge conflicts in lib/transport/noise
2024-10-03 22:42:00 -04:00
eyedeekay
310ef07d3c
generate godoc locally so I can go over it offline
2024-08-26 16:21:54 -04:00
eyedeekay
14fc6fc3a8
Work on noise tools, comment details of handshake stuff
2024-08-25 23:22:21 -04:00
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
idk
8bd30d1e23
start pure-noise transport. Move messages to own module
2022-07-11 17:29:01 -04:00
idk
b7768d4d99
Work on Mapping tests, get ready to send Session messages for NTCP2
2022-07-11 10:33:33 -04:00
Jeff Becker
a08790d3a7
add stubs for NTCP
2017-08-27 09:11:29 -04:00