pacman-key: warn about time taken for master key generation
Generating the pacman master key can take some time on systems without enough entropy. Warn the user that the generation may take some time. Fixes FS#30286. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
a023565ed3
commit
19980a61e9
1 changed files with 2 additions and 0 deletions
|
@ -145,6 +145,8 @@ key_lookup_from_name() {
|
|||
|
||||
generate_master_key() {
|
||||
# Generate the master key, which will be in both pubring and secring
|
||||
msg "$(gettext "Generating pacman master key. This may take some time.")
|
||||
|
||||
"${GPG_PACMAN[@]}" --gen-key --batch <<EOF
|
||||
%echo Generating pacman keyring master key...
|
||||
Key-Type: RSA
|
||||
|
|
Loading…
Add table
Reference in a new issue