Libcurl (was Re: [Announce] GnuPG 1.4.1 released)

Carlo Luciano Bianco clbianco at tiscalinet.it
Wed Mar 23 10:06:03 CET 2005


Il /22 mar 2005/, *David Shaw* ha scritto:

> On Tue, Mar 22, 2005 at 11:38:47PM +0100, Carlo Luciano Bianco wrote:
> 
>> By the way, what do you think about the path problem? I tried to add
[...]
> Can you try running with '--debug 1024' ?  Do two runs, one with, and
> one without --exec-path (on the command line).

Sure. Without exec-path:

--------------------------------------------------------------------------
c:\>gpg --keyserver http://whatever --debug 1024 --recv-keys 99999999
gpg: lettura delle opzioni da `H:/GnuPG\gpg.conf'
gpg: DBG: set_exec_path method 0: PATH=c:\programmi\gnupg
gpg: DBG: expanding string "gpgkeys_curl -o "%o" "%i""
gpg: DBG: args expanded to "gpgkeys_curl -o "[]tempout.txt" "[]tempin.txt"", 
use 1, keep 0
gpg: DBG: using temp file `[]tempin.txt'
gpg: requesting key 99999999 from http server whatever
gpg: DBG: system() command is gpgkeys_curl -o "[]tempout.txt" "[]tempin.txt"
[...]
secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/32768
--------------------------------------------------------------------------

and with exec-path:

--------------------------------------------------------------------------
c:\>gpg --keyserver http://whatever --debug 1024 --exec-path "%PATH%"
--recv-keys 99999999
gpg: lettura delle opzioni da `H:/GnuPG\gpg.conf'
gpg: DBG: set_exec_path method 0: PATH=Whole_PATH
gpg: DBG: set_exec_path method 1: PATH=Whole_PATH
gpg: DBG: expanding string "gpgkeys_curl -o "%o" "%i""
gpg: DBG: args expanded to "gpgkeys_curl -o "[]tempout.txt" "[]tempin.txt"", 
use 1, keep 0
gpg: DBG: using temp file `[]tempin.txt'
gpg: requesting key 99999999 from http server whatever
gpg: DBG: system() command is gpgkeys_curl -o "[]tempout.txt" "[]tempin.txt"
[...]
secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/32768
--------------------------------------------------------------------------

I have summarized a bit the reports, to make them easier to read. When I 
wrote "[]" I mean the real full path of the files tempin and tempout in the 
temporary folder, and with "Whole_PATH" I mean the real value of my system 
%PATH% (which is more than 10 lines long, that's why I removed it).

By the way, I have inspected, while running, gpg.exe with SysInternals' 
Process Explorer. It seems that gpg.exe itself does not see the real %PATH%. 
The environment associated with the running image of gpg.exe has a PATH 
limited to c:\programmi\gnupg.

Can the extra-lenght of my %PATH% be a problem? It is 701 characters.

-- 
| Carlo Luciano Bianco | ICQ UIN: 109517158                              |
|______________________| Home page: <http://clbianco.altervista.org/>    |
|GPG DSA/ElG 1024/4096:|_________________________________________________|
|KeyID:0x5324A0DA - Fingerprint:8B00C61034120506111B143DEDBF71B45324A0DA |




More information about the Gnupg-users mailing list