mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 09:51:50 -05:00
pacman-key: clarify messages, s/keychain/keyring/
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
3f202c7808
commit
9e2078b179
@ -116,11 +116,11 @@ get_from() {
|
||||
generate_master_key() {
|
||||
# Generate the master key, which will be in both pubring and secring
|
||||
"${GPG_PACMAN[@]}" --gen-key --batch <<EOF
|
||||
%echo Generating pacman keychain master key...
|
||||
%echo Generating pacman keyring master key...
|
||||
Key-Type: RSA
|
||||
Key-Length: 2048
|
||||
Key-Usage: sign
|
||||
Name-Real: Pacman Keychain Master Key
|
||||
Name-Real: Pacman Keyring Master Key
|
||||
Name-Email: pacman@localhost
|
||||
Expire-Date: 0
|
||||
%commit
|
||||
@ -315,7 +315,7 @@ populate_keyring() {
|
||||
|
||||
add_keys() {
|
||||
if ! "${GPG_PACMAN[@]}" --quiet --batch --import "${KEYFILES[@]}" ; then
|
||||
error "$(gettext "A specified keyfile could not be added to the gpg keychain.")"
|
||||
error "$(gettext "A specified keyfile could not be added to the keyring.")"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
@ -323,7 +323,7 @@ add_keys() {
|
||||
delete_keys() {
|
||||
check_keyids_exist
|
||||
if ! "${GPG_PACMAN[@]}" --quiet --batch --delete-key --yes "${KEYIDS[@]}" ; then
|
||||
error "$(gettext "A specified key could not be removed from the gpg keychain.")"
|
||||
error "$(gettext "A specified key could not be removed from the keyring.")"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
@ -345,7 +345,7 @@ edit_keys() {
|
||||
export_keys() {
|
||||
check_keyids_exist
|
||||
if ! "${GPG_PACMAN[@]}" --armor --export "${KEYIDS[@]}" ; then
|
||||
error "$(gettext "A specified key could not be exported from the gpg keychain.")"
|
||||
error "$(gettext "A specified key could not be exported from the keyring.")"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user