Commit f54c7fd1 authored by Jelmer Vernooij's avatar Jelmer Vernooij

Add fixer for public-upstream-key-not-minimal.

parent e76e2347
......@@ -5,6 +5,7 @@ lintian-brush (0.9) UNRELEASED; urgency=medium
* Don't attempt to remove python*-*-dbg packages; they include
files that are not in -dbgsym packages.
* Don't traceback when no .git directory is found.
* Add fixer for public-upstream-key-not-minimal.
-- Jelmer Vernooij <> Fri, 23 Nov 2018 13:59:02 +0000
......@@ -67,6 +67,9 @@ Lintian-Tags: package-uses-deprecated-debhelper-compat-version
Lintian-Tags: priority-extra-is-replaced-by-priority-optional
Lintian-Tags: public-upstream-key-not-minimal
Lintian-Tags: quilt-series-without-trailing-newline
run_gpg() {
gpg --no-default-keyring --keyring "${TEMP_KEYRING}" "$@"
gpg_export() {
run_gpg --export-options export-minimal,export-clean --export "$@"
if [ -f debian/upstream/signing-key.asc ]; then
run_gpg --import debian/upstream/signing-key.asc
gpg_export --armor > debian/upstream/signing-key.asc
if [ -f debian/upstream/signing-key.pgp ]; then
run_gpg --import debian/upstream/signing-key.pgp
gpg_export > debian/upstream/signing-key.pgp
echo "Re-export upstream signing key without extra signatures."
echo "Fixed-Lintian-Tags: public-upstream-key-not-minimal"
Re-export upstream signing key without extra signatures.
Fixed-Lintian-Tags: public-upstream-key-not-minimal
# TODO: re-export with;
# gpg --armor --export --export-options export-minimal,export-clean
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment