Skip to content

Commit

Permalink
[DDS-1993] Updated keys dir default file perms.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Aug 13, 2024
1 parent f4f941f commit 72a1ae0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions images/node/entrypoints/100-kms-decrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ warning() { echoerr "[WARNING] $*" ; }
error() { echoerr "[ERROR] $*" ; }
fatal() { echoerr "[FATAL] $*" ; exit 1 ; }

info "set umask to least permissive for SSH keys by default"
if [ -d "/app/keys" ]; then
umask 0177
fi

info "decrypting files"

encrypted_files=""
Expand Down

0 comments on commit 72a1ae0

Please sign in to comment.