FS#39025 - [pinentry] points at optdependency by default; gpg --gen-key fails w/o optdep'cy. installed

Attached to Project: Arch Linux
Opened by dif (dif) - Monday, 24 February 2014, 10:46 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 13 May 2015, 20:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Command

gpg --gen-key

results in

pinentry: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
gpg-agent[15791]: can't connect to the PIN entry module: End of file
gpg-agent[15791]: command get_passphrase failed: No pinentry
gpg: problem with the agent: No pinentry
gpg: Key generation canceled.

on systems without optional dependencies installed.
It is because /usr/bin/pinentry points at gtk2 (/usr/bin/pinentry-gtk-2) by default

Could you please point pinentry to the ncurses version by default (/usr/bin/pinentry-curses)? Please note that gtk2 and qt4 are optdepends while ncurses is a dependency, and so the default pinentry should point at the ncurses version.

Additional info:
* package version(s): pinentry 0.8.3-1, gnupg 2.0.22-2
* config and/or log files etc.
* Support by Allan: https://bbs.archlinux.org/viewtopic.php?pid=1385074#p1385074 (last two paragrapghs)


Steps to reproduce:
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 13 May 2015, 20:55 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#28883 

Loading...