Linux GPG2 Encryption Getting Intermittent gpg: signing failed: Inappropriate ioctl for device When Run From Oracle Apps

Jim Ernst jernst at invacarecontractor.com
Fri Oct 7 22:59:44 CEST 2016


Hello All  -

I am using the following code with gpg (GnuPG) 2.1.15, and when run on Linux submitted from an Oracle EBS Apps request it errors with "gpg: signing failed: Inappropriate ioctl for device":

/usr/local/bin/gpg2 -v --batch --no-tty --output $v_outbound_dir/$v_fname_sign --encrypt --recipient $v_recipient --passphrase $v_passphrase --sign $v_sd_name/$v_fn
ame_in

The process will work then the error will suddenly occur when there has been no change in the statement. Has anyone hit something like this before ?

I notice the error message has "gpg:"; does gpg2 start its' messages this way or with "gpg2:" ?

Thanks,
James Ernst
NTT Data
NOTE: The sender of this email is an independent contractor of Invacare Corporation or one of its subsidiaries. CONFIDENTIALITY NOTICE: The information in this e-mail message and any attachments may contain privileged, confidential or proprietary information, including confidential health information, protected by applicable Federal or state laws. Such information is intended only for the recipient named above. If you are not the intended recipient, please notify the sender immediately, and take notice that any use, disclosure or distribution of such information is prohibited by law.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20161007/221fc66b/attachment.html>


More information about the Gnupg-users mailing list