From: Raphael Hertzog Date: Sun, 27 Jan 2008 19:36:05 +0000 (+0100) Subject: Deprecate support of PGP X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd045b1012c992ccb0df87b3b531aca81883c647;p=dpkg Deprecate support of PGP --- diff --git a/ChangeLog b/ChangeLog index 06274c19..fe45de82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ in dpkg-source and dpkg-genchanges. * README.feature-removal-schedule, README.api: Deprecate support of custom changelog parsers that understand only the -v option. + * README.feature-removal-schedule: Deprecate support of PGP. 2008-01-27 Raphael Hertzog diff --git a/README.feature-removal-schedule b/README.feature-removal-schedule index 4d3517ee..da4e0f79 100644 --- a/README.feature-removal-schedule +++ b/README.feature-removal-schedule @@ -84,3 +84,11 @@ Why: Custom changelog parsers must be updated to support the new API (see dpkg-parsechangelog(1) and README.api). +What: support of PGP +Status: deprecated +When: lenny+1 +Warning: program +Why: + PGP is not part of Debian and GnuPG has been the standard tool for digital + signatures for several years already. Supporting only GnuPG enables us to + rely on some of its features. diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl index 88652999..ebb9247f 100755 --- a/scripts/dpkg-buildpackage.pl +++ b/scripts/dpkg-buildpackage.pl @@ -228,8 +228,14 @@ if ($forcesigninterface) { $signinterface = $signcommand; } -if ($signcommand && ($signinterface !~ /^(gpg|pgp)$/)) { - warning(_g("unknown sign command, assuming pgp style interface")); +if ($signcommand) { + if ($signinterface !~ /^(gpg|pgp)$/) { + warning(_g("unknown sign command, assuming pgp style interface")); + } elsif ($signinterface eq 'pgp') { + if ($signsource or $signchanges) { + warning(_g("PGP support is deprecated (see README.feature-removal-schedule)")); + } + } } if ($parallel) {