Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Aug 2003
    Location
    Perth, Australia
    Posts
    27

    Default Problem deleting public key from GnuPG

    I have been trying to delete a public key from GnuPG in cpanel. It asks for confirmation and I select YES. BUT, 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 has expired.

    Any ideas?

    Chris

  2. #2
    Member
    Join Date
    Aug 2003
    Location
    Perth, Australia
    Posts
    27

    Default

    I tried to update the key that will not delete with the exact same one that I had placed in there before and this is the error message returned:

    gpg: Warning: unsafe ownership on file "/home/accname/.gnupg/options"
    gpg: Warning: unsafe ownership on file "/home/accname/.gnupg/random_seed"
    gpg: Warning: unsafe ownership on file "/home/accname/.gnupg/secring.gpg"
    gpg: Warning: unsafe ownership on file "/home/accname/.gnupg/pubring.gpg"
    gpg: key ********: not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1

    All these files have root ownership...

  3. #3
    Member
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    646

    Default

    It's been like this for a awhile. I opened a ticket back in November and was told it was fixed in the latest EDGE at that time (via Darren on 11/30). I haven't checked the Stable/Release tree to see if it's working in quite some time. If you are still having issues, it appears it never made into those or is broken once again.

    cPanel Support, see the ticket number I reference here.

    cPanel.net Support Ticket Number: 28376

  4. #4
    Member
    Join Date
    Apr 2003
    Location
    Melbourne, Australia
    Posts
    44

    Default

    Originally posted by wineo
    I tried to update the key that will not delete with the exact same one that I had placed in there before and this is the error message returned:

    gpg: Warning: unsafe ownership on file "/home/accname/.gnupg/options"
    gpg: Warning: unsafe ownership on file "/home/accname/.gnupg/random_seed"
    gpg: Warning: unsafe ownership on file "/home/accname/.gnupg/secring.gpg"
    gpg: Warning: unsafe ownership on file "/home/accname/.gnupg/pubring.gpg"
    gpg: key ********: not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1

    All these files have root ownership...
    The user accname would not have permissions to change any files owned by root. These files and the .gnupg folder should all be owned by accname and belong to the accname group.

    Execute the following command as root:

    chown -R accname:accname /home/accname/.gnupg
    Pass me an Axe!

Similar Threads & Tags
Similar threads

  1. PUBLIC GnuPG key Installation
    By 8p-design in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-28-2009, 02:53 PM
  2. GnuPG Key Generator not working
    By ukagg in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-28-2008, 03:39 PM
  3. gpg: public key not found - how to tell gpg where to find the public key?
    By spaceman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-06-2006, 07:28 PM
  4. How to delete a gnuPG key ?
    By Radio_Head in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 07-06-2004, 05:24 AM
  5. How to delete a gnuPG key ?
    By Radio_Head in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-14-2002, 12:13 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube