Re: adding passphrases to gpg-agent

2006-12-05 Thread Alex Mauer
Werner Koch wrote: For example, you don't need to use ssh-add every time after starting the agent. You do it only once and gpg-agent will store the entire key on disk and no just in memeory as ssh-agent does. Is it possible to control/disable this behavior? I prefer to keep my ssh keys

Re: adding passphrases to gpg-agent

2006-12-05 Thread Werner Koch
On Tue, 5 Dec 2006 17:11, [EMAIL PROTECTED] said: Is it possible to control/disable this behavior? I prefer to keep my ssh keys only on a USB disk, and not have them copied to any machine on which I happen to load them. Make a ~/.gnupg/private-keys-v1.d/ a symlink to your USB disk.

Re: adding passphrases to gpg-agent

2006-11-28 Thread Werner Koch
On Fri, 24 Nov 2006 15:07, [EMAIL PROTECTED] said: says that a different socket is opened for this functionality. But then a client would know about it only through inheriting an env variable; I would use the --use-standard-socket for gpg-agent signing/encryption socket, but what about the

Re: adding passphrases to gpg-agent

2006-11-24 Thread Jorge Almeida
On Fri, 24 Nov 2006, Ivan Boldyrev wrote: $ locate gpg-preset-passphrase /usr/libexec/gpg-preset-passphrase Yep, it's good to do updatedb regularly :) Anyway, it seems the design of gpg-agent is not compatible with what I wanted. With ssh-agent, I have a always-running service (supervised

Re: adding passphrases to gpg-agent

2006-11-24 Thread Werner Koch
On Fri, 24 Nov 2006 10:01, [EMAIL PROTECTED] said: need) and which I can setup once and forget about it. Of course, identities must be added (with ssh-add) after rebooting or if the service goes down for some random reason (it didn't happen yet) or if I It seems that you don't understand for

Re: adding passphrases to gpg-agent

2006-11-24 Thread Werner Koch
On Thu, 23 Nov 2006 12:21, [EMAIL PROTECTED] said: The command is lurking in /usr/libexec/gpg-preset-passphrase for some reason. Guess it's not intended to be used directly ? It does not make sense to be used in an interactive environment. It is useful for server systems only and then having

Re: adding passphrases to gpg-agent

2006-11-24 Thread Jorge Almeida
On Fri, 24 Nov 2006, Werner Koch wrote: That is how you use gpg-agent. Really, it is a plug-in replacement of ssh-agent. It works different internally but at a user level it is very simlar. My talk about ssh-agent may have induced you in error. My fault. I was not comparing ssh-agent with

adding passphrases to gpg-agent

2006-11-23 Thread Jorge Almeida
Isn't there some way to do for gpg-agent what ssh-add does for ssh-agent? I'm trying to use a unique gpg-agent listening at a standard socket. Unless I'm missing something, the only way I have to provide passphrases to gpg-agent is to try some job (signing something, or whatever) and then give

Re: adding passphrases to gpg-agent

2006-11-23 Thread Werner Koch
On Thu, 23 Nov 2006 10:25, [EMAIL PROTECTED] said: Isn't there some way to do for gpg-agent what ssh-add does for ssh-agent? No, gpg-agent works different. If you want to preset a passphrase, you may do so using gpg-preset-passphrase - there is a man page for it. Shalom-Salam, Werner

Re: adding passphrases to gpg-agent

2006-11-23 Thread Jorge Almeida
On Thu, 23 Nov 2006, Werner Koch wrote: On Thu, 23 Nov 2006 10:25, [EMAIL PROTECTED] said: Isn't there some way to do for gpg-agent what ssh-add does for ssh-agent? No, gpg-agent works different. If you want to preset a passphrase, you may do so using gpg-preset-passphrase - there is a man

Re: adding passphrases to gpg-agent

2006-11-23 Thread Werner Koch
On Thu, 23 Nov 2006 11:55, [EMAIL PROTECTED] said: OK, that seems to do the job (not much different from ssh-add, is it?), judging by the contents of ssh-add loads a key into ssh-agent and to dothis it has to ask for the passphrase. gpg-preset-passphrase merely stores a passphrase into

Re: adding passphrases to gpg-agent

2006-11-23 Thread Ivan Boldyrev
On 9667 day of my life Jorge Almeida wrote: If you want to preset a passphrase, you may do so using gpg-preset-passphrase - there is a man page for it. Now, my system doesn't have such command. I have gnupg 1.4.5 and 1.9.20. (OS is gentoo linux) $ locate gpg-preset-passphrase