Hi guys,
I am having some problems here. I am trying to generate a gpg key so that I can sign my GitHub commits but I am struggling to get high enough entropy for the key to be created. How can I increase entropy in a low entropy system, so that my gpg keys are created.
thanks
jay
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How do you achieve enough entropy for GPG key generation
-
- Posts: 36
- Joined: 2018-05-09 10:56
- Location: United KIngdom
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: How do you achieve enough entropy for GPG key generation
Try
Or get a hardware random number generator.
Code: Select all
# apt install haveged
deadbang
-
- Posts: 36
- Joined: 2018-05-09 10:56
- Location: United KIngdom
Re: How do you achieve enough entropy for GPG key generation
I read about installing that on several websites that I found while Google searching but I was a little bit concerned about installing something that would be generating a whole lot of random stuff in the background. Would haveged cause my server to operate at higher rate of entropy when haveged itself was notin use? Also; having looked, it seems that haveged installs several init scripts and requires changes to configuration files in order to work - potentially opening up security vulnerabilities?Head_on_a_Stick wrote:TryCode: Select all
# apt install haveged
I could be mistaken of course, so feel free to tell me so if I am. I am just concerned about installing something that I hadn't heard of until today.
Cheers
jay
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: How do you achieve enough entropy for GPG key generation
Disclaimer: I have no formal training in IT and I am not an IT professional, nor am I an expert on entropy or gpg keys.
That being said, I would strongly advise purchasing a hardware random number generator if true entropy is required, haveged does not provide a source of truly random numbers.
EDIT: haveged requires no configuration and operates automagically in Debian.
That being said, I would strongly advise purchasing a hardware random number generator if true entropy is required, haveged does not provide a source of truly random numbers.
EDIT: haveged requires no configuration and operates automagically in Debian.
deadbang