Commit Graph

585 Commits

Author SHA1 Message Date
8b035711b6 Move sessionRequest methods to own file, organization changes 2025-05-08 18:01:58 -04:00
c93b258844 Move ntcp2 messages into ntcp2 directory 2025-05-08 16:22:22 -04:00
2df5d23528 Implement findClosestPeers 2025-05-08 14:24:08 -04:00
98ea3d55c4 Implement lookup for kadResolver, change kadresolver to KademliaResolver 2025-05-07 21:19:46 -04:00
b5454a4317 Implement lookup for kadResolver, change kadresolver to KademliaResolver 2025-05-07 21:17:38 -04:00
83502face7 change lookup interface, needs to be more intuitive to use, we can thread elsewhere 2025-05-07 20:51:30 -04:00
c99b15ba7f NetDB entry serialization and deserialization, TODO: leaseset struct port 2025-05-07 20:14:18 -04:00
8e73c36922 check in the stuff I have locally that I haven't yet, mostly ECDSA stuff which is not very useful 2025-05-05 22:37:46 -04:00
89b1995593 ecdsa_p256_private impl, rest of ecdsa to follow 2025-04-04 11:00:59 -04:00
4577408d6d return a descriptive error upon a hash size mismatch 2025-04-03 17:00:10 -04:00
e7e26ae021 Fix unimplemented funcs in rsa3072 2025-04-03 15:53:17 -04:00
1d1568de71 Add rsa4096 implementation and use the same functin for all key reads 2025-04-03 15:30:06 -04:00
b21a6cee9e Add rsa2048 implementation 2025-04-03 15:04:39 -04:00
35b47969b0 Add rsa3072 implementation 2025-04-03 14:57:08 -04:00
816df5642c implement first handshake message sender and reciever, create a test file 2025-03-31 21:49:31 -04:00
1bd439f989 Implement Sender for Handshake Message 1 2025-03-31 17:33:01 -04:00
6158eb68f3 fix some interfaces 2025-03-31 14:56:04 -04:00
03eeeab781 reorganized old hansdhake stuff 2025-03-31 14:55:05 -04:00
0099392f6d fix some interfaces 2025-03-31 14:51:53 -04:00
a09f155835 Add quantized padding file and my notes on quantized padding 2025-03-31 13:46:45 -04:00
fa561fc431 Merge branch 'master' of github.com:go-i2p/go-i2p 2025-03-29 17:54:58 -04:00
c5125c1bfd more ntcp2 progress, figure out what the rules of the crypto library interfaces need to be, etc 2025-03-29 17:54:23 -04:00
idk
9e1bac3ff1 Merge pull request #37 from satk0/add-database-lookup
Add DatabaseLookup
2025-03-29 14:41:44 -04:00
b4e1f3cfdf THIS LARGE CHECKIN CONTAINS REGENERATED DOCS ONLY. update/regenerate docs. 2025-03-27 22:18:24 -04:00
d4ff0e373c stub out more methods 2025-03-27 22:01:34 -04:00
0c9c8270a5 migrate hmac to crypto/hmac, I swear we do everything the hard way... 2025-03-27 21:56:23 -04:00
f2bacc5018 Add basic chacha20-poly1305 implementation 2025-03-27 21:45:23 -04:00
94691f1e75 Stub out ECDSA requirements 2025-03-27 20:30:31 -04:00
8c4f718601 Make all the tests compile again, some of the elgamal ones might fail but mixing up our packages with third-party elgamal packages was causing problems. We should bring crypto in-house as dependencies, wrap our interfaces around it per our requirements, and not touch the upstream library if we can help it. That means wrap private keys, public keys, signing and encryption operations with our own code reporting our own errors. 2025-03-27 20:13:17 -04:00
9a0d164276 Use curve25519+ChaCha20-Poly1305 instead of AES-GCM in curve25519, I think we might need to override it sometimes but it's the thing that makes sense right now 2025-03-27 19:50:55 -04:00
f3f5d744ed Fix curve25519 decrypter 2025-03-27 19:24:23 -04:00
3b9fb603f4 fix a few more compile errors and sync 2025-03-26 21:10:16 -04:00
29d5a20216 Fix compile errors in NTCP handshake 2025-03-26 19:38:01 -04:00
3c252e22cd split the rsa stub package into one file per component 2025-03-26 19:32:54 -04:00
dcb11d1fda split the rsa stub package into one file per component 2025-03-26 19:31:32 -04:00
a721856688 split the elgamal package into one file per component 2025-03-26 19:26:03 -04:00
b66c5813cb split the ed25519 package into one file per component 2025-03-26 19:19:24 -04:00
441549743d Fix some of the compile errors in routerinfo_keystore.go 2025-03-26 18:57:27 -04:00
30f84713ea split the ecdsa package into one file per component 2025-03-26 18:52:51 -04:00
6057677956 split the dsa package into one file per component 2025-03-26 18:48:12 -04:00
c026b9a4a5 split the curve25519 package into one file per component 2025-03-26 18:40:38 -04:00
9c6cfc14e5 split the curve25519 package into one file per component 2025-03-26 18:40:31 -04:00
4533c2fd92 split the aes package into one file per component 2025-03-26 18:24:31 -04:00
89e51820f1 Add DatabaseLookup and test it 2025-03-26 20:32:44 +01:00
17a789bed7 refactor crypto library into smaller components 2025-03-25 19:08:47 -04:00
d236f19f81 add custom handshake manager 2025-03-25 18:37:14 -04:00
d0b81d9ce9 add remaining session messages 2025-03-25 18:17:34 -04:00
06cf6b41b4 add remaining session messages 2025-03-25 18:15:44 -04:00
ac8349d083 Add SessionCreated implementation 2025-03-25 17:02:25 -04:00
45296be6d3 let the machine find simple errors in the common library and call it a night 2025-03-24 23:55:04 -04:00