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?

marco
  • 287
  • 4
  • 11
  • Do you have the keys for your duplicity backup? Duplicity backups are encrypted, and you need the key to decrypt them... – vidarlo Jan 04 '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 04 '18 at 14:07

1 Answers1

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.

marco
  • 287
  • 4
  • 11