Skip to content

Commit

Permalink
Merge pull request #778 from keep-network/enable-strict-message-verif…
Browse files Browse the repository at this point in the history
…ication

Enable pubsub strict message verification

When the strict message verification option is enabled in pubsub, peers
enforce message signing. Unsigned messages are immediately dropped. We
explicitly enable this as the package default is false.
  • Loading branch information
pdyraga authored May 3, 2019
2 parents f29e914 + d0c84db commit 89fcffe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/net/libp2p/channel_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func newChannelManager(
ctx,
p2phost,
pubsub.WithMessageSigning(true),
pubsub.WithStrictSignatureVerification(true),
)
if err != nil {
return nil, err
Expand Down

0 comments on commit 89fcffe

Please sign in to comment.