Re: [GIT PULL] pin control fixes for v6.1

From: Geert Uytterhoeven
Date: Mon Nov 28 2022 - 08:59:24 EST


Hi Linus,

On Wed, Nov 16, 2022 at 3:59 PM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> What took time for me was to figure out how to get the
> GPG password entry for signing the tag come up in
> curses on a remote machine instead of giving up when
> trying to open the secure little signing widget that locks
> the desktop UI which it doesn't have. Comes down to
> export PINENTRY_USER_DATA=USE_TTY=1
> then creating .gnupg/gpg-agent.conf setting up
> pinentry-program /usr/bin/pinentry-curses.
> Well that was not intuitive, especially not an
> environment variable containing an environment
> variable. GPG might need some UX polish (or maybe
> it's the distros that do this to us). Anyway here it is!

I don't remember the exact commands I used when preparing for last
ELC-E, but some Googling suggests:

sudo apt install pinentry-tty
sudo update-alternatives --config pinentry

At least I do have
/etc/alternatives/pinentry -> /usr/bin/pinentry-curses

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds