Hi I just tested it also on a lenny machine with libgnupg-perl, here the behaviour is a bit different, but the result is still the same. Using a wrong passphrase now says:
$ ./testcode invalid passphrase at ./testcode line 14 $ cat plainwrong.txt $ So the plainwrong.txt is then empty as expected, since we cannot decrypt the text in save.gpg! Kind regards Salvatore
signature.asc
Description: Digital signature