From e89022bc15b0df70c6ceda807eb355745e70d20f Mon Sep 17 00:00:00 2001 From: TangoBravo14 Date: Sat, 21 Sep 2019 14:08:27 -0700 Subject: [PATCH] Added GNU Privacy Assist --- AmRRON-Setup-Script.sh | 18 +++++++++++++++--- changelogs/CHANGELOG-Setup-Script.md | 3 +++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index 5437078..28b8f53 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -1,7 +1,7 @@ #!/bin/bash ################################################################################ ################################################################################ -######################## AmRRON Setup Script v0.5.8 ######################## +######################## AmRRON Setup Script v0.5.9 ######################## ######################## Created by TB-14 ######################## ######################## 21 SEP 2019 ######################## ################################################################################ @@ -297,7 +297,11 @@ else fi - +if hash gpa 2>/dev/null; then + GPAVER="INSTALLED" +else + GPAVER="NOT INSTALLED" +fi } @@ -2290,6 +2294,10 @@ function gtkhash_install() { sudo apt-get install -y gtkhash } +function gpa_install() { +sudo apt-get install -y gpa +} + function harden_ssh() { if [[ ! -f $HOME/.ssh/authorized_keys ]]; then mkdir -p $HOME/.ssh/ && touch $HOME/.ssh/authorized_keys || @@ -2823,6 +2831,7 @@ yad --image=/tmp/banner.png --center --checklist --print-column=2 --separator="" false "ICEWEASEL" "Firefox secure browser" "${ICEWEASELVER}" \ false "PFE" "Paranoia Tools File Encrypter. Encrypt/Decrypt messages and perform Steganography" "${PTEVER}" \ false "GTKHASH" "GTK based file hash tool" "${GTKHASHVER}" \ + false "GPA" "GNU Privacy Assist Key Manager" "${GPAVER}" \ false "VERACRYPT" "Disk/File Encryption. $NEWVC available for Linux. 1.21 available for Raspberry Pi at this time." "" \ false "BITMESSAGE" "Bitmessage secure decentralized email" "" \ false "HARDEN_SSH" "Change folder permissions and provide SSH tips document." "" \ @@ -2834,7 +2843,7 @@ yad --image=/tmp/banner.png --center --checklist --print-column=2 --separator="" rc=$? if [[ $rc == 2 ]]; then - securityArray=(FAIL2BAN KEEPASS ICEWEASEL PFE VERACRYPT BITMESSAGE HARDEN_SSH GTKHASH) + securityArray=(FAIL2BAN KEEPASS ICEWEASEL PFE VERACRYPT BITMESSAGE HARDEN_SSH GTKHASH GPA) for i in "${securityArray[@]}" do @@ -3298,6 +3307,9 @@ cat /tmp/results | yad --text-info --center \ GTKHASH) echo "Installing GTK Hash" gtkhash_install ;; + GPA) echo "Installing GNU Privacy Assist" + gpa_install + ;; HARDEN_SSH) echo "Hardening SSH and creating guide at $HOME/Documents" harden_ssh ;; diff --git a/changelogs/CHANGELOG-Setup-Script.md b/changelogs/CHANGELOG-Setup-Script.md index c872d1b..0133a67 100644 --- a/changelogs/CHANGELOG-Setup-Script.md +++ b/changelogs/CHANGELOG-Setup-Script.md @@ -1,3 +1,6 @@ +# Version 0.5.9 + - Added Security Tools - GNU Privacy Assist + # Version 0.5.8 - Added Security Tools - GTK Hash