From b8e7a3a9fcf464843fde429ff44d04e7c5db7749 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 4 Jun 2022 18:43:54 -0500 Subject: [PATCH] Create add-linux-pass.sh --- add-linux-pass.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 add-linux-pass.sh diff --git a/add-linux-pass.sh b/add-linux-pass.sh new file mode 100755 index 0000000..7c50292 --- /dev/null +++ b/add-linux-pass.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)" +source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)" + + +echo "" +echo -e "${idsCL[LightGreen]}Adding Linux Pass Sync${idsCL[Default]}" +echo "" + +apt -y install pass git curl + +git clone https://git.schroedercity.com/voltron/ids-linux-pass.git ~/.password-store +chmod -R 600 /root/.password-store + +echo -e "${idsCL[LightCyan]}You'll need to enter the password for the git account:${idsCL[Default]}" +curl -u 'voltron' -L -o /tmp/secret.gpg https://git.schroedercity.com/voltron/private/raw/branch/master/secret.gpg +gpg --import /tmp/secret.gpg +rm -f /tmp/secret.gpg + + +exit 0 \ No newline at end of file