[SOLVED] gpg doesn't import secret keys for me any more

Ineiev ineiev at gnu.org
Tue Jan 15 18:05:39 CET 2019


On Mon, Jan 14, 2019 at 03:06:22PM -0500, Daniel Kahn Gillmor wrote:
> On Sat 2019-01-12 14:25:02 -0500, Ineiev wrote:
> > On Sat, Jan 12, 2019 at 02:12:47PM -0500, Ineiev wrote:
> >> dti at manas:~$ gpg --home h1 --import <sec.asc
> >
> > Sorry, this is what works:
> >
> > gpg --home h1 --import sec.asc
> 
> to be clear, i think the issue that you were having is that both
> commands use pinentry-tty, but the former command has stdin coming from
> the redirected file, not the tty.

Indeed, with pinentry-gtk-2, it works both ways.

> fwiw, if you use --batch with --import, there will be no attempt to use
> pinentry, ever, which should make both commands work without complaint.

Curiously, when I --export-secret-keys with --batch, it still requests
the password.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20190115/553a1873/attachment.sig>


More information about the Gnupg-users mailing list