[Reportbug-maint] Bug#558364: reportbug: Please add configuration variable for GPG key id

gregor herrmann gregoa at debian.org
Sat Nov 28 10:08:26 UTC 2009


Package: reportbug
Version: 4.8
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Like probably many others I have at the moment 2 GPG keys. I was
curious why reportbug doesn't use the default one. Looking at the
code, I ended at /usr/share/pyshared/reportbug/submit.py's line 125,
which calls "gpg --local-user $email", and gnupg seems to return the
first key it finds for this email address.

Being able to set the desired key id in .reportbugrc would be nice,
reportbug could then simple use this value for "--local-user".

(The other option might be to drop the --local-user stuff, then gpg
should use the default from .gnupg/gpg.conf.)

Cheers,
gregor


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAksQ9poACgkQOzKYnQDzz+Q2OQCg15ZUJ1xdaj+2fZr9gnLwpWB6
pTkAoPG/Mf9H1djDgzjFMOhmA8hdYS7U
=nIqp
-----END PGP SIGNATURE-----





More information about the Reportbug-maint mailing list