» List RPM keys you trust
Here's how to get a list of the GPG keys you have (and hence trust) in RPM's keyring:
If you want to remove a key from the RPM keyring, take the first field from the list above (represented by HASH below) and (the above has obviously to be performed as root)
As blogged by Duncan, Ladislav added a window in openSUSE 11.0's YaST2 to manage those keys in a much more user-friendly way.
rpm -qa --nodigest --nosignature \
--qf '%{VERSION}-%{RELEASE} %{SUMMARY}\n' \
gpg-pubkey\* \
| sed 's/ gpg(/ /;s/)$//'
rpm -e gpg-pubkey-HASH
1 Comments:
If needs to find PGP PUBLIC KEY with name 'NAME' is possible to use:
rpm -qai "*gpg*" | grep -A 20 NAME
Post a Comment
<< Home