Decryption problem

Anthony E. Greene agreene@pobox.com
Wed Aug 21 08:17:02 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21-Aug-2002/12:11 +0800, Frank Yip <FrankYip@octopuscards.com> wrote:
>I have a serious problem now. I have an application which will first
>encrypt a file with specific recipient and upload to a ftp server in
>first day. Then in second day, the same program will run and it will
>download the encrypted file (first day uploaded file) if certain
>situation is not happend. Then it will try to decrypt the file. In the
>past it works fine because the program use DES. The problem now is as the
>file is encrypted with specific recipient. I can't decrypt the encrypted
>file which is encrypted by me in the second day as I am not the
>recipient. Is there any way to make this work by allowing me (the sender)
>to decrypt the file which is encrypted by me??

Include your own key in the recipient list:

  gpg -e -r 0xMyKey -r 0xYourKey filename

Or add this to your options file:

  encrypt-to 0xYourKey

That way your keyid is automatically added to the recipient list.


Tony
- -- 
Anthony E. Greene <mailto:Anthony%20E.%20Greene%20%3Cagreene@pobox.com%3E>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05    HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene <mailto:agreene@pobox.com> 0x6C94239D

iD8DBQE9YzCHpCpg3WyUI50RAtrVAJ9fKr7WbNjnjUmxBuLdDX4XhqXf/QCg3o2u
WnL08GhMoBdXuOeXmINt24g=
=9jpB
-----END PGP SIGNATURE-----