Update: Windows commandline abnormality

Hideki Saito hidekis at gmail.com
Thu May 31 00:58:32 CEST 2007


I found the problem.
The path as installed by gpg4win specifies c:\program
files\gnu\gnupg\pub, and that binary somehow shows that behavior.
Changing the path to c:\program files\gnu\gnupg\ solved that problem.

(Copying the message to the gpg4win list, as well...)
> Just so I can make it clear, let me annotate where I pressed enter.
> (where [enter] is shown)
>   
>> This is something I started observing on gpg4win 1.1.0.
>>
>>
>> It seems like somehow, it is not handling interactive sessions.
>> For example;
>>
>> C:\>gpg --edit-key hideki [enter]
>>
>> C:\>gpg (GnuPG) 1.4.7; Copyright (C) 2006 Free Software Foundation, Inc.
>> This program comes with ABSOLUTELY NO WARRANTY.
>> This is free software, and you are welcome to redistribute it
>> under certain conditions. See the file COPYING for details.
>>
>> Secret key is available.
>>
>> pub 1024D/******** created: 2007-05-30 expires: 2007-06-02 usage: SC
>> trust: ultimate validity: ultimate
>> sub 2048g/******** created: 2007-05-30 expires: 2007-06-02 usage: E
>> [ultimate] (1). *****
>>
>>
>> Invalid command (try "help")
>>
>>
>> Invalid command (try "help")
>>
>>
>> Invalid command (try "help")
>>
>> Command>
>>
>>
>> and keep entering causes.
>>
>> C:\> [enter]
>>
>> pub 1024D/******** created: 2007-05-30 expires: 2007-06-02 usage: SC
>> trust: ultimate validity: ultimate
>> sub 2048g/******** created: 2007-05-30 expires: 2007-06-02 usage: E
>> [ultimate] (1). *****
>>
>>
>> Command> [enter]
>> C:\> [enter]
>>
>> pub 1024D/******** created: 2007-05-30 expires: 2007-06-02 usage: SC
>> trust: ultimate validity: ultimate
>> sub 2048g/******** created: 2007-05-30 expires: 2007-06-02 usage: E
>> [ultimate] (1). *****
>>
>>
>> Command> [enter]
>> C:\> [enter]
>>
>> Type in "exit" can pass that entry to the shell can cause shell to end
>> instead of exiting out of key edit mode.
>>
>> If I do gpg --version, this is what I get.
>> Notice some how it is returning to shell once the command is issued. C:\
>> prompt followed by verson information does not get displayed until I
>> press enter.
>>
>> C:\>gpg --version [enter]
>>
>> C:\>gpg (GnuPG) 1.4.7
>> Copyright (C) 2006 Free Software Foundation, Inc.
>> This program comes with ABSOLUTELY NO WARRANTY.
>> This is free software, and you are welcome to redistribute it
>> under certain conditions. See the file COPYING for details.
>>
>> Home: ****
>> Supported algorithms:
>> Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
>> Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
>> Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
>> Compression: Uncompressed, ZIP, ZLIB, BZIP2 
>> [enter]
>> C:\>
>>
>> This is perhaps another weird problem, but I see
>> C:\>gpg -sea [enter]
>>
>> C:\>gpg: conflicting commands
>> [enter]
>> C:\>
>>
>> This always worked for me before.
>>
>> This is fresh reinstallation of the operating system so I doubt if there
>> are any third party interference causing this. And there's nothing
>> specified in gpg.conf.
>> Anyone has idea what might be causing this, and is there any workaround
>> I can do?
>>
>> Thank you.
>> Hideki
>>
>>   
>>     
>
>
>   




More information about the Gnupg-users mailing list