[Bug 1014819] gpg --gen-key does not work on console (w/o a display)
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1014819
http://bugzilla.suse.com/show_bug.cgi?id=1014819#c9
Vítězslav Čížek
id uid=1000(vcizek) gid=100(users) groups=100(users) su test $ tty /dev/pts/12 $ ls -l /dev/pts/12 crw--w---- 1 vcizek tty 136, 12 30. bře 12.33 /dev/pts/12 $ strace gpg --gen-key [...] 9627 open("/dev/pts/12", O_RDONLY) = -1 EACCES (Permission denied) 9627 write(1, "ERR 83886179 canceled", 21) = 21 [...]
There's a workaround, to force opening of a new terminal with eg script. Then pinentry will launch just fine. $ script /dev/null $ gpg --gen-key # launches pinentry-curses -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com