This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=024d7881d39d6ca4262209770d86fd649d0de544 commit 024d7881d39d6ca4262209770d86fd649d0de544 Author: Guillem Jover <[email protected]> AuthorDate: Fri Feb 15 04:25:06 2019 +0100 dpkg-buildpackage: Clarify the warning/error on short OpenPGP key IDs Print where these are to be used. Closes: #922039 --- debian/changelog | 2 ++ scripts/dpkg-buildpackage.pl | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 327e980c9..ec12434ab 100644 --- a/debian/changelog +++ b/debian/changelog @@ -19,6 +19,8 @@ dpkg (1.19.5) UNRELEASED; urgency=medium SELinux. See #811037. * dpkg: Clarify error on unknown system user/group in statoverride database. Closes: #920880 + * dpkg-buildpackage: Clarify the warning/error on short OpenPGP key IDs. + Closes: #922039 * Documentation: - start-stop-daemon(1): Document behavior of --pidfile security checks. Closes: #921557 diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl index c50416580..b19f72278 100755 --- a/scripts/dpkg-buildpackage.pl +++ b/scripts/dpkg-buildpackage.pl @@ -829,10 +829,12 @@ sub signkey_validate { if (length $keyid <= 8) { error(g_('short OpenPGP key IDs are broken; ' . - 'please use key fingerprints instead')); + 'please use key fingerprints in %s or %s instead'), + '-k', 'DEB_SIGN_KEYID'); } elsif (length $keyid <= 16) { warning(g_('long OpenPGP key IDs are strongly discouraged; ' . - 'please use key fingerprints instead')); + 'please use key fingerprints in %s or %s instead'), + '-k', 'DEB_SIGN_KEYID'); } } -- Dpkg.Org's dpkg

