Added keepassx and backing up of password databases

This commit is contained in:
Kevin Veen-Birkenbach 2019-10-02 17:33:24 +02:00
parent 2feb802910
commit d2ced8118f
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ if [ -z "$(mount | grep "$DECRYPTED_PATH")" ]
echo "The decrypted folder $DECRYPTED_PATH is locked. You need to unlock it!" echo "The decrypted folder $DECRYPTED_PATH is locked. You need to unlock it!"
bash "$SCRIPT_PATH/unlock.sh" || exit 1; bash "$SCRIPT_PATH/unlock.sh" || exit 1;
fi fi
declare -a BACKUP_LIST=("$HOME/.ssh/" "$HOME/.gitconfig" "$HOME/.atom/config.cson" "$HOME/Documents/certificates/" "$HOME/Documents/recovery_codes/"); declare -a BACKUP_LIST=("$HOME/.ssh/" "$HOME/.gitconfig" "$HOME/.atom/config.cson" "$HOME/Documents/certificates/" "$HOME/Documents/recovery_codes/" "$HOME/Documents/passwords/");
for system_item_path in "${BACKUP_LIST[@]}"; for system_item_path in "${BACKUP_LIST[@]}";
do do
data_item_path="$DATA_PATH$system_item_path" data_item_path="$DATA_PATH$system_item_path"

View File

@ -12,7 +12,7 @@ sudo pacman --needed -S jdk11-openjdk python php
echo "Synchronizing administration tools..." echo "Synchronizing administration tools..."
sudo pacman --needed -S htop tree git base-devel yay make gcc cmake sudo pacman --needed -S htop tree git base-devel yay make gcc cmake
echo "Synchronizing security tools..." echo "Synchronizing security tools..."
sudo pacman --needed -S ecryptfs-utils encfs sudo pacman --needed -S ecryptfs-utils encfs keepassxc
echo "Setup SSH key" echo "Setup SSH key"
ssh_key_path="$HOME/.ssh/id_rsa" ssh_key_path="$HOME/.ssh/id_rsa"
if [ ! -f "$ssh_key_path" ]; then if [ ! -f "$ssh_key_path" ]; then