Bug#1127723: ssh key change procedure doesn't work any more

Marc Haber <[email protected]> Thu, 12 Feb 2026 21:41:35 +0100
Newsgroups gmane.linux.debian.devel.www
Message-ID <aY46_4MLX_VQhtm5__36512.3930898093$1770929007$gmane$org@torres.zugschlus.de>
On Thu, Feb 12, 2026 at 06:02:59PM +0100, Daniel Lange wrote:
>The /dev/tty handling in gpg has bitten some people since about a decade or so.
>
>The corresponding GPG_TTY variable is documented at
>
>https://www.gnupg.org/documentation/manuals/gnupg/Invoking-GPG_002dAGENT.html
>
>and you use it yourself in your initial email.
>
>The above recommends to add
>
>GPG_TTY=$(tty)
>export GPG_TTY
>
>to .bashrc.
>
>If you do that, the normal cat ... | gpg --whatever should work for you, too.

How many people are going to need that? If it's harmless, it should be 
part of the docs.

Greetings
Marc