pentoo / pentoo-installer

Pentoo installer rewritten by Wuodan to be more modular
10 stars 6 forks source link

gpg-agent: fails with pin-entry-qt (default after installation) #30

Closed Wuodan closed 6 years ago

Wuodan commented 6 years ago

$ git commit -S -m "accept_keywords: vmtools needs xml-security-c" error: gpg failed to sign the data fatal: failed to write commit object

tty1 also prints this:

gpg-agent[3990]: can't connect to the PIN entry module '/usr/bin/pinentry' : End of file

The problem is pinentry-qt:

$ eselect pinentry list [1] pinentry-qt * [2] pinentry-gtk-2 [3] pinentry-qt4 [4] pinentry-curses [5] pinentry-tty

The only option that works in xfce4-terminal is pinentry-gtk-2:

eselect pinentry set 2 then the pinentry gui pops up as expected.

Think I did not have to do this with last installation with ISO from a few months ago, so this seems new behavior.

Wuodan commented 6 years ago

This is annoying ... I hate when I write a long commit message and then lose it because pinentry fails !!!

Wuodan commented 6 years ago

Possibly related to #13

blshkv commented 6 years ago

This is strange because both interfaces gtk and qt work in KDE env. It would only use a different backend

ZeroChaos- commented 6 years ago

they really should both work, but I need to rewrite this anyway for supporting the best default when we build kde isos. i'll fix it up in a little bit here

ZeroChaos- commented 6 years ago

set during installer 8cc852eb23f74a3212b53b56f3635e76bf9ab806

ZeroChaos- commented 6 years ago

also added this to fsscript during livecd generation so it's set on livecd, reset when pentoo-installer runs, then set on the install system. setting three times should be enough