Package: gpgsm
Version: 2.0.3-1
Severity: normal
File: /usr/bin/gpgsm-gencert.sh

I am not sure how is it supposed to work (as documentation is very brief),
and I don't seem to have any configuration or pre-set settings.

To reproduce a problem, simply run the script:
 choose RSA key, 
 choose 2048bit long, 
 choose sign,encrypt
 enter DN name like: C=US,CN=MyName
 enter some email
 eventually choose to really create such CSR.
 it won't produce anything at the end (contrary to what manual says).

After some inspection I noticed that communication with "gpgsm --server" 
process produces the following:

OK GNU Privacy Guard's S/M server 2.0.3 ready
ERR 50331923 Unknown IPC command <GpgSM>
OK
ERR 50331926 No input source for IPC <GpgSM>
OK closing connection

The $file_parameter file (/tmp/gpgsm.xxxxx) seems fine, 
but the $outfile (another /tmp/gpgsm.xxxxx) is empty.

I see that script uses sh heavily, so I switched off dash, 
then it produces the following:

OK GNU Privacy Guard's S/M server 2.0.3 ready
OK
OK
gpgsm: line 1: key generation failed: Unknown IPC command
gpgsm: error creating certificate request: Unknown IPC command
ERR 50331923 Unknown IPC command <GpgSM>
OK closing connection

I guess some protocol has been changed and this script was not updated to 
incorporate changes, and still it would be nice if it worked better with dash.

marius

-- System Information:
Debian Release: lenny/sid
Architecture: i386 (i686)

Kernel: Linux 2.6.20.11-cfs-v10 (PREEMPT)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gpgsm depends on:
ii  libbz2-1.0                    1.0.3-6    high-quality block-sorting file co
ii  libc6                         2.5-0exp6  GNU C Library: Shared libraries
ii  libgcrypt11                   1.2.4-2    LGPL Crypto library - runtime libr
ii  libgpg-error0                 1.4-2      library for common error values an
ii  libksba8                      1.0.1-2    X.509 and CMS support library
ii  libpth20                      2.0.7-6    The GNU Portable Threads
ii  libusb-0.1-4                  2:0.1.12-6 userspace USB programming library
ii  zlib1g                        1:1.2.3-13 compression library - runtime

gpgsm recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to