GPG error: Inappropriate ioctl for device

Siva Krishna Sayavarapu siva.sayavarapu at fedex.com
Tue Jul 9 15:48:24 CEST 2024


Hi Team,

Can you please advise on this issue?

Standard Error: gpg: forcing symmetric cipher CAST5 (3) violates recipient preferences
gpg: WARNING: encrypting more than 150 MiB with algorithm CAST5 should be avoided
gpg: signing failed: Inappropriate ioctl for device
gpg: /var/fedex/fxnet/common/q1/86d/FTNIMAGE.ZZ/86dt0023nbie.0: sign+encrypt failed: Inappropriate ioctl for device

We are using below Encrypt string:

--passphrase-fd 0 --no-tty --batch --sign --encrypt --compress-algo 1 --cipher-algo cast5



Thanks & Regards,

Siva Krishna Sayavarapu | Sr. EDI Programmer Analyst | FedEx Logistics | mobile 901.482.6179

From: Siva Krishna Sayavarapu
Sent: Monday, July 1, 2024 8:53 AM
To: 'gnupg-users at gnupg.org' <gnupg-users at gnupg.org>
Subject: RE: GPG error: Inappropriate ioctl for device

Hi Team,

We are using GPG version 2.2.20 and recently we have upgraded our linux server from RHEL7 to RHEL8.

After the migration, we are receiving below error while encrypting files. Can you please advise how can we solve this problem?

Standard Error:  gpg: signing failed: Inappropriate ioctl for device
                                gpg: /var/fedex/fxnet/common/q1/86e/FTNCANADA.ZZ/86et00vvkl20.0: sign+encrypt failed: Inappropriate ioctl for device

Thanks & Regards,

Siva Krishna Sayavarapu | Sr. EDI Programmer Analyst | FedEx Logistics | mobile 901.482.6179

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20240709/c0803b37/attachment.html>


More information about the Gnupg-users mailing list