Commit Graph

16 Commits (poc8)

Author SHA1 Message Date
Felix Lange 5bdc115943 p2p: integrate p2p/discover 10 years ago
zelig 2e48d39fc7 key generation abstracted out, for testing with deterministic keys 10 years ago
zelig 68205dec9f make crypto handshake calls package level, store privateKey on peer + tests ok 10 years ago
zelig 4499743522 apply handshake related improvements from p2p.crypto branch 10 years ago
zelig 54252ede31 add temporary forced session token generation 10 years ago
zelig faa069a126 peer-level integration test for crypto handshake 10 years ago
zelig 20aade56c3 chop first byte when cryptoid.PubKeyS is set from identity.Pubkey() since this is directly copied in the auth message 10 years ago
zelig 4afde4e738 add code documentation 10 years ago
zelig 364b783281 changes that fix it all: 10 years ago
zelig e252c634cb first stab at integrating crypto in our p2p 10 years ago
zelig 1803c65e40 integrate cryptoId into peer and connection lifecycle 10 years ago
zelig 489d956283 completed the test. FAIL now. it crashes at diffie-hellman. ECIES -> secp256k1-go panics 10 years ago
zelig 3b6385b146 handshake test to crypto 10 years ago
zelig 714b955d6e fix crash 10 years ago
zelig b855f671a5 rewrite to comply with latest spec 10 years ago
zelig 4e52adb84a add crypto auth logic to p2p 10 years ago