cheatfate
b185ad79f8
Add PeerID test vectors.
2019-03-06 03:48:22 +02:00
cheatfate
39129d0ec1
Add base64 and tests for it.
...
Adopt multibase to be able to use base64.
Fix base32 typos.
2019-03-06 02:36:09 +02:00
cheatfate
d7a7f8102d
Change PeerID type from distinct type.
...
Fix MultiAddress compilation error.
Fix chat example.
2019-03-05 22:28:46 +02:00
cheatfate
a96718cf9e
Add PeerID support to multiaddress.
...
Change some PeerID api.
Some fixes to chat.
2019-03-05 14:09:26 +02:00
cheatfate
215c6c4257
Add SHA-1 support to multihash.nim, enabled tests for it.
2019-03-05 11:49:59 +02:00
cheatfate
68f3f506f3
Fix multihash dependency.
2019-03-05 02:04:45 +02:00
cheatfate
046c693e3a
Merge branch 'master' of github.com:status-im/nim-libp2p into peer
2019-03-05 01:57:33 +02:00
cheatfate
d7d9d7bd40
Fix daemonapi and examples.
2019-03-05 01:57:18 +02:00
Eugene Kabanov
582e52fc5c
Merge pull request #11 from status-im/protobuf-bugfix
...
Bugfix: Protobuf length prefix was assumed to be 1 byte
2019-03-05 01:43:55 +02:00
cheatfate
77f34af737
Fix testdaemon.nim.
2019-03-04 20:51:10 +02:00
cheatfate
53467d028f
Fix examples for new PeerID.
2019-03-04 20:28:59 +02:00
Zahary Karadjov
db64bd100e
Bugfix: Protobuf length prefix was assumed to be 1 byte
...
The error in the code was that the `vsizeof(n)` was called
with a dummy zeroed variable, instead of the proper size of
the buffer. This resulted in an assertion failure when the
prefix length needs to be stored in more than 1 byte.
2019-03-04 20:26:46 +02:00
cheatfate
1e6c8b2171
Fix examples.
...
Add peer.nim.
Switch daemonapi to use PeerID from peer.nim.
2019-03-04 20:22:38 +02:00
cheatfate
e6c424618d
Add nimcrypto 0.3.9 dependency.
2019-03-02 21:20:30 +02:00
cheatfate
b235c84bb2
Add key interface with test vectors.
2019-03-02 21:19:41 +02:00
cheatfate
14686714c0
Add raw init functions for ecnist.nim
...
Add ECDHE helpers for ecnist.nim
Add test vectors for ECDHE.
2019-03-01 08:34:52 +02:00
cheatfate
411d9f0b9c
Fix protobuf's do not check error value.
2019-02-28 22:29:03 +02:00
cheatfate
5e6d740ee7
Cleanup.
2019-02-28 18:17:24 +02:00
cheatfate
2a2e378ced
Fix checkScalar in ecnist.
...
Add ed25519 and tests.
Add some comments.
2019-02-28 14:17:39 +02:00
cheatfate
cb334cc8ab
Fix inline documentation.
2019-02-25 20:03:52 +02:00
cheatfate
c5a5c50ca1
Temporary remove nim-secp256k1 dependency.
2019-02-25 16:08:36 +02:00
cheatfate
39fb9ed2de
Fix fail verification tests.
2019-02-25 11:06:50 +02:00
cheatfate
887795bbd2
Final RSA changes.
...
Add RSA tests and test vectors.
2019-02-24 02:07:13 +02:00
cheatfate
1aaf4797c9
Finish EC NIST curves implementation.
...
Add EC NIST curves tests and test vectors.
2019-02-22 13:32:15 +02:00
cheatfate
f67a7a2a3e
Add minimal ASN.1 encoding/decoding primitives.
...
Add ASN.1 DER serialization for EC NIST curves.
2019-02-21 06:10:21 +02:00
cheatfate
467d8e1db6
Add BearSSL submodule
...
Fix common.nim path to BearSSL submodule.
2019-02-20 00:24:43 +02:00
cheatfate
52f88dbd1e
Initial commit, not ready yet.
2019-02-20 00:11:59 +02:00
cheatfate
f37c6b1fe1
Last rename of asyncdispatch2 -> chronos.
2019-02-14 03:38:21 +02:00
cheatfate
64d9895f25
Fix tests rename asyncdispatch -> chronos.
2019-02-14 03:32:29 +02:00
cheatfate
ab274f0bdc
Rename asyncdispatch2 -> chronos.
2019-02-14 03:15:48 +02:00
cheatfate
908b5539ea
Force brew to update itself.
2019-01-10 02:56:18 +02:00
cheatfate
c08c187e62
Force Travis to install Go from brew.
2019-01-10 02:51:17 +02:00
cheatfate
c3d75f9116
Move CI to xenial.
2019-01-10 02:40:32 +02:00
cheatfate
f862981986
Temporarily disable MacOS testing because it missing Go 1.11.x.
2019-01-10 02:33:14 +02:00
cheatfate
bcce49958f
Attempt to fix MacOS CI 3.
2019-01-10 02:13:34 +02:00
cheatfate
06f9376a59
Attempt to fix MacOS CI 2.
2019-01-10 02:01:53 +02:00
cheatfate
8409c0c7bb
Attempt to fix MacOS CI.
2019-01-10 01:37:54 +02:00
cheatfate
70bdf624be
Merge branch 'master' of github.com:status-im/nim-libp2p
2019-01-09 19:12:48 +02:00
cheatfate
7593d4d970
Fix unix path multiaddress serialization/deserialization.
...
Add tests for unix path multiaddress.
Add wire.nim.
Fix latest breaking changes from go-libp2p-daemon.
2019-01-09 19:12:15 +02:00
Bruno Škvorc
44afa51792
Update README.md
2019-01-02 15:05:50 +01:00
cheatfate
7e2d3e213f
Add isWire() procedure for MultiAddress.
2018-12-29 14:44:27 +02:00
cheatfate
e9785bb509
Make unix socket name generation more reliable (depending on process id).
...
Add examples of bootstrap node and gossipsub node.
2018-12-18 16:31:58 +02:00
cheatfate
79fbd74acd
Remove debug echo.
2018-12-18 05:19:11 +02:00
cheatfate
4ba727b768
Add NAT-PMP support.
2018-12-17 22:39:25 +02:00
Eugene Kabanov
f9a807af53
Merge pull request #1 from status-im/chat
...
[WIP] Do not merge! Chat and further improvements.
2018-12-16 15:56:04 +02:00
cheatfate
bf2737525d
Fix cid with proper CIDv1 code.
...
Fix daemonapi to use proper Cid type.
Make daemonapi cid test more complex.
2018-12-16 15:51:12 +02:00
cheatfate
d96756f6e3
Add missed file.
2018-12-16 04:55:20 +02:00
cheatfate
bd7c4d646f
Initial CID implementation.
2018-12-16 04:55:02 +02:00
cheatfate
38f82df582
Add write() and encode() procedures.
2018-12-16 04:54:07 +02:00
cheatfate
8b00514dd7
Fix compilation error.
2018-12-14 12:28:22 +02:00