mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
Added GNU Privacy Assist
This commit is contained in:
+15
-3
@@ -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
|
||||
;;
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# Version 0.5.9
|
||||
- Added Security Tools - GNU Privacy Assist
|
||||
|
||||
# Version 0.5.8
|
||||
- Added Security Tools - GTK Hash
|
||||
|
||||
|
||||
Reference in New Issue
Block a user