Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 389 Bytes

File metadata and controls

13 lines (8 loc) · 389 Bytes

Fix "Inappropriate ioctl for device" Error

gpg: signing failed: Inappropriate ioctl for device can be fixed by setting GPG_TTY variable -

Solution:

export GPG_TTY=$(tty)

Note: Add above line to ~/.bashrc file, to avoid running it everytime shell session starts.

Source: GitHub