Moritz Halbritter's Personal Blog
I wanted to send a GPG signed email, using Thunderbird and Enigmail. When hitting the send button, nothing happend. After taking a look in the Enigmail log, I found this:
2018-01-16 14:52:43.481 [DEBUG] errorHandling.jsm: parseErrorOutputWith: return with c.errorMsg = gpg: Beglaubigung fehlgeschlagen: Inappropriate ioctl for device
gpg: [stdin]: sign+encrypt failed: Inappropriate ioctl for device
2018-01-16 14:52:43.481 [DEBUG] execution.jsm: EnigmailExecution.fixExitCode: agentType: gpg exitCode: undefined statusFlags 0
2018-01-16 14:52:43.481 [DEBUG] encryption.jsm: encryptMessageEnd: command execution exit code: undefined
2018-01-16 14:52:44.664 [DEBUG] mimeEncrypt.js: finishCryptoEncapsulation: exitCode = undefined
2018-01-16 14:52:44.665 [ERROR] mimeEncrypt.js: caught exception: undefined
Message: 'undefined'
File: undefined
Line: undefined
Stack: undefined
After searching around in the internet, I found the solution: GPG can’t find a method to ask for my GPG key passphrase. dnf install pinentry-gtk
solved the problem.