Your message dated Sat, 12 Apr 2025 14:08:46 +0200
with message-id <[email protected]>
and subject line Re: gpgsm-gencert.sh: exits prematurely
has caused the Debian Bug report #656711,
regarding gpgsm-gencert.sh: exits prematurely
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.)


-- 
656711: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656711
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gpgsm
Version: 2.0.18-2
Severity: normal

Two problems:

Really create such a CSR?
 [1] yes
 [2] no
Your selection: 1
You selected: yes
gpgsm: error creating keybox `/root/.gnupg/pubring.kbx': No such file or 
directory
gpgsm: you may want to start the gpg-agent first
gpgsm: keyblock resource `/root/.gnupg/pubring.kbx': No such file or directory
=> Please check for this file before asking all these questions.

This code section:
    [ -n "$DNS_ADDRESSES" ] && echo "$DNS_ADDRESSES"
    [ -n "$URI_ADDRESSES" ] && echo "$URI_ADDRESSES"
    ) > "$file_parameter"
causes the whole script to exit prematurely when URI_ADDRESSES is empty. This 
is because the last command's exit code propagates out of the sub-shell, and 
the main shell has -e set. Add "true" in front of the closing parenthesis to 
fix that:
    [ -n "$DNS_ADDRESSES" ] && echo "$DNS_ADDRESSES"
    [ -n "$URI_ADDRESSES" ] && echo "$URI_ADDRESSES"
    true
    ) > "$file_parameter"

NB: The second error message, above, seems to say that adding gnupg-agent to 
the package's Recommends: would make a whole lot of sense.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'unstable'), (600, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gpgsm depends on:
ii  libassuan0     2.0.2-1
ii  libbz2-1.0     1.0.6-1
ii  libc6          2.13-24
ii  libgcrypt11    1.5.0-3
ii  libgpg-error0  1.10-2
ii  libksba8       1.2.0-2
ii  libreadline6   6.2-8
ii  scdaemon       2.0.18-2
ii  zlib1g         1:1.2.3.4.dfsg-3

gpgsm recommends no packages.

gpgsm suggests 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