On 2016-07-12 07:37, fastcpu@openmailbox.org wrote:
If I delete a GPG key pertaining to a specific repo in YaST2 and then possibly delete the repo itself, then readd the repo, more times than not zypper doesn't ask for to readd the the GPG key.
Some other weird behaviour is that when refreshing the repos after having added new ones which may have existed before, and whose GPG keys got deleted, zypper asks if I want to import the GPG key. I press 'a' to trust "always", and it's then done refreshing the repos. I go into YaST2
Software Repositories > GPG Keys, and they key isn't even there. This behaviour seems flaky to me but maybe I'm missing something. Is there a way with zypper to force to add a GPG key, and why isn't it showing up in YaST2 after selecting the "trust always" option?
You access them with commands like "rpmkeys". Its man says: +++················· For example, all currently imported public keys can be displayed by: rpm -qa gpg-pubkey* ·················++- I think they are stored here: /var/lib/rpm/Pubkeys, which is a database. I don't know how to display information about them, only the command above. Given one of those keys, you can do "rpm -qi key-package" to get information. Possibly yast/zypper can do similarly. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)