diff options
author | Guillem Jover <guillem@debian.org> | 2019-02-15 04:25:06 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2019-02-23 15:49:01 +0100 |
commit | 024d7881d39d6ca4262209770d86fd649d0de544 (patch) | |
tree | 919307eee6706877b16ebe3e8c0b442d7586cea8 /scripts | |
parent | a35c1762911cf73ba8b8998f15ad8358cc91b929 (diff) | |
download | dpkg-024d7881d39d6ca4262209770d86fd649d0de544.tar.gz |
dpkg-buildpackage: Clarify the warning/error on short OpenPGP key IDs
Print where these are to be used.
Closes: #922039
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dpkg-buildpackage.pl | 6 |
1 files changed, 4 insertions, 2 deletions
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'); } } |