Re: Side-By-Side Installation: Gpg4win and gnuPG

2016-07-11 Thread Andre Heinecke
Hi,

On Sunday 10 July 2016 00:57:51 Kob S wrote:
> Running  C:\gnupg2.1.13\gpg --expert --full-gen-key
> 
... 
> I suspect that gnuPG is looking at the same \AppData\Roaming\gnupg
> directory that is being used by gpg4win. If that is the case, is there a
> way to force gnuPG to use a different directory? I could not find any
> config file that would let me do that.
> 
> Thanks for any help,

Although using the same homedir should not hurt much, gnupg-2.1 will migrate 
your secret keys to a new format but leave the files in a way that gnupg-2.0 
can still read them. But there will be problems with the gnupg-agent as gnupg 
needs the same version of the agent that the program belongs to.

To avoid that you should specify --homedir c:\testhome or something on the 
commandline to 2.1 calls. Then it will use that as a different homedir.

e.g.:

gpg --homedir c:\testhome --expert --full-gen-key 

would generate you a key in c:\testhome

Regards,
Andre

-- 
Andre Heinecke |  ++49-541-335083-262  | http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

signature.asc
Description: This is a digitally signed message part.
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Side-By-Side Installation: Gpg4win and gnuPG

2016-07-11 Thread Kob S

>To avoid that you should specify --homedir c:\testhome or something on the
>commandline to 2.1 calls. Then it will use that as a different homedir.

>e.g.:   gpg --homedir c:\testhome --expert --full-gen-key

This works now like a charm. 

Thanks,

Rimma


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Side-By-Side Installation: Gpg4win and gnuPG

2016-07-09 Thread Kob S
Hello,

I am using gpg4win V. 2.3.2 on a WIN7 machine, but I want to test the gnuPG 
2.1.13 on the same machine, using the CLI, without interfering with the 
existing gpg4win installation.

I downloaded and expanded the gnuPG 2.1.13 Windows CLI archive into a new 
directory, and made sure to fully exit gpg4win. 

Running  C:\gnupg2.1.13\gpg --expert --full-gen-key

I got the following message:

"gpg: starting migration from earlier GnuPG versions" and an attempt to connect 
by an agent using IPC to a socket on the local machine - which I blocked by my 
firewall to avoid messing up my existing gpg4win installation.

I suspect that gnuPG is looking at the same \AppData\Roaming\gnupg 
directory that is being used by gpg4win. If that is the case, is there a way to 
force gnuPG to use a different directory? I could not find any config file that 
would let me do that.

Thanks for any help,

Rimma

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users