hg sign -- GnuPG key with passphrase

Martin Geisler mg at daimi.au.dk
Mon Jul 7 16:06:36 CDT 2008


Arne Babenhauserheide <arne_bab at web.de> writes:

> I just now also got a passphrase problem: My GnuPG key is passphrase 
> protected, and 
>
> hg sign
>
> just answers "you need a passphrase..." 
>
> Is there a way to get "hg sign" to ask for my passphrase? 

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:

% 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

gpg: gpg-agent is not available in this session
Enter passphrase: 
gpg: Interrupt caught ... exiting
interrupted!

(I pressed Control-C to cancel the signing.)

-- 
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/20080707/9993cb57/attachment.pgp 


More information about the Mercurial mailing list