How to move existing files onto a post-quantum key.

Encrypting new files to a post-quantum recipient does nothing for the files you encrypted last year. If a classical ciphertext has already been captured, it sits in someone's archive waiting for better hardware. That is the harvest-now-decrypt-later problem, and the fix is to re-encrypt the copies you still control.

~3 minutes iOS / Android AgePony 3.0 or later
// at a glance
  1. Open the re-encrypt tool
  2. Pick an .age file you can open
  3. Authenticate to unlock the identity
  4. Choose the post-quantum recipient
  5. Share or store the new copy
Prerequisites
  • AgePony 3.0 or later (current release is 3.1.0)
  • An .age file you can already decrypt
  • A post-quantum recipient to move it to
// step 01

Open the re-encrypt tool.

Start the re-encrypt flow in AgePony. It exists for exactly this job: taking a file that is already encrypted and producing the same contents under a different recipient, without you having to decrypt, save, and encrypt by hand.

// step 02

Pick the .age file.

Choose a file you can already open with one of your identities. If you cannot decrypt it, AgePony cannot re-encrypt it. There is no shortcut around that, and there should not be.

// step 03

Authenticate.

Unlock the identity with your biometric or device passcode. AgePony decrypts the file to do the work. A decrypted copy exists in the app's temporary storage while the operation runs, and it is deleted as soon as the operation finishes.

// step 04

Choose the post-quantum recipient.

Select the age1pq recipient the new copy should be encrypted to. This is the same recipient picker as the normal Encrypt flow, so the same rule applies: a post-quantum recipient cannot be combined with a classical one on the same file.

// step 05

Share or store the new copy.

AgePony writes a new .age file encrypted to the post-quantum key. Put it where the old one lived, or send it to whoever needs it. Once you have confirmed the new copy opens, you can delete the old one yourself.

What this does not fix

AgePony states both limits in the app, and they are worth repeating. Your original file is left untouched and unchanged, so the old classical copy is still sitting there until you delete it yourself. And copies you already sent to other people stay on the old key. You cannot reach into someone else's inbox or backup. If a classical ciphertext left your control, treat it as permanently on the old key.

Verify it worked.

  • AgePony reports the recipient the new file was encrypted to.
  • The new file decrypts with the post-quantum identity.
  • The contents match the original after decryption.
  • The original file is still present and unmodified.

Common questions.

Does re-encrypting protect files someone already copied?

No. Anyone who already holds the old ciphertext keeps it, and it stays on the old key. Re-encrypting protects the copy you control from this point forward.

Is my original file changed?

No. The original .age file is left untouched and unchanged. AgePony writes a new file next to it, so you decide when to delete the old one.

Is the file decrypted at any point?

Yes. A decrypted copy exists in the app's temporary storage while the operation runs, and it is deleted as soon as the operation finishes.

Which files are worth moving first?

The ones with the longest secrecy lifetime: archives, backups, legal and medical records, source material. Anything that stops mattering in a month is not worth the effort.

Next steps.

Get AgePony

Free file encryption for iOS and Android. No accounts, no tracking, no servers.