deleted public key

Mitchell's Avatar


14 Jan, 2012 02:32 AM

I deleted my public key from the keyring. I have generated a private key but now I don't have a public key. How do I generate a new one?

  1. Support Staff 1 Posted by Luke Le on 14 Jan, 2012 02:40 AM

    Luke Le's Avatar


    I've googled a little and found the following solution.
    You have two options:

    1.) Export your private key and re-import it.

    (If nothing changes, delete the private key first and import it again after that)

    2.) Use the gpgsplit tool to create a new public key from the secret key.

    For option 1 use GPG Keychain Access, select the secret key and click export in the toolbar. Check the box to export the secret key as well and save it on your harddisk. (Don't check the ASCII checkbox)

    After that re-import it using GPG Keychain Access.

    Let us know if it worked

  2. Support Staff 2 Posted by Steve on 28 Jan, 2012 10:56 PM

    Steve's Avatar

    No further user feedback. Closing this for now.

    Mitchell, if you need any help or assistance feel free to re-open this discussion and we'll be glad to help you out.

    All the best, steve

  3. Steve closed this discussion on 28 Jan, 2012 10:56 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac