help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc-mode, mercurial, gpg


From: Joakim Jalap
Subject: Re: vc-mode, mercurial, gpg
Date: Wed, 02 Mar 2016 09:33:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux)

Michael Welle <mwe012008@gmx.net> writes:

> Hello,
>
> I sign my mercurial change sets with gpg1. If I do a hg checkin in a
> terminal the configured pinentry opens and asks for the passphrase of
> the used gpg key. Performing the check-in operation with vc-mode results
> in
>
> gpg: cannot open tty `/dev/tty': No such device or address
>
> and an abortion. Emacs version is 24.5.1. Any hints on this?
>
> Regards
> hmw

I'm just going on a hunch here, but I have the following in my .zshrc:

GPG_TTY=$(tty)
export GPG_TTY

Maybe that is necessary?

I also recall some confusion about the move from gpg1 to gpg2 and
pinentry... but I can't remember what it was about.

-- Joakim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]