FS#30286 - pacman-key --init hangs at "gpg: Generating pacman keychain master key...." until mouse input
Attached to Project:
Pacman
Opened by Sam Pearson (spearson) - Thursday, 14 June 2012, 03:32 GMT
Last edited by Allan McRae (Allan) - Tuesday, 09 February 2021, 04:29 GMT
Opened by Sam Pearson (spearson) - Thursday, 14 June 2012, 03:32 GMT
Last edited by Allan McRae (Allan) - Tuesday, 09 February 2021, 04:29 GMT
|
Details
Description:
After running pacman-key --init, the terminal will hang at gpg: Generating pacman keychain master key indefinitely with no output to the user. In this forum post https://bbs.archlinux.org/viewtopic.php?id=138684 many users confirm this happening, and a fix being "generating entropy" via running ls -R / in another terminal or by connecting and moving around a mouse while pacman-key --init is hanging. This input should be automated or it should be surfaced to the user that it is required. Additional info: * core/pacman 4.0.3-2 (base) Steps to reproduce: * with a fresh install of arch, run pacman-key --init * notice that it hangs after the following output: [root@(none) ~]# pacman-key --init gpg:generating pacman keychain master key... |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 09 February 2021, 04:29 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 19980a61e9ed9b9a57520aaa919c40a4b5311f87
Tuesday, 09 February 2021, 04:29 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 19980a61e9ed9b9a57520aaa919c40a4b5311f87
but automating the generation of "random entropy" is silly
run find /
cat files
curl websites
run telnet miku.acm.uiuc.edu
basically do stuff until entropy is generated
that wiki page on pacman-key mentions haveged if you must