547 Commits

Author SHA1 Message Date
vyzo
0363ea8f53
Merge pull request #138 from libp2p/gx/update
gx publish 0.11.10
2018-12-27 12:02:04 +02:00
vyzo
f736644fe8 gx publish 0.11.10 gx/v0.11.10 2018-12-27 11:50:13 +02:00
vyzo
6fc7deb286
Merge pull request #134 from libp2p/gx/publish
gx publish 0.11.9
2018-12-14 09:31:07 +02:00
vyzo
6dbcf56dc6 gx publish 0.11.9 2018-12-14 09:26:29 +02:00
vyzo
a12c523316
Merge pull request #132 from libp2p/fix/peer-tracking
rework peer tracking logic to handle multiple connections
2018-12-14 00:47:45 +02:00
vyzo
6d2f8e649c discriminate stream errors from unsupported protocols 2018-12-14 00:33:30 +02:00
vyzo
f31593e883 prefill outoging channel with hello packet 2018-12-13 23:56:04 +02:00
vyzo
f82af595dc don't share the outgoing channel in new stream handlers from disconnects 2018-12-13 23:45:30 +02:00
vyzo
fc7795c38f simplify peer disconnect detection logic to ensure a single outgoing stream 2018-12-13 22:52:59 +02:00
vyzo
2621f893e6 rework peer tracking logic to handle multiple connections 2018-12-13 19:53:12 +02:00
Steven Allen
c7528f3c99 gx publish 0.11.8 2018-12-07 14:56:21 -08:00
Hannah Howard
c9c04d4207
Merge pull request #127 from libp2p/gx/update-kque0y
gx publish 0.11.7
2018-11-10 18:04:41 -08:00
hannahhoward
21ac0319ce gx publish 0.11.7 2018-11-10 17:51:19 -08:00
Steven Allen
9ea82d8d65 gx publish 0.11.6 2018-11-02 21:11:57 -07:00
Steven Allen
acdf53a8bc gx publish 0.11.5 2018-11-02 18:07:04 -07:00
Steven Allen
6310d23bc4 gx publish 0.11.4 2018-11-02 16:55:34 -07:00
Steven Allen
067e546891 gx publish 0.11.3 2018-10-29 06:32:25 -07:00
Steven Allen
ec18566a0a
Merge pull request #125 from libp2p/fix/announce-retry
fix announce retry logic
2018-10-29 06:30:45 -07:00
vyzo
86e65e589d don't stand on your head to take a pointer
the whole stack argument doesn't make much sense in golang; escape analysis
should allocate in heap.
2018-10-29 12:38:03 +02:00
vyzo
575cf339f4 fix announce retry logic 2018-10-29 11:10:31 +02:00
Steven Allen
5487d6138d gx publish 0.11.2 2018-10-26 05:56:32 -07:00
Steven Allen
a426c572ad
Merge pull request #123 from libp2p/feat/peer-tagging
gossipsub: tag mesh peers to discourage pruning their connections
2018-10-26 05:55:36 -07:00
vyzo
2478eb9a87 gossipsub: tag mesh peers to discourage pruning their connections 2018-10-26 15:49:34 +03:00
Steven Allen
e1cd22937e gx publish 0.11.1 2018-10-26 03:50:48 -07:00
vyzo
dbbae462a6
Merge pull request #122 from libp2p/fix/forbid-nonsensical-options
forbid sign strict without signing enabled
2018-10-26 12:45:55 +03:00
Steven Allen
017e522caa test nonsensical options 2018-10-25 16:57:00 -07:00
Steven Allen
7303abae4b forbid sign strict without signing enabled 2018-10-25 16:52:22 -07:00
Steven Allen
107b3bdc97 gx publish 0.11.0 2018-10-25 09:54:49 -07:00
vyzo
50ba3c2ae2
Merge pull request #121 from libp2p/feat/message-signing-options
rework message signing options
2018-10-25 19:39:42 +03:00
Steven Allen
5557880eed fix grammer in option comment 2018-10-25 09:33:57 -07:00
Steven Allen
b7b87f0235 ci: bump go to 1.11 2018-10-25 06:46:04 -07:00
Steven Allen
fba434025b rework message signing options
Previously, there was no non-breaking upgrade path to enable message signing by
default while still providing a way to disable it. This patch breaks the options
into:

1. WithMessageSigning - actually enable message signing.
2. WithStrictSignatureVerification - enforce strict signature verification.
3. WithMessageAuthor - set the message author (independent of signing).

Now, users can explicitly set all three options and any changes we make to the
defaults will never override these explicit settings.

This patch *also* enables *signing* by default but not strict signature
verification. We obviously can't enable verification by default yet but I see no
reason not to enable signing. Basically, we're either hurting performance or
security by default. Security issues are generally only noticed once it's too
late. Performance issues can be caught ahead of time.
2018-10-25 06:41:49 -07:00
Steven Allen
3d408775de gx publish 0.10.2 gx/v0.10.2 2018-10-24 14:58:20 -07:00
Steven Allen
b8825b7cd7 gx publish 0.10.1 gx/v0.10.1 2018-10-24 09:50:33 -07:00
Steven Allen
107d351038 gx publish 0.10.0 gx/v0.10.0 2018-10-18 21:10:50 +01:00
Steven Allen
bd1a4630b9 move to go-libp2p-pubsub
Updates for move from go-floodsub to go-libp2p-pubsub.

fixes https://github.com/libp2p/go-libp2p-pubsub/issues/4
2018-10-18 21:10:16 +01:00
James Ray
4e9a7a9b4d Update links, usage and implementations (#116)
* Update links, usage and implementations

* Remove gossipsub impl link
2018-10-18 11:28:09 +03:00
vyzo
d04842e15b
Merge pull request #114 from jamesray1/patch-4
Remove // topicID = hash(topicDescriptor); (not the topic.name)
2018-10-17 11:23:40 +03:00
James Ray
a456e56304
Remove // topicID = hash(topicDescriptor); (not the topic.name) 2018-10-17 10:57:59 +11:00
Steven Allen
05e4666176 gx: update go-libp2p-peer 2018-10-16 12:14:46 +01:00
vyzo
2318ce2a31
Merge pull request #113 from libp2p/fix/public-key-extraction
fix public key extraction for abnormal ExtractPublicKey semantics
2018-10-14 12:14:00 +03:00
vyzo
8a8966b4ab fix public key extraction for abnormal ExtractPublicKey semantics 2018-10-14 11:59:28 +03:00
vyzo
4eb6b7cada
Merge pull request #97 from libp2p/feat/signing
Implement message signing
2018-10-14 02:42:14 +03:00
vyzo
4dc796359e try to extract the key in order to decide whether to attach the key 2018-10-14 02:22:20 +03:00
vyzo
bd15183543 use the ID corresponding to signKey for published messages 2018-10-14 02:22:20 +03:00
vyzo
b353ddca06 more idiomatic message copying for signature purposes 2018-10-14 02:22:20 +03:00
vyzo
3788f504a5 strict mode for message signing 2018-10-14 02:22:20 +03:00
vyzo
9fa8f64fd3 prefix signed data with libp2p-pubsub: 2018-10-14 02:22:20 +03:00
vyzo
777c68fe0e reify key extraction logic, with more context in error messages 2018-10-14 02:22:20 +03:00
vyzo
4addc898c1 test floodsub with message signing 2018-10-14 02:22:20 +03:00