Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    343
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    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 !!!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Radio_Head

    Radio_Head Well-Known Member

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

    Radio_Head Well-Known Member

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

    erobs Well-Known Member

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

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. wineo

    wineo Active Member

    Joined:
    Aug 30, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    151
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #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:
    151
    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:
    151
    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:
    151
    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:
    156
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. marius

    marius Well-Known Member
    PartnerNOC

    Joined:
    Jun 10, 2002
    Messages:
    157
    Likes Received:
    0
    Trophy Points:
    316
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice