[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Small patch to enable use of gpg-agent with pgg
From: |
Simon Josefsson |
Subject: |
Re: Small patch to enable use of gpg-agent with pgg |
Date: |
Thu, 23 Mar 2006 14:08:14 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Daiki Ueno <address@hidden> writes:
> $ gpg --version
> gpg (GnuPG) 1.4.2.2
> $ gpg-agent --version
> gpg-agent (GnuPG) 1.9.20
Same here, from Debian testing.
>> The *pgg-gpg-debug* buffer contains:
>
>> gpg: NOTE: signature key 5C980097 expired Wed Apr 10 12:19:06 2002 CEST
>> [GNUPG:] KEYEXPIRED 1018433946
>> [GNUPG:] SIGEXPIRED deprecated-use-keyexpired-instead
>
> The *pgg-gpg-debug* buffer looks like this:
>
> [GNUPG:] USERID_HINT A5B6B2D4B15813FE Daiki Ueno <address@hidden>
> [GNUPG:] NEED_PASSPHRASE A5B6B2D4B15813FE A5B6B2D4B15813FE 17 0
> [GNUPG:] GET_HIDDEN passphrase.enter
> [GNUPG:] GOT_IT
> [GNUPG:] GOOD_PASSPHRASE
> gpg: writing to `/tmp/pgg-output11169j3s'
> gpg: DSA/SHA1 signature from: "B15813FE Daiki Ueno <address@hidden>"
> [GNUPG:] SIG_CREATED D 17 2 00 1143115847
> 80037CD00F1A940003CA50AAA5B6B2D4B15813FE
Ok, I got your file to work for two cases:
1) gpg-agent with normal secret key
2) no gpg-agent with normal secret key
but not with
3) gpg-agent with secret on smart card
With the stuff in CVS, all three work, but I have to toggle
pgg-gpg-use-agent manually.
Your code has a better query too (since it know which key gpg actually
wants), and it may improve passphrase caching too. Very nice!
Maybe you can finish this code, and I can debug why it doesn't work
for a smartcard separately. It is probably not an important feature.
- Re: Small patch to enable use of gpg-agent with pgg, (continued)
- Re: Small patch to enable use of gpg-agent with pgg, Simon Josefsson, 2006/03/21
- Re: Small patch to enable use of gpg-agent with pgg, Sascha Wilde, 2006/03/22
- Re: Small patch to enable use of gpg-agent with pgg, Daiki Ueno, 2006/03/22
- Re: Small patch to enable use of gpg-agent with pgg, Simon Josefsson, 2006/03/22
- Re: Small patch to enable use of gpg-agent with pgg, Sascha Wilde, 2006/03/22
- Re: Small patch to enable use of gpg-agent with pgg, Simon Josefsson, 2006/03/27
- Re: Small patch to enable use of gpg-agent with pgg, Daiki Ueno, 2006/03/22
- Re: Small patch to enable use of gpg-agent with pgg, Daiki Ueno, 2006/03/23
- Re: Small patch to enable use of gpg-agent with pgg, Simon Josefsson, 2006/03/23
- Re: Small patch to enable use of gpg-agent with pgg, Daiki Ueno, 2006/03/23
- Re: Small patch to enable use of gpg-agent with pgg,
Simon Josefsson <=
- Re: Small patch to enable use of gpg-agent with pgg, Daiki Ueno, 2006/03/24
- Re: Small patch to enable use of gpg-agent with pgg, Daiki Ueno, 2006/03/25
- Re: Small patch to enable use of gpg-agent with pgg, Simon Josefsson, 2006/03/25
- Re: Small patch to enable use of gpg-agent with pgg, Miles Bader, 2006/03/25
- Re: Small patch to enable use of gpg-agent with pgg, Daiki Ueno, 2006/03/26
- Re: Small patch to enable use of gpg-agent with pgg, Simon Josefsson, 2006/03/26
- Re: Small patch to enable use of gpg-agent with pgg, Sascha Wilde, 2006/03/26
- Re: Small patch to enable use of gpg-agent with pgg, Simon Josefsson, 2006/03/27
- Re: Small patch to enable use of gpg-agent with pgg, Sascha Wilde, 2006/03/23
- Re: Small patch to enable use of gpg-agent with pgg, Daiki Ueno, 2006/03/23