You are not logged in.

#1 2012-01-19 22:19:18

brenden1030
Member
Registered: 2012-01-19
Posts: 2

pacman-key --init on a arch server [SOLVED]

Hi. Today I tried updating my Arch server to pacman 4 which we all now know uses package signing which requires us to run "pacman-key --init" on the update. When I try running the command I get:

 Not enough random bytes available.  Please do some other work to give
the OS a chance to collect more entropy! (Need 300 more bytes) 

and I have googled around before coming here to find that some people do `cat /dev/urandom` which I have tried but have no succeeded with it but I do not have any other way as far as I know to generating a gpg key on my server since I also connect to the server via SSH.

Does anyone know a solution to generating a gpg key for a Arch server?

Last edited by brenden1030 (2012-01-19 22:34:21)


Minecraft is awesome.

Offline

#2 2012-01-19 22:22:39

ratcheer
Member
Registered: 2011-10-09
Posts: 924

Re: pacman-key --init on a arch server [SOLVED]

There are lots of ways. You can open a text file and type a lot of characters. You can make your system read a large disk file. You can open some web pages. You can move your mouse pointer rapidly around the screen. You can do all these things at once. Most system activity will generate new entropy.

Tim

Offline

#3 2012-01-19 22:28:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pacman-key --init on a arch server [SOLVED]

Offline

#4 2012-01-19 22:34:05

brenden1030
Member
Registered: 2012-01-19
Posts: 2

Re: pacman-key --init on a arch server [SOLVED]

Finally got a key to generate. Thanks!


Minecraft is awesome.

Offline

Board footer

Powered by FluxBB