From 7b6cd7ad386b9302cbcbc5b4e916337f6ce9420b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 1 Jul 2015 23:00:46 +0100 Subject: [PATCH] Quotes --- src/freedombone-config | 4 ++++ src/freedombone-remote | 4 ++++ src/freedombone-splitkey | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/freedombone-config b/src/freedombone-config index 34dda83a..cc611114 100755 --- a/src/freedombone-config +++ b/src/freedombone-config @@ -87,6 +87,7 @@ MEDIAGOBLIN_DOMAIN_NAME= MEDIAGOBLIN_CODE= USB_DRIVE=/dev/sdb1 HWRNG_TYPE= +ENABLE_SOCIAL_KEY_MANAGEMENT= CONFIGURATION_FILE= @@ -222,6 +223,9 @@ function save_configuration_file { if [ $HWRNG_TYPE ]; then echo "HWRNG=$HWRNG" >> $CONFIGURATION_FILE fi + if [ $ENABLE_SOCIAL_KEY_MANAGEMENT ]; then + echo "ENABLE_SOCIAL_KEY_MANAGEMENT=$ENABLE_SOCIAL_KEY_MANAGEMENT" >> $CONFIGURATION_FILE + fi } # test a domain name to see if it's valid diff --git a/src/freedombone-remote b/src/freedombone-remote index ea7bd838..7a607967 100755 --- a/src/freedombone-remote +++ b/src/freedombone-remote @@ -153,6 +153,10 @@ function interactive_configuration_remote_backups { if [ -f $FRIENDS_SERVERS_LIST ]; then chown $MY_USERNAME:$MY_USERNAME $FRIENDS_SERVERS_LIST fi + + if [[ ${entering_remote_backups_ctr} > 3 ]]; then + + fi } function show_result { diff --git a/src/freedombone-splitkey b/src/freedombone-splitkey index 30cc11f8..e5f83e85 100755 --- a/src/freedombone-splitkey +++ b/src/freedombone-splitkey @@ -136,7 +136,7 @@ echo "$PASSPHRASE" | ssss-split -q -t $KEY_FRAGMENTS -n $KEY_FRAGMENTS > \ /home/$MY_USERNAME/.gnupg_fragments/shares.txt # (maybe) overwrite passphrase after use -PASSPHRASE=$(openssl rand -base64 64) +PASSPHRASE="$(openssl rand -base64 100)" # check that passphrase shares were created if [ ! -f /home/$MY_USERNAME/.gnupg_fragments/shares.txt ]; then