Skip to content

Commit

Permalink
increase gpg timeout value for in-toto
Browse files Browse the repository at this point in the history
  • Loading branch information
trishankatdatadog committed Nov 19, 2018
1 parent b1409b0 commit 2b1e794
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions datadog_checks_dev/datadog_checks/dev/tooling/signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
# Licensed under a 3-clause BSD style license (see LICENSE)
import shutil

# NOTE: Set one minute for any GPG subprocess to timeout in in-toto. Should be
# enough time for developers to find and enter their PIN and / or touch their
# Yubikey. We do this before we load the rest of in-toto, so that this setting
# takes effect.
import in_toto.settings
in_toto.settings.SUBPROCESS_TIMEOUT = 60

from in_toto import runlib
from in_toto.gpg.constants import GPG_COMMAND

Expand Down

0 comments on commit 2b1e794

Please sign in to comment.