From 2f18dec9a31bd14c023e42059679a9216200770d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 12 Aug 2016 10:18:28 +0100 Subject: [PATCH] ipfs key length --- src/freedombone-app-ipfs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/freedombone-app-ipfs b/src/freedombone-app-ipfs index ee880c7b..b6975926 100755 --- a/src/freedombone-app-ipfs +++ b/src/freedombone-app-ipfs @@ -36,6 +36,7 @@ IPFS_PORT=4001 IPFS_NODE_VERSION='6.2.2' IPFS_JS_VERSION='0.14.3' IPFS_JS_RONIN_VERSION='0.3.11' +IPFS_KEY_LENGTH=2048 function reconfigure_ipfs { echo -n '' @@ -221,7 +222,7 @@ function install_ipfs_js { fi # initialise - su -c "$IPFS_PATH/jsipfs init -b 4096" - $MY_USERNAME + su -c "$IPFS_PATH/jsipfs init -b $IPFS_KEY_LENGTH" - $MY_USERNAME if [ ! -d /home/$MY_USERNAME/.ipfs ]; then echo "IPFS could not be initialised for user $MY_USERNAME" exit 7358