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


Groups > linux.debian.user > #183566

gpg finds no secret key when logging remotely after upgrade to stretch

From "Ricardo Yanez" <ricardo.yanez@calel.org>
Newsgroups linux.debian.user
Subject gpg finds no secret key when logging remotely after upgrade to stretch
Date 2017-07-11 20:30 +0200
Message-ID <u2853-5KF-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


My gpg key works just fine in a gnome-terminal when I'm logged in via
the gnome display manager. New in stretch is that gnome now pops a
windows for me to give the passphrase, which is really nice, but not so
good if I'm remotely logged-in via SSH. Then I get the disturbing error,

 gpg: public key decryption failed: Operation cancelled
 gpg: decryption failed: No secret key

It turns out, when I'm still logged-in via the display manager, the
passphrase prompt pops up locally. I have to force-logout gnome and kill
gpg-agent to be able to run gpg remotely, and even so, the gpg-agent
pops a sort of text window. It seems the terminal emulator cannot tell
the difference.

Is there a way to instruct gpg to request the passphrase in the
old-fashioned way, in the terminal, when logged-in remotely via SSH?

Thanks,
Ricardo

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

gpg finds no secret key when logging remotely after upgrade to  stretch "Ricardo Yanez" <ricardo.yanez@calel.org> - 2017-07-11 20:30 +0200
  Re: gpg finds no secret key when logging remotely after upgrade to stretch Teemu Likonen <tlikonen@iki.fi> - 2017-07-11 21:00 +0200
  Re: gpg finds no secret key when logging remotely after upgrade to stretch deloptes <deloptes@gmail.com> - 2017-07-11 22:50 +0200

csiph-web