Bug 434584

Summary: Cannot create key : error : cannot create keys, Inappropriate Ioctl() for device
Product: [Applications] kleopatra Reporter: Feydreva <feydreva.kde>
Component: generalAssignee: Andre Heinecke <aheinecke>
Status: REPORTED ---    
Severity: major CC: hsdredgun, kdepim-bugs, mutz, paul.gastello, tux
Priority: NOR    
Version: 3.1.12   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: error pop up

Description Feydreva 2021-03-18 15:11:51 UTC
Created attachment 136820 [details]
error pop up

SUMMARY
When creating a new key, I get the error : 
error : cannot create keys, Inappropriate Ioctl() for device

STEPS TO REPRODUCE
1. Open Kleopatra
2. File : New Key
3. 

OBSERVED RESULT
At the end : Key creation failed

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Latest Manjaro, new installation 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 hsdredgun 2021-06-10 12:46:46 UTC
I got exactly the same issue!!!
Comment 2 Ingo Klöcker 2022-02-09 18:17:30 UTC
*** Bug 438409 has been marked as a duplicate of this bug. ***
Comment 3 tux 2022-03-28 22:23:24 UTC
Solution:
Add the line "pinentry-program /usr/bin/pinentry-qt" to the file "$HOME/.gnupg/gpg-agent.conf" and run "systemctl --user restart gpg-agent".