Merge lp://staging/~xnox/auto-package-testing/haveged-random into lp://staging/auto-package-testing

Proposed by Dimitri John Ledkov
Status: Work in progress
Proposed branch: lp://staging/~xnox/auto-package-testing/haveged-random
Merge into: lp://staging/auto-package-testing
Diff against target: 26 lines (+1/-5)
2 files modified
bin/prepare-testbed (+1/-0)
bin/testbed/run-adt (+0/-5)
To merge this branch: bzr merge lp://staging/~xnox/auto-package-testing/haveged-random
Reviewer Review Type Date Requested Status
Auto Package Testing Developers Pending
Review via email: mp+139868@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

How is that better than /dev/urandom?

Also, I think a better fix would be to just create a GPG key statically and include that in bzr, and install it in the VM. Or even better, add an option to autopkgtest to not insist on having a GPG key in the first place, as this is absolutely unnecessary for running autopkgtest.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I am not competent enough to compare haveged quality with urandom.

Inherently VMs don't have a good source of entropy & it gets depleted rather quickly. Enough entropy is required not only for the initial gpg key, but for many tests as well. One way or another, we want to speed up gathering entropy.

I am proposing to drop 3 lines of code hack & use one-line to set up a fast entropy source via a managed package.

Unmerged revisions

130. By Dimitri John Ledkov

Use packaged fast random number generator haveged

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches