Skip to content
Snippets Groups Projects
Commit 7b6cd7ad authored by Bob Mottram's avatar Bob Mottram
Browse files

Quotes

parent fbbb8fd6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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 {
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment