Commit graph

87 commits

Author SHA1 Message Date
John Jones
a10c7ef5e9 handle reading the requested number of bytes, and secio fix
Some transmissions are sent by multiple sends. Loop through until you
get them all. NOTE: We'll have to come back to this to handle a timeout.
Also, fixed the random handshake issue with the GO version.
2017-07-13 18:30:18 -05:00
John Jones
6c19984368 Now doing multistream over secio 2017-07-13 09:01:50 -05:00
John Jones
cff0e4d6aa Incremental commit for secio fixes and connecting to swarms 2017-07-13 07:27:10 -05:00
John Jones
8ce1c32ec4 Multiple memory fixes, mostly in tests 2017-04-26 23:56:18 -05:00
John Jones
c1e7131c7c passing network timeouts to read methods 2017-04-17 14:03:27 -05:00
John Jones
12f15c4231 Cleaned code around peerstore, providerstore, and networking 2017-04-03 20:54:41 -05:00
John Jones
aa92d72541 Added fancier logging mechanism 2017-04-03 13:20:12 -05:00
John Jones
caf51bdb7c Added some debugging info 2017-04-03 12:43:05 -05:00
John Jones
464f9b5c5c minor change to peer calls and added debugging info to secio 2017-04-03 11:55:03 -05:00
John Jones
69cbff9cd6 Refactor - SecureSession to SessionContext 2017-03-19 07:42:52 -05:00
John Jones
74d95cb696 Working on streams 2017-03-09 12:49:47 -05:00
John Jones
d0512d9084 Made the stream methods more generic 2017-03-09 10:00:45 -05:00
John Jones
a6fe0fda47 changed encryption to aes 256 for time being 2017-03-09 08:41:59 -05:00
John Jones
3d53c470a5 Correctly generating shared and stretched keys 2017-03-09 00:12:04 -05:00
John Jones
05cc6e9bd3 key exchange complete, nearing encrypted streams, mac invalid 2017-03-08 12:18:29 -05:00
John Jones
c343d2d0ad Fixed memory leak in secio 2017-03-08 05:53:59 -05:00
John Jones
0e0b6b1546 Many bug fixes for secio 2017-03-06 19:03:04 -05:00
John Jones
6d9473069b Many fixes around secio 2017-03-02 16:14:52 -05:00
John Jones
f1aaae0f17 Implementing a Stream interface in front of Multistream 2017-02-23 15:16:04 -05:00
John Jones
8139dc9d48 Added ping functionality to multistream 2017-02-23 11:15:48 -05:00
John Jones
466bfe3fa4 Beginnings of the dialer 2017-02-13 08:47:55 -05:00
John Jones
910c07e951 More changes to encryption negotiation 2017-02-09 12:50:28 -05:00
John Jones
e55f81490d More cleanup 2017-02-09 04:55:16 -05:00
John Jones
c1620d1d8b More progress on secio 2017-02-09 03:34:12 -05:00
John Jones
773c980f1f intermediate commit for handshake
Working on negotiations between GO and C version of IPFS
2017-02-08 22:51:35 -05:00
John Jones
be9f278ebf Beginning of testing of handshake 2017-02-08 12:32:41 -05:00
John Jones
e1a29128b6 secio handshake compiles, now testing 2017-02-08 11:08:05 -05:00
John Jones
030b2b197d Another intermediate save for ephemeral 2017-02-06 19:04:01 -05:00
John Jones
f9ba2f6c0f More adjustments for ephemeral encryption 2017-02-06 17:28:11 -05:00
John Jones
783855fe26 in the middle of ephemeral encryption implementation 2017-02-06 17:11:22 -05:00
John Jones
6d5f7410c6 added nonce and public key, preparing for cryptography negotiation 2017-02-02 19:27:50 -05:00
John Jones
5666a8a2ef Removed broken peer id methods
standardizing on the one in libp2p/crypto/key.c
2017-02-02 19:09:20 -05:00
John Jones
94566ade69 Now correctly generating the Peer ID from a public key 2017-02-02 18:27:57 -05:00
John Jones
6b24f06855 Multistream nearing completion 2017-02-02 15:43:35 -05:00
John Jones
d091a29b19 Added multistream protocol to communicate with GO version 2017-02-02 14:10:12 -05:00
John Jones
513b778561 Addition of more handshake code for connecting to other nodes 2017-02-01 12:14:52 -05:00
John Jones
6d9a9e0e70 Beginning of the buildout of secio 2017-02-01 07:52:09 -05:00