GPG error: Inappropriate ioctl for device

Siva Krishna Sayavarapu siva.sayavarapu at fedex.com
Thu Jul 18 15:41:12 CEST 2024


Hi Team,

Can you please look into the below issue and advise as I'm unable to fix this with the solution that I found?

Thanks & Regards,

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

From: Gnupg-users <gnupg-users-bounces at gnupg.org> On Behalf Of Siva Krishna Sayavarapu via Gnupg-users
Sent: Tuesday, July 9, 2024 8:48 AM
To: gnupg-users at gnupg.org
Subject: [EXTERNAL] RE: GPG error: Inappropriate ioctl for device

Caution! This email originated outside of FedEx. Please do not open attachments or click links from an unknown or suspicious origin.

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<mailto: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/20240718/494037cc/attachment.html>


More information about the Gnupg-users mailing list