Package: git
Version: 1:2.11.0-3+deb9u4
Severity: normal

In some git tree, observed behaviour:

$ git tag -u no-such-key -s -m spong foo
error: gpg failed to sign the data
error: unable to sign the tag
$ echo $?
128

Expected behaviour:

$ git tag -u no-such-key -s -m spong foo
gpg: skipped "no-such-key": No secret key
gpg: [stdin]: clear-sign failed: No secret key
error: gpg failed to sign the data
error: unable to sign the tag
$

-- System Information:
Debian Release: 9.9
  APT prefers oldstable-debug
  APT policy: (500, 'oldstable-debug'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-0.bpo.5-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages git depends on:
ii  dpkg             1.18.25
ii  git-man          1:2.11.0-3+deb9u4
ii  libc6            2.24-11+deb9u4
ii  libcurl3-gnutls  7.52.1-5+deb9u9
ii  liberror-perl    0.17024-1
ii  libexpat1        2.2.0-2+deb9u2
ii  libpcre3         2:8.39-3
ii  perl             5.24.1-3+deb9u5
ii  zlib1g           1:1.2.8.dfsg-5

Versions of packages git recommends:
ii  less                         481-2.1
ii  openssh-client [ssh-client]  1:7.4p1-10+deb9u6
ii  patch                        2.7.5-1+deb9u1
ii  rsync                        3.1.2-1+deb9u2

Versions of packages git suggests:
ii  gettext-base                          0.19.8.1-2
pn  git-arch                              <none>
pn  git-cvs                               <none>
pn  git-daemon-run | git-daemon-sysvinit  <none>
pn  git-doc                               <none>
pn  git-el                                <none>
ii  git-email                             1:2.11.0-3+deb9u4
ii  git-gui                               1:2.11.0-3+deb9u4
pn  git-mediawiki                         <none>
ii  git-svn                               1:2.11.0-3+deb9u4
ii  gitk                                  1:2.11.0-3+deb9u4
pn  gitweb                                <none>

-- no debconf information

Reply via email to