Skip to content

Commit

Permalink
getuto: honour http_proxy (pass --honor-http-proxy to gpg's dirmngr)
Browse files Browse the repository at this point in the history
Closes: #6
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Feb 8, 2024
1 parent 8b7cab5 commit 61c5c57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions getuto
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ if [[ ! -d ${GNUPGHOME} ]] ; then
mkdir -p "${GNUPGHOME}"
chmod u=rwx,go=rx "${GNUPGHOME}"

cat > "${GNUPGHOME}"/dirmngr.conf <<-EOF
--honor-http-proxy
EOF

# Generate a local ultimate trust anchor key.
PASS="$(openssl rand -base64 32)"

Expand Down

0 comments on commit 61c5c57

Please sign in to comment.