Commit graph

155 commits

Author SHA1 Message Date
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
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
ken Code
f54eab6824 Update LICENSE 2017-01-31 17:09:40 +01:00
0ca303bb1c Added crypto/sha1 needed by routing/kademlia 2017-01-26 23:57:52 -03:00
f2031179a9 Changed record buffer size. 2017-01-26 23:55:46 -03:00
6a30c46492 Initial implementation of routing/kademlia 2017-01-26 23:53:40 -03:00
ee6049804a Using crypto rsa to sign protobuf message in the record. 2017-01-26 23:41:03 -03:00
John Jones
d13a47d7d5 Fixed possible memory leak in signature routine 2017-01-23 12:07:48 -05:00
John Jones
8bdc9332d4 Merge branch 'master' of https://github.com/kenCode-de/c-libp2p 2017-01-23 11:31:43 -05:00
John Jones
d3cfece252 Added sha512 encoding 2017-01-23 11:31:24 -05:00
jmjatlanta
21f8d45279 Small adjustment to clarify a comment 2017-01-20 04:53:55 -05:00
jmjatlanta
2aa3b88d63 Merge branch 'master' of https://github.com/kenCode-de/c-libp2p 2017-01-20 04:49:55 -05:00
jmjatlanta
9a7c494436 Added method to rsa sign a message, using pkcs 1.15 2017-01-20 04:49:38 -05:00
e3fc5f6409 Fixed record pointer, should be pointer of pointer so can return allocated memory. 2017-01-19 21:31:46 -03:00
3b301f823a Initial implementation of record/record 2017-01-19 20:45:24 -03:00
jmjatlanta
7e7a4e0712 clarifying var names, testing base58 and multihash 2016-12-15 12:39:30 -05:00
jmjatlanta
2ec3886276 Minor touches to remove compiler warnings 2016-12-14 06:24:24 -05:00
jmjatlanta
749f4d693e Removal of incorrect copyright notice 2016-12-05 07:13:27 -05:00
John Jones
6cb4e3a04e Fixed memory leaks 2016-12-01 13:05:14 -05:00
John Jones
a2daf88b26 Fixed base32 encoding 2016-11-28 16:12:11 -05:00
John Jones
927933a20f Addition of base32 encoding 2016-11-28 12:58:51 -05:00
John Jones
4356e1b371 added Eclipse project files 2016-11-17 16:34:35 -05:00
John Jones
2fcb7c1d8c Code cleanup
Standardized function naming, and added more consistent methods to
prevent memory allocation errors.
2016-11-17 15:06:53 -05:00
John Jones
9b55d84d95 adjustment to use other sha256 code 2016-11-15 21:19:18 -05:00
John Jones
93dc4d558f Adjustments for private key and peer id 2016-11-14 17:58:55 -05:00
xethyrion
4818ac8567 Peer Thing you wanted john
Sha256 here too!
2016-11-14 19:08:46 +02:00
John Jones
d3d0b72506 Merge branch 'master' of https://github.com/kenCode-de/c-libp2p 2016-11-13 20:58:11 -05:00
John Jones
4222316a1a Added base16 encoding/decoding, as well as a wrapper around SHA256 2016-11-13 20:55:11 -05:00
a43b8ec736 Added libp2p-net TODO. 2016-11-10 22:39:11 -03:00
2b55ebfeb4 Implemented initial UDP socket. 2016-11-10 19:43:31 -03:00
648982793c Implemented SCTP stream socket. 2016-11-10 19:40:27 -03:00
7a053b3b69 Split code and renamed socket.h to p2pnet.h 2016-11-10 19:36:42 -03:00
b75dda23d7 Added net directory to initial implementation of c-libp2p-network. 2016-11-10 19:31:55 -03:00
John Jones
9222925d49 updated tests a bit 2016-11-10 16:34:19 -05:00
John Jones
fc6d9b9797 More cleanup 2016-11-10 12:04:48 -05:00
John Jones
68f2c436e3 Added debug setting to Makefiles, tweaks to get private key saved in
config file
2016-11-10 08:08:22 -05:00
John Jones
e0714cc76d base58 and x509 certificate testing 2016-11-09 11:22:25 -05:00
John Jones
6f3be52801 Adjusted makefiles 2016-11-07 16:34:08 -05:00