lkml.org 
[lkml]   [2022]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [GIT PULL] pin control fixes for v6.1
Hi Linus,

On Wed, Nov 16, 2022 at 3:59 PM Linus Walleij <linus.walleij@linaro.org> 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@linux-m68k.org

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

\
 
 \ /
  Last update: 2022-11-28 15:00    [W:0.062 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site