ungrentquest
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
ungrentquest
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
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
18b2afe828
create and store our own RI with private keys
2025-02-26 14:44:02 -05:00
eyedeekay
c6867e0b16
more keystore work
2025-02-25 16:15:18 -05:00
eyedeekay
d0b4db769e
Work on setting up a routerinfo from a keystore
2025-02-16 15:09:12 -05:00
eyedeekay
26a9a00b34
Work on setting up a routerinfo from a keystore
2025-02-16 14:38:06 -05:00
eyedeekay
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
eyedeekay
b95b0c4fa3
start working on basic key storage for own RI private keys
2025-02-15 22:17:32 -05:00
eyedeekay
036f9116a5
start working on basic key storage for own RI private keys
2025-02-15 22:16:31 -05:00
eyedeekay
71fff44d4b
Merge branch 'master' of github.com:go-i2p/go-i2p into ntcp
2025-02-10 16:44:55 -05:00
eyedeekay
6b2f231c36
spk and cpk reads were reversed
2025-02-10 16:41:59 -05:00
eyedeekay
440b9e8118
revise logging around SPK stuff in router_info.go
2025-01-30 15:49:28 -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
bd92221d56
Merge branch 'master' of github.com:go-i2p/go-i2p into ntcp
2024-12-21 19:52:28 -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
satk0
daac1a59b5
Add more signatures
2024-12-13 18:30:15 +01:00
satk0
6f65a7c068
Add signature tests
2024-12-13 15:26:21 +01:00
eyedeekay
db91315582
Make the arguments to ComposeInitatorHandshakeMessage comprehensible
2024-12-12 14:55:40 -05:00
Haris Khan
8494da07a7
deprecate unused functions, deferring non-working test functions for later
2024-12-04 03:37:31 -05:00
Haris Khan
832e0d9114
Ed25519PrivateKey Public() modification
2024-12-04 02:22:54 -05:00
Haris Khan
8d56d033ae
flux
2024-12-04 01:40:23 -05:00
Haris Khan
ad22d3e249
flux
2024-12-04 01:28:13 -05:00
Haris Khan
f55788e8ab
flux
2024-12-04 01:18:54 -05:00
Haris Khan
2a4f4d6186
successful flux
2024-12-04 01:14:38 -05:00
Haris Khan
ca1180c57f
added cert tests and experimental function NewCertificateDeux
2024-12-04 00:55:53 -05:00
Haris Khan
76c3e5f293
WHAT IS HAPPENING RIGHT NOW
2024-12-04 00:02:33 -05:00
Haris Khan
91abe52725
flux
2024-12-03 23:22:14 -05:00
Haris Khan
a0ad9e0122
flux
2024-12-03 23:12:34 -05:00
Haris Khan
b23edc28d1
flux
2024-12-03 23:07:52 -05:00
Haris Khan
b547faf286
flux
2024-12-03 21:24:32 -05:00
Haris Khan
a145555bb2
flux
2024-12-03 19:27:41 -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
Haris Khan
15bf28403e
exported KeyCertificate
2024-12-01 01:28:38 -05:00
Haris Khan
b40c0ab6f9
fixed crypto public key size
2024-12-01 01:13:53 -05:00
Haris Khan
55245b2aa7
added more logging
2024-11-26 23:06:21 -05:00
Haris Khan
208051f92d
strange error: publicKey has invalid size: expected 0, got 256
2024-11-26 23:03:17 -05:00
Haris Khan
8a672ca6ca
adjust var names
2024-11-26 22:10:53 -05:00
Haris Khan
45def9dd0c
Merge branch 'master' into tests
2024-11-26 22:08:46 -05:00
Haris Khan
a58f64566f
Destination size 363 -> Fail
2024-11-26 21:28:02 -05:00
Haris Khan
891d915bb2
TODO
2024-11-26 20:30:37 -05:00
Haris Khan
a0a8704c6c
mapping.size = size to fix dereference panic
2024-11-26 20:30:31 -05:00
Haris Khan
c68acf848e
Corrected ValuesToMapping to order correctly
2024-11-26 19:56:32 -05:00
Haris Khan
7a6927cf53
gofumpt
2024-11-26 19:47:17 -05:00
Haris Khan
37e11ffee1
adjust generateTestRouterInfo
2024-11-26 15:56:41 -05:00
Haris Khan
e15e427f60
return error + uniform naming
2024-11-26 15:56:29 -05:00
Haris Khan
f0803a095e
tweaks
2024-11-26 15:55:50 -05:00
Haris Khan
bf7e88bec1
updated test functions to not panic
2024-11-24 14:34:14 -05:00