entropy for gpg

33 views
Skip to first unread message

pixel fairy

unread,
Jul 30, 2017, 8:18:10 AM7/30/17
to qubes-users
just tried to make a gpg key to use with split-gpg and didnt have enough entropy. the keygen dialog timed out. any suggestions on getting entropy into an appvm. is there a service that can be enabled? a little game or something good at generating entropy? in the past i would play doom until there was enough, but id like to keep this appvm as pristine as possible.

the appvm was based on debian-9

pixel fairy

unread,
Jul 30, 2017, 8:35:26 AM7/30/17
to qubes-users
On Sunday, July 30, 2017 at 5:18:10 AM UTC-7, pixel fairy wrote:
> just tried to make a gpg key to use with split-gpg and didnt have enough entropy. the keygen dialog timed out. any suggestions on getting entropy into an appvm. is there a service that can be enabled? a little game or something good at generating entropy? in the past i would play doom until there was enough, but id like to keep this appvm as pristine as possible.
>
> the appvm was based on debian-9

seems all it needed was wiggling the mouse for a while.

Sandy Harris

unread,
Jul 30, 2017, 9:10:26 AM7/30/17
to pixel fairy, qubes-users
pixel fairy <pixel...@gmail.com> wrote:

> just tried to make a gpg key to use with split-gpg and didnt have enough entropy. the keygen dialog timed out. any suggestions on getting entropy into an appvm. is there a service that can be enabled? a little game or something good at generating entropy? ...

Many modern processors include a hardware RNG which should make it
impossible to run low on entropy. Some VM systems provide a service
driven by random(4) on the host that emulates a hardware RNG in each
client VM. I do not know what Qubes currently does, but if it does not
support that, it should.

> the appvm was based on debian-9

Debian has haveged(8) which might solve your problem.

I wrote a small program to solve this problem & the PDF doc discusses
other solutions including havege.
https://github.com/sandy-harris/maxwell

pixel fairy

unread,
Jul 30, 2017, 9:20:17 AM7/30/17
to qubes-users, pixel...@gmail.com
On Sunday, July 30, 2017 at 6:10:26 AM UTC-7, Sandy Harris wrote:
> pixel fairy wrote:
>

> Debian has haveged(8) which might solve your problem.

yes, and its installed in the template by default. wiggling the mouse worked for a while, then stopped adding entropy. maxwell looks interesting. now im glad i posted this.

Reply all
Reply to author
Forward
0 new messages