Hey hackers,

I noticed this very interesting behavior in my version of gpg (2.0.17):

1. take a simple text file and call it say test.txt, encrypt it to a
file named test.txt in the same directory so that it overwrites it. (gpg
-o test.txt -e test.txt)
2. decrypt file test.txt with gpg (gpg -d test.txt) and get gibberish.

It does not seem to happen when I have the output renamed to something
else. I know this is a highly unusual (and probably ineffective way) of
using gpg but I still thought it was interesting that it would fail. Any
thoughts on this (potential) bug? Can anyone else recreate it, or is it
actually a feature/unavoidable side-effect?

Regards,
-- 
Joseph Ziff <jziff [AT] sindegra [D0T] com>, <jziff [AT] haverford [D0T]
edu>.
Signed with gnupg 2.0.17 for your convenience.
Go to http://www.sindegra.com/jziff.txt to retrieve the public key.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to