0

I have a newly installed Ubuntu 17.10 and do want to recover my private pgp keys from an already extracted duplicity backup. How to accomplish this task?

2
  • Do you have the keys for your duplicity backup? Duplicity backups are encrypted, and you need the key to decrypt them...
    – vidarlo
    Jan 4 '18 at 13:23
  • yes i do, its already extracted and everything. its just that i dont know how where in that backup my keys are and how to get them into enigmail again
    – marco
    Jan 4 '18 at 14:07
1

I found my solution here.

Private keys can be recovered by moving .key files from old to new private-keys-v1.d folder and restarting gnupg.

mv ~/backup/home/user123/.gnupg/private-keys-v1.d/*.key ~/.gnupg/private-keys-v1.d/

Public keys can be restored from keyservers using enigmails keymanager.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.