Skip to content

Commit

Permalink
fix: temporary lower minimum RSA key length to allows bootstrap to work
Browse files Browse the repository at this point in the history
  • Loading branch information
aeddi committed Dec 1, 2019
1 parent 4304e27 commit 9196d8b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions go/bind/ipfs/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ import (
libp2p_peer "github.com/libp2p/go-libp2p-core/peer"
)

func init() {
// Temporary workaround that allows gomobile-ipfs to connect to bootstrap nodes
// See: https://github.com/ipfs/infra/issues/378
libp2p_ci.MinRsaKeyBits = 1024
}

func initConfig(out io.Writer, nBitsForKeypair int) (*ipfs_config.Config, error) {
identity, err := identityConfig(out, nBitsForKeypair)
if err != nil {
Expand Down

0 comments on commit 9196d8b

Please sign in to comment.