Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Seemingly harmless message sent to STDERR

Status
Not open for further replies.

tweenerz

Programmer
Mar 25, 2002
202
US
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:
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top