maybe. hopefully.
This commit is contained in:
Jacob Heider 2023-11-20 17:52:56 -05:00
parent f52badaf80
commit 3572a04c7f
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6
2 changed files with 0 additions and 3 deletions

View file

@ -5,7 +5,6 @@ etc="$d/../etc/gnupg"
export GNUPGHOME="${GNUPGHOME:-"$etc"}" export GNUPGHOME="${GNUPGHOME:-"$etc"}"
if [ ! -f "$etc/gpg.conf" ]; then
mkdir -p "$etc" mkdir -p "$etc"
chmod 700 "$etc" chmod 700 "$etc"
cat << EOF > "$etc"/gpg.conf cat << EOF > "$etc"/gpg.conf
@ -13,6 +12,5 @@ use-agent
pinentry-mode loopback pinentry-mode loopback
agent-program $d/gpg-agent agent-program $d/gpg-agent
EOF EOF
fi
exec "$d"/gpg-exec "$@" exec "$d"/gpg-exec "$@"

View file

@ -44,7 +44,6 @@ build:
- run: | - run: |
mkdir -p var/run etc/gnupg mkdir -p var/run etc/gnupg
chmod 700 etc/gnupg chmod 700 etc/gnupg
rm -f etc/gnupg/gpg.conf
working-directory: '{{prefix}}' working-directory: '{{prefix}}'
- run: | - run: |
mv ./gpg ./gpg-exec mv ./gpg ./gpg-exec