Decrypt Issue
Diaz, John, A
JDiaz at azdes.gov
Wed Sep 4 22:54:38 CEST 2013
Hello. Long story, short:
Mainframe calls .bat file that calls C# application that calls second .bat file to call GnuPG to decrypt a file. Once decrypted, other stuff happens, e-mails are sent, blah, blah, blah.
Here's the issue: When the mainframe calls the .bat file to start the process, the decryption returns:
Decrypt error :gpg: armor header: Version: GnuPG v1.4.9 (AIX)
gpg: public key is 07F7097A
gpg: encrypted with ELG-E key, ID 07F7097A
gpg: decryption failed: secret key not available
if I list the keys on the server that this is running I see the key listed.
Here's the goofy part: If I login to the server with the credentials that the mainframe uses to call the first .bat file, and manually run the .bat file that starts the whole process, it runs correctly.
Thoughts?
John Diaz
602-274-5359 x1284
jdiaz at azdes.gov<mailto:jdiaz at azdes.gov>
________________________________
NOTICE: This e-mail (and any attachments) may contain PRIVILEGED OR CONFIDENTIAL information and is intended only for the use of the specific individual(s) to whom it is addressed. It may contain information that is privileged and confidential under state and federal law. This information may be used or disclosed only in accordance with law, and you may be subject to penalties under law for improper use or further disclosure of the information in this e-mail and its attachments. If you have received this e-mail in error, please immediately notify the person named above by reply e-mail, and then delete the original e-mail. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20130904/2333878a/attachment-0001.html>
More information about the Gnupg-users
mailing list