|
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 |
|
|
9b4bf2663d
|
clear artifact
|
2024-11-21 14:25:39 -05:00 |
|
|
4a6f49d14a
|
NTCP: fix IV functions
|
2024-11-20 16:02:14 -05:00 |
|
|
5d789973b2
|
DRY: use obfs library to ofuscate and deobfuscate ephemeral keys
|
2024-11-20 15:55:07 -05:00 |
|
|
08127861f1
|
Refactor: Fix constants.
|
2024-11-20 15:37:44 -05:00 |
|
|
0e6ffd856b
|
Refactor: move Compose* onto the NoiseSession struct. Fix constants.
|
2024-11-20 15:34:48 -05:00 |
|
|
10daacbc9b
|
Merge pull request #28 from satk0/add-lease-tests
Add lease tests and make names more clear
|
2024-11-20 17:36:07 +00:00 |
|
|
eeb1e215a5
|
Add lease tests and make names more clear
|
2024-11-19 17:31:34 +01:00 |
|
|
08e599e59a
|
create Ed25519PublicKeyFromBytes
|
2024-11-18 12:34:03 -05:00 |
|
|
30f5565217
|
.Type -> .Type()
|
2024-11-18 12:27:55 -05:00 |
|
|
fc3ba17af5
|
ReadKeysAndCert is not working as expected
|
2024-11-18 12:25:31 -05:00 |
|
|
631f8d1850
|
nuked lease_set_test.go -> BROKEN
|
2024-11-17 23:04:07 -05:00 |
|
|
cc43160bb9
|
nuked & revived router_info_test.go
-TestRouterInfoCapabilities() fails
-TestRouterInfoVersion() fails
|
2024-11-17 22:23:31 -05:00 |
|
|
09acf3d23d
|
adjusted router_info2_test.go
|
2024-11-17 22:04:27 -05:00 |
|
|
cbe4af8459
|
added AsDestination()
|
2024-11-17 21:44:32 -05:00 |
|
|
b72ed0a37d
|
remove recovery attempt in mapping
|
2024-11-17 21:39:31 -05:00 |
|
|
07268df720
|
CRITICAL: Reverted mapping.go
|
2024-11-17 21:03:42 -05:00 |
|
|
def8789b77
|
verification
|
2024-11-17 14:13:38 -05:00 |
|
|
59c53bc5c1
|
Added constructors and readers
-NewLeaseSet()
-NewLeaseSetFromBytes()
-ReadLease()
-NewLeaseFromBytes()
|
2024-11-17 14:00:41 -05:00 |
|
|
ee56e0f40f
|
corrected TestPublicKeyWithBadCertificate that had fault error matching
|
2024-11-17 13:32:08 -05:00 |
|
|
4e2b55ccbe
|
add new tests to router_info.mk
|
2024-11-17 13:01:46 -05:00 |
|
|
64d90a157c
|
Fixed array bounds error in handling short input in NewKeyCertificate
|
2024-11-17 12:55:34 -05:00 |
|
|
3acff32f17
|
adjusted vars, all tests pass for mapping
|
2024-11-17 12:36:26 -05:00 |
|
|
362513bbe5
|
Handle extra bytes beyond mapping length
|
2024-11-17 12:32:46 -05:00 |
|
|
c9f3227116
|
added length check to ReadMapping
|
2024-11-17 12:23:21 -05:00 |
|
|
f0702ffba9
|
Various changes
-we're dropping errors instead of trying to recover
-revamp TestReadI2PStringErrWhenDataTooShort to reflect drops instead of recoveries
|
2024-11-17 11:52:47 -05:00 |
|
|
11b9018630
|
implement uniform errors
|
2024-11-17 11:26:02 -05:00 |
|
|
f6daa5d9b6
|
Various changes
-in func (str I2PString) Data(): remove recovery attempts causing tests to fail
-added more universal errors
|
2024-11-17 11:16:43 -05:00 |
|
|
58d1f0d815
|
fixed func (str I2PString) Data()
-replace actual length expected by TestI2PStringDataReportsExtraDataError, which is an invalid length
-added note to see if we should trim instead
|
2024-11-17 10:52:47 -05:00 |
|
|
62ececf102
|
fixed func(str I2pString) Length()
-Previously incorrectly checked length causing TestI2PStringReportsExtraDataError to fail
|
2024-11-17 10:35:22 -05:00 |
|
|
1d90db3239
|
Merge pull request #23 from hkh4n/routerinfo
Routerinfo
|
2024-11-17 14:28:44 +00:00 |
|
|
f729bda62d
|
Merge branch 'master' into routerinfo
|
2024-11-16 18:17:10 +00:00 |
|
|
4ad0f97bfe
|
Fail-fast switch for logging Logging, format
|
2024-11-16 13:15:33 -05:00 |
|
|
e296441f29
|
Merge branch 'master' into routerinfo
|
2024-11-16 03:56:57 +00:00 |
|
|
62086c7d04
|
make fmt
|
2024-11-15 22:52:17 -05:00 |
|
|
ddba94d6ae
|
remove printing
|
2024-11-15 22:48:57 -05:00 |
|
|
767b91df49
|
clean up temp dirs
|
2024-11-15 22:47:36 -05:00 |
|
|
1292098cf0
|
Merge remote-tracking branch 'origin/10k' into 10k
|
2024-11-15 22:45:04 -05:00 |
|
|
24bc4c3c17
|
Implemented ed25519 SPK's
|
2024-11-15 22:29:42 -05:00 |
|
|
81eb270351
|
!WIP! - 10k test
|
2024-11-15 22:06:23 -05:00 |
|
|
b6f197cf92
|
This is not correct yet, work on key_certificate.go lines 216-245
|
2024-11-15 17:35:44 -05:00 |
|
|
c10d98a3b2
|
export DEBUG_I2P=debug in Makefile so that extended logs show up in the tests
|
2024-11-15 16:52:37 -05:00 |
|
|
6d16ca5f87
|
debugging info to investigate
|
2024-11-15 14:43:36 -05:00 |
|
|
003d6c9ab8
|
!WIP! - 10k test
|
2024-11-15 13:53:44 -05:00 |
|
|
015c4b23e2
|
pass sigType to NewRouterInfo
|
2024-11-15 11:49:10 -05:00 |
|
|
e29c3c7abb
|
formatting + implemented GetSignatureTypeFromCertificate
|
2024-11-15 11:31:29 -05:00 |
|
|
6f6291a9f6
|
bounds checking
|
2024-11-15 11:31:10 -05:00 |
|
|
767864d457
|
corrected order in Bytes()
|
2024-11-15 11:30:59 -05:00 |
|
|
0a98236d85
|
adjusted test
|
2024-11-15 11:30:40 -05:00 |
|
|
c1fa63f6ec
|
added sigtype
|
2024-11-15 11:30:34 -05:00 |
|