Re: gpg-agent automatically use passphrase for signing subkey?

2011-07-24 Thread Werner Koch
On Sat, 23 Jul 2011 16:30, kloec...@kde.org said: to use the cache for signing but not for decryption), so why not add another option like --share-signing-and-decryption-cache? (I guess, if I really wanted this I should provide a patch. :-) ) Actually an option is not even required. When

Re: gpg-agent automatically use passphrase for signing subkey?

2011-07-23 Thread Ingo Klöcker
On Friday 22 July 2011, Charly Avital wrote: Chris Poole CAF=p9qbcmfqkvv_49a5nysoswzkh2ka_kjo5wjy2onm6yhs...@mail.gmail.com wrote on 7/22/11 10:38:39 AM: On Thu, Jul 21, 2011 at 5:30 PM, Charly Avital shavi...@mac.com wrote: When your passphrase has been cached for each of those

Re: gpg-agent automatically use passphrase for signing subkey?

2011-07-23 Thread Richard
As far as I know every subkey holds its own passphrase (per default, they are all identical for a given primary key). This means that passphrase requests are actually not action-based, but key-based. Please correct me if I'm wrong. :) Richard ___

Re: gpg-agent automatically use passphrase for signing subkey?

2011-07-23 Thread Chris Poole
2011/7/23 Ingo Klöcker kloec...@kde.org: There is already the option --ignore-cache-for-signing (curiously the corresponding option for decryption is missing, i.e. it's not possible to use the cache for signing but not for decryption), so why not add another option like

Re: gpg-agent automatically use passphrase for signing subkey?

2011-07-22 Thread Chris Poole
On Thu, Jul 21, 2011 at 5:30 PM, Charly Avital shavi...@mac.com wrote: gpg-agent goes by *actions*:  decrypt, or sign. gpg-agent is invoked whenever you use your secret key, either for decrypting or for signing. As far as gpg-agent is concerned, those are two different *actions*. When

Re: gpg-agent automatically use passphrase for signing subkey?

2011-07-22 Thread Charly Avital
Chris Poole CAF=p9qbcmfqkvv_49a5nysoswzkh2ka_kjo5wjy2onm6yhs...@mail.gmail.com wrote on 7/22/11 10:38:39 AM: On Thu, Jul 21, 2011 at 5:30 PM, Charly Avital shavi...@mac.com wrote: When your passphrase has been cached for each of those *actions*, it will remain in gpg-agent's memory for the

gpg-agent automatically use passphrase for signing subkey?

2011-07-21 Thread Chris Poole
Hi I have a program which encrypts and signs files; I supply the same key ID for both operations, the 'primary ID'. My key actually consists of the main key and two subkeys, for encryption and signing. I'm using gpg-agent to cache my passphrase. I get asked for my passphrase (pinentry screen)

Re: gpg-agent automatically use passphrase for signing subkey?

2011-07-21 Thread Charly Avital
Chris Poole CAF=p9qd+tpgrpnlkk9qr9efhslgcoo8t3dtjuzrbi+bvsis...@mail.gmail.com wrote on 7/21/11 2:51:42 PM: Hi I have a program Which version of GnuPG are you running, and where did you download it from, please? Just for information. which encrypts and signs files; I supply the same key ID

Re: gpg-agent automatically use passphrase for signing subkey?

2011-07-21 Thread Chris Poole
Perhaps I explained poorly. I'm using gpg 1.4.11, gpg-agent 2.0.17. Is it possible to enter a passphrase using gpg-agent, and have it cached such that it's used whenever I want to use any subkeys from the same main key? Scenario: I sign a file with my signing subkey, and give gpg-agent my

Re: gpg-agent automatically use passphrase for signing subkey?

2011-07-21 Thread Charly Avital
Chris Poole CAF=p9qdhabjhb6v6icde12qvvt1xy7mtylp0_-3+0eu0fuy...@mail.gmail.com wrote on 7/21/11 4:40:17 PM: Perhaps I explained poorly. You explained very clearly. I'm using gpg 1.4.11, gpg-agent 2.0.17. You can have, as I do, both 1.4.11 and 2.0.17 installed side by side in the same system.