Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase gpg timeout to give time to developers to interact with Yubikeys #2613

Merged
merged 2 commits into from
Nov 22, 2018

Conversation

trishankatdatadog
Copy link
Member

@trishankatdatadog trishankatdatadog commented Nov 19, 2018

What does this PR do?

Increase the timeout value for any GPG subprocess to run from in-toto.

Motivation

Developers find the current timeout value (3 seconds) to short to successfully find and enter their PINs.

Review checklist

  • PR has a meaningful title or PR has the no-changelog label attached
  • Feature or bugfix has tests
  • Git history is clean
  • If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Additional Notes

@zippolyte and @ofek should test this to make sure that the PR is satisfactory.

@trishankatdatadog trishankatdatadog requested a review from a team as a code owner November 19, 2018 20:25
zippolyte
zippolyte previously approved these changes Nov 20, 2018
Copy link
Contributor

@zippolyte zippolyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM, thanks !
Let's just make flake8 happy

@trishankatdatadog
Copy link
Member Author

@zippolyte Thanks! Could you run a quick test on your machine?

@zippolyte
Copy link
Contributor

Yup I did, it's way better 💯

@masci masci changed the title increase gpg timeout value for in-toto Increase gpg timeout to give time to developers to interact with Yubikeys Nov 22, 2018
@codecov-io
Copy link

Codecov Report

Merging #2613 into master will decrease coverage by 6.64%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2613      +/-   ##
==========================================
- Coverage   83.85%   77.21%   -6.65%     
==========================================
  Files         644       21     -623     
  Lines       36425      610   -35815     
  Branches     4426       65    -4361     
==========================================
- Hits        30544      471   -30073     
+ Misses       4563      113    -4450     
+ Partials     1318       26    -1292

@masci masci merged commit 4186af9 into master Nov 22, 2018
@masci masci deleted the trishankatdatadog/increase-in-toto-gpg-timeout-value branch November 22, 2018 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants