The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to delete a gnuPG key ?

Discussion in 'General Discussion' started by Radio_Head, Dec 13, 2002.

  1. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    When trying to delete a GnuPG key, I get this error.

    GnuPG
    Unable to delete key. You might need to
    delete the secret key first (secret keys must be deleted from a ssh
    session


    Which is the procedure to delete the key from ssh ?

    If I terminate the account with the GnuPG keys ,
    the Keys are deleted or remain on the server ?

    Thank you
     
  2. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    I tried

    gpg --list-keys

    but doesn't work

    I tried
    gpg --delete-secret-key [name of key]

    but it cannot find the key ...

    HELP !!!
     
  3. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    What I have to do to receive support ?
    No reply here , no reply via ticket support , please help !!!
     
  4. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    Finally I found the solution to list and delete keys from ssh myself , and written a php file to delete secure keys too :p
     
  5. erobs

    erobs Well-Known Member

    Joined:
    Nov 24, 2002
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Care to share how you did this? Or anyone else have a solution?

    cPanel.net Support Ticket Number:
     
  6. wineo

    wineo Active Member

    Joined:
    Aug 30, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Perth, Australia
    I have a slightly different problem... I delete a GnuPG in cpanel, it asks for confirmation and when I return to the list it is still there. I also checked the file on the server and the trustdb file hadn't changed.

    All I am trying to do really is renew the key, it had expired.

    Any ideas?

    Chris
     
    #6 wineo, Jan 6, 2004
    Last edited: Jul 6, 2004
  7. MySitesOnline

    MySitesOnline Active Member

    Joined:
    Mar 24, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Has there ever been a solution to this? Still seems to be an issue.
     
  8. drummondlw

    drummondlw Registered

    Joined:
    Apr 3, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi, anyone else worked out a solution to this?
    I managed to delete the keys but now I can't remake them, it says it was successful but I have no keys, and I really need to have them
    Any help would be great
     
  9. drummondlw

    drummondlw Registered

    Joined:
    Apr 3, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I can't believe this is still going on
     
  10. beekeeper

    beekeeper Active Member

    Joined:
    Apr 28, 2003
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    removing GnuPG keys

    Use the following GnuPG commands from the (shell)command line in this order:

    gpg --help
    gpg --list-keys
    gpg --delete-secret-keys keyname
    gpg --deletekeys keyname
     
  11. marius

    marius Well-Known Member
    PartnerNOC

    Joined:
    Jun 10, 2002
    Messages:
    157
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bucharest

    Same problem here. Choose to delete a key, confirm, the confirmation result is shown "Public Key B0A0F699 has been deleted" but then.. nothing changed. The key is still in the list.

    Anyone?

    Marius
     
Loading...

Share This Page