hg sign -- GnuPG key with passphrase

Martin Geisler mg at daimi.au.dk
Tue Jul 8 12:54:48 CDT 2008


Hans Meine <meine at informatik.uni-hamburg.de> writes:

> Am Montag, 07. Juli 2008 23:06:36 schrieb Martin Geisler:
>> When I do a 'hg sign' I am asked for my passphrase just fine -- I'm
>> running a Debian Unstable and I don't think I have changed anything with
>> relation to this. I got this output:
>> [...]
>> gpg: gpg-agent is not available in this session
>> Enter passphrase:
> The above output suggests that you have "use-agent" in your
> ~/.gnupg/gpg.conf - maybe that makes a difference, even though
> gpg-agent is not available.

You're right, I had the use-agent set. But disabling makes no real
difference on my system:

% hg sign
Signing 813:33f8fbf147a7

You need a passphrase to unlock the secret key for
user: "Martin Geisler <mgeisler at mgeisler.net>"
1024-bit DSA key, ID 7E45DD38, created 2005-02-14

Enter passphrase: 
gpg: Interrupt caught ... exiting
interrupted!

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080708/e521b9be/attachment.pgp 


More information about the Mercurial mailing list