Commit graph

243 commits

Author SHA1 Message Date
John Jones
a6fe0fda47 changed encryption to aes 256 for time being 2017-03-09 08:41:59 -05:00
018923ad09 Implemented kademlia announce and search. 2017-03-09 09:43:24 -03: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
e092a0e974 Switched to ephemeral DH 2017-03-08 07:23:32 -05:00
John Jones
f182fb8857 Merge branch 'master' of https://github.com/kenCode-de/c-libp2p 2017-03-08 05:54:14 -05:00
John Jones
c343d2d0ad Fixed memory leak in secio 2017-03-08 05:53:59 -05:00
1b5b7c7cba hashe array type changed to avoid signedness difference warning. 2017-03-07 02:40:51 -03:00
0ffe73ae28 Implemented stop_kademlia. 2017-03-07 02:38:36 -03:00
John Jones
95d2a06855 Merge branch 'master' of https://github.com/kenCode-de/c-libp2p 2017-03-06 19:03:26 -05:00
John Jones
0e0b6b1546 Many bug fixes for secio 2017-03-06 19:03:04 -05:00
386fe24f70 Implemented kademlia thread. 2017-03-02 23:40:25 -03:00
John Jones
6d9473069b Many fixes around secio 2017-03-02 16:14:52 -05:00
John Jones
c5fa775534 Starting to handle get_value request 2017-02-27 12:27:14 -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
e4a4226f5d small change in error handling 2017-02-22 11:48:14 -05:00
John Jones
ddb1274596 Buildout of structures for node communication 2017-02-22 10:55:39 -05:00
John Jones
9f0ee0cdb9 Added peerstore and additional tests 2017-02-20 18:53:20 -05:00
John Jones
4555cdfdf1 Fixed bugs around libp2p_message 2017-02-20 09:31:59 -05:00
John Jones
7f00ce69fe Added test for record peer and fixes 2017-02-20 08:19:22 -05:00
John Jones
cd27026cb5 Fixed bugs around record protobuf 2017-02-20 07:08:53 -05:00
John Jones
0a8f4767de Implementation of protobuf for records, peers, and messages 2017-02-17 00:30:41 -05:00
John Jones
029e3d800f Implementation of peer protobuf 2017-02-16 23:13:16 -05:00
John Jones
28961aa592 Almost right return value is not good. Oops. 2017-02-16 21:00:51 -05:00
John Jones
d985919f41 Fixed small bug in return value of record protobuf 2017-02-16 20:59:59 -05:00
John Jones
897d257b3b Record Protobuf 2017-02-16 20:42:10 -05:00
John Jones
3aa0d89cb3 Merge branch 'master' of https://github.com/kenCode-de/c-libp2p 2017-02-16 18:49:33 -05:00
John Jones
c29c5744b8 Beginnings of the Record protobuf and more changes to dialer 2017-02-16 18:49:17 -05:00
35a9b4b73e routing/kademlia, using sha256 instead of sha1. 2017-02-16 19:10:50 -03:00
John Jones
ccc7ca3e8b More dialer changes, starting to implement default dialer 2017-02-15 12:04:10 -05:00
John Jones
5c08094548 More dialer code 2017-02-13 17:41:31 -05:00
John Jones
81263fc1a2 Beginnings of dialers and connections 2017-02-13 13:26:41 -05:00
John Jones
7b218a620a Removal of old implementation of multihash 2017-02-13 08:49:02 -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
29e1a0c31b Addition of exchange struct (will be used later) 2017-02-01 12:15:56 -05:00