Menu

"Export keys unencrypted"

Herbert
2017-06-06
2017-06-06
  • Herbert

    Herbert - 2017-06-06

    To workaround some issues for the use case described here, I had the idea that you could add an option "Export keys unencrypted", where the keys are exported without password protection, but the password protection stays intact for the keys in my database.

     

    Last edit: Herbert 2017-06-06
  • Patrick Brunschwig

    GnuPG does not offer an API for this. The (technical) workflow would be about this:

    1. export the key (prompts a passhrase)
    2. import it into a temporary keyring (prompts passphrase)
    3. edit the key to remove the password (prompts passphrase)
    4. export the key from the temporary keyring (would probably prompt the passphrase dialog again)
    5. delete the temporary keyring
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.