From acfc2c06a5abed6dd6952a37f541d790153bbcec Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 25 Oct 2018 10:15:54 -0700 Subject: [PATCH 1/2] add pubsub message signing options to config --- pubsub.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pubsub.go b/pubsub.go index da25b0f..94e03e2 100644 --- a/pubsub.go +++ b/pubsub.go @@ -1,5 +1,18 @@ package config type PubsubConfig struct { + // Router can be either floodsub (legacy) or gossipsub (new and + // backwards compatible). Router string + + // DisableSigning disables message signing. Message signing is *enabled* + // by default. + DisableSigning bool + + // StrictSignatureVerification enables strict signature verification. + // When enabled, unsigned messages will be rejected. Eventually, this + // will be made the default and this option will disappear. Once this + // happens, networks will either need to completely disable or + // completely enable message signing. + StrictSignatureVerification bool } From 4209ad7560279f72b6e7a836197eab58c4fa2902 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 25 Oct 2018 10:46:25 -0700 Subject: [PATCH 2/2] gx publish 0.2.16 --- .gx/lastpubver | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gx/lastpubver b/.gx/lastpubver index 2e54b10..a2e4a75 100644 --- a/.gx/lastpubver +++ b/.gx/lastpubver @@ -1 +1 @@ -0.2.15: QmNUhkTWN7iynJZTj1RcTsQDSRGGkh87zMo9ELypxhY8Y6 +0.2.16: QmPEpj17FDRpc7K1aArKZp3RsHtzRMKykeK9GVgn4WQGPR diff --git a/package.json b/package.json index 9ae6f7d..af09916 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,6 @@ "license": "", "name": "go-ipfs-config", "releaseCmd": "git commit -a -m \"gx publish $VERSION\"", - "version": "0.2.15" + "version": "0.2.16" }