From d2ced8118f0b334ea8e1976e7986af1420f27a97 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Wed, 2 Oct 2019 17:33:24 +0200 Subject: [PATCH] Added keepassx and backing up of password databases --- scripts/import-data-from-system.sh | 2 +- scripts/system-setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/import-data-from-system.sh b/scripts/import-data-from-system.sh index 54e9df1..3be9f37 100644 --- a/scripts/import-data-from-system.sh +++ b/scripts/import-data-from-system.sh @@ -12,7 +12,7 @@ if [ -z "$(mount | grep "$DECRYPTED_PATH")" ] echo "The decrypted folder $DECRYPTED_PATH is locked. You need to unlock it!" bash "$SCRIPT_PATH/unlock.sh" || exit 1; 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[@]}"; do data_item_path="$DATA_PATH$system_item_path" diff --git a/scripts/system-setup.sh b/scripts/system-setup.sh index 70eda86..1eef3a2 100644 --- a/scripts/system-setup.sh +++ b/scripts/system-setup.sh @@ -12,7 +12,7 @@ sudo pacman --needed -S jdk11-openjdk python php echo "Synchronizing administration tools..." sudo pacman --needed -S htop tree git base-devel yay make gcc cmake echo "Synchronizing security tools..." -sudo pacman --needed -S ecryptfs-utils encfs +sudo pacman --needed -S ecryptfs-utils encfs keepassxc echo "Setup SSH key" ssh_key_path="$HOME/.ssh/id_rsa" if [ ! -f "$ssh_key_path" ]; then