Whenever I decrypt a file, everything works fine (i.e. the file is decrypted and the decrypted message is sent to STDOUT or a file depending on how I execute the command).
The problem is that the following message gets printed out:
That would be fine, except it gets printed to STDERR, so my program thinks there is an error, when there really isnt (or at least it seems). I assume it has to get printed to STDERR since the actual decrypted message is sent to STDOUT. Other than that, is there a reason for this message and/or a way to prevent this from being printed out?
Thanks in advance for any help.
The problem is that the following message gets printed out:
Code:
gpg: encrypted with 2048-bit ELG-E key, ID 12345678, created 2005-02-03
"Private Key <private@key.com>"
That would be fine, except it gets printed to STDERR, so my program thinks there is an error, when there really isnt (or at least it seems). I assume it has to get printed to STDERR since the actual decrypted message is sent to STDOUT. Other than that, is there a reason for this message and/or a way to prevent this from being printed out?
Thanks in advance for any help.