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.

Problem deleting public key from GnuPG

Discussion in 'General Discussion' started by wineo, Jan 6, 2004.

  1. wineo

    wineo Active Member

    Joined:
    Aug 30, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Perth, Australia
    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. wineo

    wineo Active Member

    Joined:
    Aug 30, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Perth, Australia
    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. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    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. beekeeper

    beekeeper Active Member

    Joined:
    Apr 28, 2003
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Melbourne, Australia
    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
     
Loading...

Share This Page