Quotes
This commit is contained in:
parent
fbbb8fd691
commit
7b6cd7ad38
|
@ -87,6 +87,7 @@ MEDIAGOBLIN_DOMAIN_NAME=
|
||||||
MEDIAGOBLIN_CODE=
|
MEDIAGOBLIN_CODE=
|
||||||
USB_DRIVE=/dev/sdb1
|
USB_DRIVE=/dev/sdb1
|
||||||
HWRNG_TYPE=
|
HWRNG_TYPE=
|
||||||
|
ENABLE_SOCIAL_KEY_MANAGEMENT=
|
||||||
|
|
||||||
CONFIGURATION_FILE=
|
CONFIGURATION_FILE=
|
||||||
|
|
||||||
|
@ -222,6 +223,9 @@ function save_configuration_file {
|
||||||
if [ $HWRNG_TYPE ]; then
|
if [ $HWRNG_TYPE ]; then
|
||||||
echo "HWRNG=$HWRNG" >> $CONFIGURATION_FILE
|
echo "HWRNG=$HWRNG" >> $CONFIGURATION_FILE
|
||||||
fi
|
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
|
# test a domain name to see if it's valid
|
||||||
|
|
|
@ -153,6 +153,10 @@ function interactive_configuration_remote_backups {
|
||||||
if [ -f $FRIENDS_SERVERS_LIST ]; then
|
if [ -f $FRIENDS_SERVERS_LIST ]; then
|
||||||
chown $MY_USERNAME:$MY_USERNAME $FRIENDS_SERVERS_LIST
|
chown $MY_USERNAME:$MY_USERNAME $FRIENDS_SERVERS_LIST
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ ${entering_remote_backups_ctr} > 3 ]]; then
|
||||||
|
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function show_result {
|
function show_result {
|
||||||
|
|
|
@ -136,7 +136,7 @@ echo "$PASSPHRASE" | ssss-split -q -t $KEY_FRAGMENTS -n $KEY_FRAGMENTS > \
|
||||||
/home/$MY_USERNAME/.gnupg_fragments/shares.txt
|
/home/$MY_USERNAME/.gnupg_fragments/shares.txt
|
||||||
|
|
||||||
# (maybe) overwrite passphrase after use
|
# (maybe) overwrite passphrase after use
|
||||||
PASSPHRASE=$(openssl rand -base64 64)
|
PASSPHRASE="$(openssl rand -base64 100)"
|
||||||
|
|
||||||
# check that passphrase shares were created
|
# check that passphrase shares were created
|
||||||
if [ ! -f /home/$MY_USERNAME/.gnupg_fragments/shares.txt ]; then
|
if [ ! -f /home/$MY_USERNAME/.gnupg_fragments/shares.txt ]; then
|
||||||
|
|
Loading…
Reference in New Issue