Skip to content

Commit

Permalink
getuto: set default timeouts for dirmngr
Browse files Browse the repository at this point in the history
Set resolver-timeout and connect-timeout to 180 seconds (3 minutes),
as we do in gemato (see commit a098d83e92fa807d95ee160b1506c4561b28eb2b).

That said, gpg already has defaults for these, so this isn't enough, but
it makes behaviour consistent and also obvious how to change it for users.

Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jun 21, 2024
1 parent d2c5ffa commit 59a86cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions getuto
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ if [[ ! -d ${GNUPGHOME} ]] ; then
cat > "${GNUPGHOME}"/dirmngr.conf <<-EOF
honor-http-proxy
no-use-tor
resolver-timeout 180
connect-timeout 180
EOF

cat > "${GNUPGHOME}"/gpg-agent.conf <<-EOF
Expand Down

0 comments on commit 59a86cb

Please sign in to comment.