From ec75c954eb06f4a8365b879119a7851f548cb7fe Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Wed, 19 Mar 2025 09:05:56 +0000 Subject: [PATCH] Adjust permissions for SSH directory and files --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index a11e29b6..610ec007 100755 --- a/install.sh +++ b/install.sh @@ -152,12 +152,14 @@ if [ "$USER" = "trude" ]; then # Clone password-store if [ ! -f "$HOME/.ssh/id_ed25519" ] || [ ! -f "$HOME/.ssh/id_ed25519.pub" ]; then - printf "${RED}ED25519 key not found. Please add your ED25519 key pair for password-store.${NC}\n" + printf "${RED}ED25519 key not found in ${CYAN}$HOME/.ssh/id_ed25519. ${RED}Please add your ED25519 key pair for password-store.${NC}\n" elif ! gpg --list-keys "ehtrude@gmail.com" >/dev/null 2>&1; then printf "${RED}GPG key for ehtrude@gmail.com not found. Please import the key for password-store.${NC}\n" else if [ ! -d "$HOME/.password-store" ]; then printf "${YELLOW}Cloning password-store...${NC}\n" + chmod 700 ~/.ssh + chmod 600 ~/.ssh/* git clone git@github.com:TrudeEH/password-store.git "$HOME/.password-store" if [ $? -ne 0 ]; then printf "${RED}Error cloning password-store.${NC}\n"