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