Re: Change agent-socket path

2016-07-04 Thread Werner Koch
On Mon, 4 Jul 2016 21:43, w...@wolfsden.cz said: > I did some thinking about this and I must admit that I don't see why the > check is needing at all. In what situation relaxing the check would case Such a directory may already exist with sufficient permission for any user to create a socket. A

Re: Change agent-socket path

2016-07-04 Thread Wolf
On , Werner Koch wrote: > On Fri, 1 Jul 2016 01:58, w...@wolfsden.cz said: > > > the building/signing is done in fakeroot environment. Therefore the > > socket path default to ~/.gnupg/S.gnu-agent. Because (at least it seems > > to me) in fakeroot I am root (0) and therefore don't own /run/user/1

Re: gpg-agent and ~/.ssh/config IdentityFile

2016-07-04 Thread Muri Nicanor
Hello, On 07/04/2016 01:36 PM, Peter Lebbing wrote: > On 04/07/16 10:10, Muri Nicanor wrote: >> if i use gpg-agent with ssh-support, is there a way to use the >> IdentityFile option in ~/.ssh/config? When using ssh-agent i can point >> IdentityFile to the corresponding private key, but i don't kno

Re: gpg-agent and ~/.ssh/config IdentityFile

2016-07-04 Thread Peter Lebbing
On 04/07/16 10:10, Muri Nicanor wrote: > if i use gpg-agent with ssh-support, is there a way to use the > IdentityFile option in ~/.ssh/config? When using ssh-agent i can point > IdentityFile to the corresponding private key, but i don't know how i > could do that using gpg-agent (esp. if the key i

invoke gpg with popen but cannot get output from the pipe

2016-07-04 Thread yuriping
Hi all:    I'm using gpg 1.4.10.    Now I want to operate it in my program, and I want to get the output info of gpg from popen, in order that I can process them. Codes like the following:#include #include #inc

gpg-agent and ~/.ssh/config IdentityFile

2016-07-04 Thread Muri Nicanor
Hi, this is actually more a ssh question, but i guess that the likelihood for someone having the same problem is higher on gnupg-users: if i use gpg-agent with ssh-support, is there a way to use the IdentityFile option in ~/.ssh/config? When using ssh-agent i can point IdentityFile to the corresp