Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229871 > unrolled thread

pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why?

Started byGregor Zattler <telegraph@gmx.net>
First post2020-12-21 00:30 +0100
Last post2020-12-21 12:10 +0100
Articles 7 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why? Gregor Zattler <telegraph@gmx.net> - 2020-12-21 00:30 +0100
    Re: pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why? deloptes <deloptes@gmail.com> - 2020-12-21 01:00 +0100
      Re: pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works,  why? Gregor Zattler <telegraph@gmx.net> - 2020-12-21 11:10 +0100
    Re: pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why? didier gaumet <didier.gaumet@gmail.com> - 2020-12-21 10:40 +0100
      Re: pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works,  why? Gregor Zattler <telegraph@gmx.net> - 2020-12-21 11:30 +0100
        Re: pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why? didier gaumet <didier.gaumet@gmail.com> - 2020-12-21 12:20 +0100
    Forget it, user error (was: Re: pinentry-{qt,gtk2,gnome3} stopped  working pinentry-fltk works, why?) Gregor Zattler <telegraph@gmx.net> - 2020-12-21 12:10 +0100

#229871 — pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why?

FromGregor Zattler <telegraph@gmx.net>
Date2020-12-21 00:30 +0100
Subjectpinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why?
Message-ID<Bogjf-7i-1@gated-at.bofh.it>
Dear fellow debian users, since yesterday pinentry-{qt,gtk2,gnome3}
stopped working.  When I want to decrypt some .gpg file, no dialog
appears and gpg-agent times out.  Luckily pinentry-curses and
pinentry-fltk still do work.

This is on a buster system with gpg* packages from backports,
pinentry* packages from buster (since there are no backports).

Any ideas how to re-enable pinentry-qt (which displays most
info about the key in question)?


Ciao, Gregor
--
 -... --- .-. . -.. ..--.. ...-.-

[toc] | [next] | [standalone]


#229873

Fromdeloptes <deloptes@gmail.com>
Date2020-12-21 01:00 +0100
Message-ID<BogMh-gY-5@gated-at.bofh.it>
In reply to#229871
Gregor Zattler wrote:

> This is on a buster system with gpg* packages from backports,
> pinentry* packages from buster (since there are no backports).
> 
> Any ideas how to re-enable pinentry-qt (which displays most
> info about the key in question)?

why would you install gpg from backports?

If you install one - install all. Things changing in gpg impact the other
systems too.
I can not exclude issues with the related (pinentry* packages), but either
install all from the current or from the backports

[toc] | [prev] | [next] | [standalone]


#229875 — Re: pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why?

FromGregor Zattler <telegraph@gmx.net>
Date2020-12-21 11:10 +0100
SubjectRe: pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why?
Message-ID<BoqiB-6e0-11@gated-at.bofh.it>
In reply to#229873
Hi deloptes, debian users,
* deloptes <deloptes@gmail.com> [21. Dez. 2020]:
> Gregor Zattler wrote:
>
>> This is on a buster system with gpg* packages from backports,
>> pinentry* packages from buster (since there are no backports).
>>
>> Any ideas how to re-enable pinentry-qt (which displays most
>> info about the key in question)?
>
> why would you install gpg from backports?
>
> If you install one - install all. Things changing in gpg impact the other
> systems too.
> I can not exclude issues with the related (pinentry* packages), but either
> install all from the current or from the backports

there are no pinentry packages in backports.  The system
is up-to-date regarding the packages.


Ciao, Gregor
--
 -... --- .-. . -.. ..--.. ...-.-

[toc] | [prev] | [next] | [standalone]


#229874

Fromdidier gaumet <didier.gaumet@gmail.com>
Date2020-12-21 10:40 +0100
Message-ID<BopPz-5P7-9@gated-at.bofh.it>
In reply to#229871
Le lundi 21 décembre 2020 à 00:30:05 UTC+1, Gregor Zattler a écrit :
> Dear fellow debian users, since yesterday pinentry-{qt,gtk2,gnome3} 
> stopped working. When I want to decrypt some .gpg file, no dialog 
> appears and gpg-agent times out. Luckily pinentry-curses and 
> pinentry-fltk still do work. 
> 
> This is on a buster system with gpg* packages from backports, 
> pinentry* packages from buster (since there are no backports). 
> 
> Any ideas how to re-enable pinentry-qt (which displays most 
> info about the key in question)? 
> 
> 
> Ciao, Gregor 
> -- 
> -... --- .-. . -.. ..--.. ...-.-

Hello,

It is not clear to me if pinentry-{qt,gtk2,gnome3} stopped working or if it is not called anymore as it was previously.
As a first step, I would  check what are the values of pinentry and pinentry-x11 alternatives keys (you may use upate-alternatives in a terminal or {g,k}alternatives as a GUI tool).

[toc] | [prev] | [next] | [standalone]


#229876 — Re: pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why?

FromGregor Zattler <telegraph@gmx.net>
Date2020-12-21 11:30 +0100
SubjectRe: pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why?
Message-ID<BoqBY-6k8-1@gated-at.bofh.it>
In reply to#229874
Hi didier, debian users,
* didier gaumet <didier.gaumet@gmail.com> [21. Dez. 2020]:
> Le lundi 21 décembre 2020 à 00:30:05 UTC+1, Gregor Zattler a écrit :
>> Dear fellow debian users, since yesterday pinentry-{qt,gtk2,gnome3}
>> stopped working. When I want to decrypt some .gpg file, no dialog
>> appears and gpg-agent times out. Luckily pinentry-curses and
>> pinentry-fltk still do work.
>>
>> This is on a buster system with gpg* packages from backports,
>> pinentry* packages from buster (since there are no backports).

> It is not clear to me if pinentry-{qt,gtk2,gnome3} stopped working or if it is not called anymore as it was previously.
> As a first step, I would  check what are the values of pinentry and pinentry-x11 alternatives keys (you may use upate-alternatives in a terminal or {g,k}alternatives as a GUI tool).

thanks.  The alternatives mechanism was OK all the time, atm it is:
$ update-alternatives --display pinentry
pinentry - auto mode
link best version is /usr/bin/pinentry-fltk
link currently points to /usr/bin/pinentry-fltk
link pinentry is /usr/bin/pinentry
slave pinentry.1.gz is /usr/share/man/man1/pinentry.1.gz
/usr/bin/pinentry-curses - priority 50
slave pinentry.1.gz: /usr/share/man/man1/pinentry-curses.1.gz
/usr/bin/pinentry-fltk - priority 70
slave pinentry.1.gz: /usr/share/man/man1/pinentry-fltk.gz

Since I use etckeeper, I also know that there are no mofifications
under /etc in the time frame in question.

I now found a way to get more debug info from gpg-agent
and will check this.

Ciao, Gregor
--
 -... --- .-. . -.. ..--.. ...-.-

[toc] | [prev] | [next] | [standalone]


#229878

Fromdidier gaumet <didier.gaumet@gmail.com>
Date2020-12-21 12:20 +0100
Message-ID<Borol-6Qz-1@gated-at.bofh.it>
In reply to#229876
Le lundi 21 décembre 2020 à 11:30:06 UTC+1, Gregor Zattler a écrit :

> thanks. The alternatives mechanism was OK all the time, atm it is: 
> $ update-alternatives --display pinentry 
> pinentry - auto mode 
> link best version is /usr/bin/pinentry-fltk 
> link currently points to /usr/bin/pinentry-fltk 
> link pinentry is /usr/bin/pinentry 
> slave pinentry.1.gz is /usr/share/man/man1/pinentry.1.gz 
> /usr/bin/pinentry-curses - priority 50 
> slave pinentry.1.gz: /usr/share/man/man1/pinentry-curses.1.gz 
> /usr/bin/pinentry-fltk - priority 70 
> slave pinentry.1.gz: /usr/share/man/man1/pinentry-fltk.gz 

Ordinarily,  on my system, only pinentry-gnome3 is installed as I use Gnome.
To have an idea of your situation, I just installed other versions of pinentry.

didier@hp-notebook14:~$ update-alternatives --display pinentry-x11
pinentry-x11 - mode automatique
  link best version is /usr/bin/pinentry-gnome3
 le lien pointe actuellement sur /usr/bin/pinentry-gnome3
  link pinentry-x11 is /usr/bin/pinentry-x11
  slave pinentry-x11.1.gz is /usr/share/man/man1/pinentry-x11.1.gz
/usr/bin/pinentry-fltk - priorité 70
 lien secondaire pinentry-x11.1.gz : /usr/share/man/man1/pinentry-fltk.gz
/usr/bin/pinentry-gnome3 - priorité 90
 lien secondaire pinentry-x11.1.gz : /usr/share/man/man1/pinentry-gnome3.1.gz
/usr/bin/pinentry-gtk-2 - priorité 85
 lien secondaire pinentry-x11.1.gz : /usr/share/man/man1/pinentry-gtk-2.1.gz
/usr/bin/pinentry-qt - priorité 80
 lien secondaire pinentry-x11.1.gz : /usr/share/man/man1/pinentry-qt.1.gz
/usr/bin/pinentry-qt4 - priorité 80
 lien secondaire pinentry-x11.1.gz : /usr/share/man/man1/pinentry-qt4.1.gz

I would say that your system is not aware of an alternative version of pinentry-x11 other than pinentry-fltk.
So unless the end-user program you are using is overwriting the default setting, it seems adequate to me that pinentry-fltk is used.

You probably need to create alternatives entries (normally, that is automatically made by installing a particular version of pinentry-*, but you can try an apt reinstall or a dpkg-reconfigure of the problematic package), and then to declare priorities between alternatives in order to favor the flavor (qt?) you prefer.

[toc] | [prev] | [next] | [standalone]


#229877 — Forget it, user error (was: Re: pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why?)

FromGregor Zattler <telegraph@gmx.net>
Date2020-12-21 12:10 +0100
SubjectForget it, user error (was: Re: pinentry-{qt,gtk2,gnome3} stopped working pinentry-fltk works, why?)
Message-ID<BoreF-6Nt-1@gated-at.bofh.it>
In reply to#229871
Hi debian users,
* Gregor Zattler <telegraph@gmx.net> [21. Dez. 2020]:
> Dear fellow debian users, since yesterday pinentry-{qt,gtk2,gnome3}
> stopped working.  When I want to decrypt some .gpg file, no dialog
> appears and gpg-agent times out.  Luckily pinentry-curses and
> pinentry-fltk still do work.
>
> This is on a buster system with gpg* packages from backports,
> pinentry* packages from buster (since there are no backports).
>
> Any ideas how to re-enable pinentry-qt (which displays most
> info about the key in question)?

with further testing the pinentry-qt dialog appered
(but under another window).  No ide why it is not on top
any more, but this is another problem.


Ciao, Gregor
--
 -... --- .-. . -.. ..--.. ...-.-

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web