I have a curious case of a repository signing key that I’m unable delete. :\
Whilst using YaST2 Software Management to remove some now un-needed repositories and signing keys, there was one specific key I was unable to delete.
Using:
Configuration → Repositories → GPG Keys…
Select the key from those listed in the top panel, (the correct key info is shown in the lower panel).
Delete → (Confirm) OK
At this point the key is no longer listed in the top panel.
Close YaST2 (OK → OK → File → Quit – Save Changes)
Re-open YaST2 Software Management
Configuration → Repositories → GPG Keys…
and the previously “deleted” key is present.
This seems to be unique to that particular key, as I’m able to delete any other key successfully.
It was my understanding that keys were located at:
“/var/cache/zypp/raw/[repo alias]/repodata”
which, for the key in question no longer exists, as the repository was deleted.
If I re-add the repository and refresh I’m not asked to accept the signing key, presumably because YaST2 still has, or thinks it has, the key.
I’ve tried deleting the key both prior to removing the repository, and after the repository was removed. In both cases the key is not deleted.
Does YaST2 keep it’s own copy elsewhere, and if so where? As I’ve yet to locate it.