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
2018-10-24 14:58:20 -07:00
Steven Allen
b8825b7cd7
gx publish 0.10.1
2018-10-24 09:50:33 -07:00
Steven Allen
107d351038
gx publish 0.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
vyzo
cd32e1772e
use MatchesPublicKey, don't rewrite it.
2018-10-14 02:22:20 +03:00
vyzo
1ef82b2cee
test message signing
2018-10-14 02:22:20 +03:00
vyzo
60a06ce961
implement signMessage and verifyMessageSignature
2018-10-14 02:22:20 +03:00
vyzo
9d250aef37
option to enable message signing
2018-10-14 02:22:20 +03:00
vyzo
a6c349b6f0
sign messages when a signing key is present
2018-10-14 02:22:20 +03:00
vyzo
7c1012c247
optimize fast path for single topic validator
...
so that we don't do the goroutine dance for just a single validator, which ought to
be the most common case.
2018-10-14 02:22:20 +03:00
vyzo
7c508b4fba
implement validateSignature
2018-10-14 02:22:20 +03:00
vyzo
64aab3485a
scaffolding for signature validation
2018-10-14 02:22:20 +03:00
vyzo
d2f7a664d2
add signature and key fields to Message
2018-10-14 02:22:20 +03:00
Steven Allen
4986a90e6d
gx publish 0.9.36
2018-10-12 16:01:29 +01:00
vyzo
32a7d82b69
Merge pull request #111 from libp2p/feat/randomsub
...
randomsub implementation
2018-10-12 17:44:51 +03:00
vyzo
22a647b025
Merge pull request #112 from libp2p/fix/reset-bug
...
fix missing reset on write errors
2018-10-12 12:48:49 +03:00
vyzo
04cac3144e
gx publish 0.9.35
2018-10-12 12:39:58 +03:00