Re: re-encrypt encrypted emails
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday, January 4 at 05:49 PM, quoth William Yardley:
> I have a folder with a bunch of gpg encrypted emails (all clearsigned
> except for one large PGP/MIME encrypted email). I have a colleage who
> lost his old key and didn't have it backed up, so I want to send him a
> new copy of all the emails somehow, only re-encrypted for his new key.
>
> Is there any way to do this, either within mutt or outside of mutt? I
> have direct access to the mbox folder if it matters.
Well, decrypting the messages is easy (though time-consuming). Mutt
has a function called "decrypt-save" (and, of course, "decrypt-copy")
that you can bind to a key and use to decrypt each message. Bind it
like so:
bind index ] decrypt-save
Then you can decrypt each message by hand relatively easily. The
downside, of course, is that you have to do it by hand.
~Kyle
- --
The average Ph.D thesis is nothing but the transference of bones from
one graveyard to another.
-- J. Frank Dobie, "A Texan in England"
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFFnd9vBkIOoMqOI14RAp8bAKC+WenEm8HEVPzrsCClqsSqPD+HZQCg6mMi
m+2a64blScfKzjy82m3XfX0=
=yTNz
-----END PGP SIGNATURE-----