diff --git a/cmd/seccat/seccat.go b/cmd/seccat/seccat.go index 22f7e00f6..7821ecb6c 100644 --- a/cmd/seccat/seccat.go +++ b/cmd/seccat/seccat.go @@ -113,8 +113,8 @@ func main() { } func setupPeer(a args) (peer.ID, pstore.Peerstore, error) { - if a.keybits < 1024 { - return "", nil, errors.New("bitsize less than 1024 is considered unsafe") + if a.keybits < 2048 { + return "", nil, errors.New("bitsize less than 2048 is considered unsafe") } out("generating key pair...") diff --git a/go.mod b/go.mod index 75c3479fb..6b2015bab 100644 --- a/go.mod +++ b/go.mod @@ -109,7 +109,6 @@ require ( go4.org v0.0.0-20190313082347-94abd6928b1d // indirect golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 // indirect - google.golang.org/appengine v1.4.0 // indirect gopkg.in/cheggaaa/pb.v1 v1.0.28 gotest.tools/gotestsum v0.3.4 ) diff --git a/test/3nodetest/bootstrap/Dockerfile b/test/3nodetest/bootstrap/Dockerfile index 3fd42f567..ed8ac9ffa 100644 --- a/test/3nodetest/bootstrap/Dockerfile +++ b/test/3nodetest/bootstrap/Dockerfile @@ -1,6 +1,6 @@ FROM zaqwsx_ipfs-test-img -RUN ipfs init -b=1024 +RUN ipfs init -b=2048 ADD . /tmp/id RUN mv -f /tmp/id/config /root/.ipfs/config RUN ipfs id diff --git a/test/3nodetest/client/Dockerfile b/test/3nodetest/client/Dockerfile index c2ac8d725..d4e1ffa36 100644 --- a/test/3nodetest/client/Dockerfile +++ b/test/3nodetest/client/Dockerfile @@ -1,6 +1,6 @@ FROM zaqwsx_ipfs-test-img -RUN ipfs init -b=1024 +RUN ipfs init -b=2048 ADD . /tmp/id RUN mv -f /tmp/id/config /root/.ipfs/config RUN ipfs id diff --git a/test/3nodetest/server/Dockerfile b/test/3nodetest/server/Dockerfile index bced68354..935d2e1b0 100644 --- a/test/3nodetest/server/Dockerfile +++ b/test/3nodetest/server/Dockerfile @@ -1,6 +1,6 @@ FROM zaqwsx_ipfs-test-img -RUN ipfs init -b=1024 +RUN ipfs init -b=2048 ADD . /tmp/test RUN mv -f /tmp/test/config /root/.ipfs/config RUN ipfs id