diff options
Diffstat (limited to 'satellit_installer/includes/65-gpg.inc')
-rw-r--r-- | satellit_installer/includes/65-gpg.inc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/satellit_installer/includes/65-gpg.inc b/satellit_installer/includes/65-gpg.inc deleted file mode 100644 index 95f51b5..0000000 --- a/satellit_installer/includes/65-gpg.inc +++ /dev/null @@ -1,13 +0,0 @@ - -import_gpg () { - # Install trust for all users - this is dumb but gpg wants to WRITE tp that directory, so - # we can't just use a public dir owned by root with 0755 permissions (which would be OK security-wise, - # as we never sign anything but just want to verify) - local PWUSER - local KEY="/tmp/bwlp-blubbediblubb.asc" - cp "${BASEDIR}/static_files/gpg-key.asc" "$KEY" - chmod 0444 "$KEY" - for PWUSER in taskmanager root; do - sudo -u "$PWUSER" gpg --import "$KEY" || perror "Could not import gpg key for $PWUSER" - done -} |