Your message dated Sat, 12 Apr 2025 14:01:03 +0200
with message-id <[email protected]>
and subject line Re: Bug#422990: /usr/bin/gpgsm-gencert.sh: gpgsm-gencert.sh is 
broken: does not generate anything due to GNU Privacy Guard communication 
problems
has caused the Debian Bug report #422990,
regarding /usr/bin/gpgsm-gencert.sh: gpgsm-gencert.sh is broken: does not 
generate anything due to GNU Privacy Guard communication problems
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
422990: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422990
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Version: 2.1.6-1

gpgsm-gencert.sh has been dropped ages ago:

gnupg2 (2.1.6-1) experimental; urgency=medium

  * new upstream release
  * drop deprecated gpgsm-gencert.sh

 -- Daniel Kahn Gillmor <[email protected]>  Tue, 07 Jul 2015 14:27:23 
-0400

cu Andreas

--- End Message ---

Reply via email to