Results 1 to 3 of 3

Thread: Unable to delete (one specific) GPG Repository Signing Key using YaST2

  1. #1
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,072

    Default Unable to delete (one specific) GPG Repository Signing Key using YaST2

    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.
    Regards, Paul

    Tumbleweed (Snapshot: 20190614) KDE Plasma 5
    Leap 15.0 KDE Plasma 5
    [Non-Tumbling Tumblweed (20150508) KDE 4 - Resurrected]

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,099
    Blog Entries
    15

    Default Re: Unable to delete (one specific) GPG Repository Signing Key using YaST2

    Hi
    Still in the rpm data base?
    Code:
    rpm -qa |grep pubkey
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,072

    Default Re: Unable to delete (one specific) GPG Repository Signing Key using YaST2

    Yes...

    Code:
    Key: 31EA985561149B2F
    Name: home:gasinvein OBS Project <home:gasinvein@build.opensuse.org>
    Finger Print: A45A6D7C61B6B6661BA6E4B831EA985561149B2F
    
    
    paul@Orion-15:~$ rpm -qa |grep pubkey
    gpg-pubkey-6867f5be-4d77cecd
    gpg-pubkey-c66b6eae-4491871e
    gpg-pubkey-0d210a40-581257c6
    gpg-pubkey-77fa2cdd-55fe9f0f
    gpg-pubkey-324e6311-578e3afa
    gpg-pubkey-3dbdc284-53674dd4
    gpg-pubkey-1abd1afb-54176598
    gpg-pubkey-61149b2f-586f700a   <- Yes!!
    gpg-pubkey-da3b78b7-572a67bd
    
    paul@Orion-15:~$ sudo rpm -e gpg-pubkey-61149b2f-586f700a
    [sudo] password for root: 
    
    paul@Orion-15:~$ rpm -qa |grep pubkey
    gpg-pubkey-6867f5be-4d77cecd
    gpg-pubkey-c66b6eae-4491871e
    gpg-pubkey-0d210a40-581257c6
    gpg-pubkey-77fa2cdd-55fe9f0f
    gpg-pubkey-324e6311-578e3afa
    gpg-pubkey-3dbdc284-53674dd4
    gpg-pubkey-1abd1afb-54176598
    gpg-pubkey-da3b78b7-572a67bd
    paul@Orion-15:~$
    Many thanks! appreciated.

    Another entry for my growing list of "Useful things to know".
    Regards, Paul

    Tumbleweed (Snapshot: 20190614) KDE Plasma 5
    Leap 15.0 KDE Plasma 5
    [Non-Tumbling Tumblweed (20150508) KDE 4 - Resurrected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •