[Reportbug-maint] Bug#573558: reportbug: should warn when given -K without --gpg or --pgp

Jonathan Wiltshire debian at jwiltshire.org.uk
Fri Mar 12 12:28:32 UTC 2010

Package: reportbug
Version: 4.10.2
Severity: normal

Specifying they key to be used for a signed email with -K, but not passing the
 --gpg or --pgp options, results in an unsigned email being submitted without
warning. At the very least, reportbug should warn that the mail will be
unsigned, and at best should try to guess which type of signature the user
intended. Currently by the time it's clear that the mail will not be signed,
it's too late anyway.

-- Package-specific info:
** Environment settings:
DEBEMAIL="debian at jwiltshire.org.uk"
DEBFULLNAME="Jonathan Wiltshire"

** /home/jona/.reportbugrc:
reportbug_version "3.48"
mode advanced
ui text

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reportbug depends on:
ii  apt                    Advanced front-end for dpkg
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-reportbug              4.10.2     Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils        1.5.28              debconf utilities
pn  debsums              <none>              (no description available)
pn  dlocate              <none>              (no description available)
pn  emacs22-bin-common | <none>              (no description available)
ii  file                 5.04-1              Determines file type using "magic"
ii  gnupg                1.4.10-2            GNU privacy guard - a free PGP rep
ii  postfix [mail-transp 2.7.0-1             High-performance mail transport ag
ii  python-gtk2          2.16.0-2            Python bindings for the GTK+ widge
ii  python-gtkspell      2.25.3-4.1+b3       Python bindings for the GtkSpell l
pn  python-urwid         <none>              (no description available)
ii  python-vte           1:0.22.5-2          Python bindings for the VTE widget
ii  xdg-utils            1.0.2+cvs20100223-1 desktop integration utilities from

-- no debconf information

More information about the Reportbug-maint mailing list