3142a394aa
Merge pull request #31 from go-i2p/ntcp
...
NTCP2 Handshake Development
2025-03-21 15:48:13 -04:00
f2b6d4bc01
Refactor noise locked read/write, move handshake out to own interface
2025-03-19 22:28:14 -04:00
fa0a42855c
move padding
2025-03-19 17:20:33 -04:00
3212cae276
fix tests that failed because of inconsistent usage of crypto API
2025-03-09 14:04:43 -04:00
ad7bac666b
Merge branch 'ntcp' of github.com:go-i2p/go-i2p into ntcp
2025-03-09 14:02:42 -04:00
ba0c89d567
fix tests that failed because of inconsistent usage of crypto API
2025-03-09 14:02:10 -04:00
6a64b28bb3
Merge pull request #39 from urgentquest/better-config-file-handling
...
Better config file handling
2025-03-09 13:52:15 -04:00
9fa714f648
typo
2025-03-05 20:03:31 +00:00
eda403443d
Some additional tweaks. Split out actual config handling. Add an auxiliary func to build i2p base directory path
2025-03-05 00:40:43 +00:00
84cc45d3e4
Refactor config handling
...
- Replace low-level operations like file existance checks, file io with viper calls.
That also allows to get rid of manual config structure initialization.
- Split out UserHome() into itil/home.go to reduce code duplicacy.
- Better error handling and general readbility.
2025-03-04 23:59:38 +00:00
598ee1eb70
Merge branch 'ntcp' of github.com:go-i2p/go-i2p into ntcp
2025-03-02 16:44:43 -05:00
bd6edf446d
Fix some tests
2025-03-02 16:43:47 -05:00
94e43f8aa6
Merge pull request #38 from urgentquest/ntcp-go-fix-null-pointer-dereferences
...
ntcp/session.go: fixes and imrovements
2025-03-02 15:46:45 -05:00
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
393263294e
update CONTRIBUTING.md
2025-02-27 12:53:55 -05:00
55f92bdd8a
update CONTRIBUTING.md
2025-02-27 11:17:57 -05:00
8ea238f3dd
add template for docs
2025-02-27 10:33:01 -05:00
91d8b30495
Add callgraphs to docs
2025-02-26 21:03:51 -05:00
ea4d126358
Add callgraphs to docs
2025-02-26 20:58:20 -05:00
f46bd95b68
Add callgraphs to docs
2025-02-26 20:52:16 -05:00
35eb66084b
add the ability to generate callgraphs
2025-02-26 20:38:46 -05:00
a9289dd4d3
add the ability to generate callgraphs
2025-02-26 20:38:29 -05:00
7f78fdf784
Add new, address generation functions
2025-02-26 19:31:57 -05:00
ae4970b3a9
Switch to oops for error configuration so we can get more info about failures
2025-02-26 19:22:48 -05:00
3d6a08a76b
start building NTCP2 addresses
2025-02-26 19:13:05 -05:00
18b2afe828
create and store our own RI with private keys
2025-02-26 14:44:02 -05:00
c6867e0b16
more keystore work
2025-02-25 16:15:18 -05:00
d0b4db769e
Work on setting up a routerinfo from a keystore
2025-02-16 15:09:12 -05:00
26a9a00b34
Work on setting up a routerinfo from a keystore
2025-02-16 14:38:06 -05:00
99df4c7ce8
Little more RI private key stuff just to be sure where I think it should go
2025-02-15 22:19:46 -05:00
b95b0c4fa3
start working on basic key storage for own RI private keys
2025-02-15 22:17:32 -05:00
036f9116a5
start working on basic key storage for own RI private keys
2025-02-15 22:16:31 -05:00
d97624282e
Merge pull request #35 from satk0/i2np-build-res
...
Add i2np Build Response Record
2025-02-11 14:12:08 -05:00
46af6d55ef
Update upload-artifact in workflow
2025-02-11 13:19:39 +01:00
9591f496eb
Add BuildResponseRecord
2025-02-11 13:15:47 +01:00
71fff44d4b
Merge branch 'master' of github.com:go-i2p/go-i2p into ntcp
2025-02-10 16:44:55 -05:00
6b2f231c36
spk and cpk reads were reversed
2025-02-10 16:41:59 -05:00
4eeaf915f0
sam and tunnel manager are now freestanding apps
2025-02-09 12:29:17 -05:00
440b9e8118
revise logging around SPK stuff in router_info.go
2025-01-30 15:49:28 -05:00
8bc5ca162a
NTCP2: Change noise interface so we get static keys from better places
2024-12-21 22:13:03 -05:00
bd92221d56
Merge branch 'master' of github.com:go-i2p/go-i2p into ntcp
2024-12-21 19:52:28 -05:00
22111a6cb7
Merge pull request #30 from satk0/add-signature-tests
...
Add signature tests
2024-12-14 00:19:14 +00:00
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
0b89baf98b
Add signature tests to doc/tests and actions
2024-12-13 22:42:29 +01:00
daac1a59b5
Add more signatures
2024-12-13 18:30:15 +01:00
6f65a7c068
Add signature tests
2024-12-13 15:26:21 +01:00
db91315582
Make the arguments to ComposeInitatorHandshakeMessage comprehensible
2024-12-12 14:55:40 -05:00
5f3a7f2340
Merge pull request #26 from hkh4n/tests
...
Refactoring tests
2024-12-04 21:18:57 +00:00
8494da07a7
deprecate unused functions, deferring non-working test functions for later
2024-12-04 03:37:31 -05:00
832e0d9114
Ed25519PrivateKey Public() modification
2024-12-04 02:22:54 -05:00