Debian Bug report logs - #44579
dpkg: dpkg-scansources: doesn't accept GnuPG-signed .dsc file (contains blank line)

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg.

Reported by: Lazarus Long <lazarus@overdue.dhis.org>

Date: Wed, 8 Sep 1999 10:48:10 UTC

Severity: normal

Done: Anthony Towns <ajt@master.debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>:
Bug#44579; Package dpkg. Full text and rfc822 format available.

Acknowledgement sent to Lazarus Long <lazarus@overdue.dhis.org>:
New bug report received and forwarded. Copy sent to Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Lazarus Long <lazarus@overdue.dhis.org>
To: submit@bugs.debian.org
Subject: dpkg: dpkg-scansources: doesn't accept GnuPG-signed .dsc file (contains blank line)
Date: Wed, 08 Sep 1999 10:38:37 +0000
Package: dpkg
Version: 1.4.1.6
Severity: normal

=== Begin screen paste ===
dpkg-scansources: dists/potato/non-us/main/source/gnupg_1.0.0-0.dsc invalid (contains blank line)
$ cat dists/potato/non-us/main/source/gnupg_1.0.0-0.dsc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Source: gnupg
Version: 1.0.0-0
Binary: gnupg
Maintainer: Lazarus Long <lazarus@overdue.dhis.org>
Architecture: any
Standards-Version: 2.5.0.0
Files:
 c33d99e6292d0a9f6cb6f1821d6bf846 1365781 gnupg_1.0.0.orig.tar.gz
 b72b0325404e8fcc93742a1a14d880be 20 gnupg_1.0.0-0.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.10 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE31jfMb/KEwT9b980RAgSwAJ4yqc8a1vBylIbWDDcWusE79E83MACeNAgW
Iw7AboI7J6XKzVdzxGOYzr8=
=dwwz
-----END PGP SIGNATURE-----
=== End screen paste ===

The above package was built with
"dpkg-buildpackage -sgpg -k<my keyid here> -rfakeroot"
Either dpkg-scansources needs to be modified to accept the result of a
-sgpg build, or else dpkg-buildpackage needs to be modified to build a
file acceptable to dpkg-scansources.  I suspect the former is the case.

-- System Information
Debian Release: potato
Kernel Version: Linux phoenix 2.2.12 #1 Sun Aug 29 23:50:10 UTC 1999 i586 unknown

Versions of the packages dpkg depends on:
ii  libc6           2.1.2-1        GNU C Library: Shared libraries and timezone
ii  libncurses4     4.2-3.2        Shared libraries for terminal handling
ii  libstdc++2.9-gl 2.91.66-2      The GNU stdc++ library (EGCS version)


Information forwarded to Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>:
Bug#44579; Package dpkg. Full text and rfc822 format available.

Acknowledgement sent to James Troup <james@nocrew.org>:
Extra info received and forwarded to maintainer. Copy sent to Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>. Full text and rfc822 format available.

Message #10 received at 44579-maintonly@bugs.debian.org (full text, mbox):

From: James Troup <james@nocrew.org>
To: Debian Mailing List Processor <debianlists@overdue.dhis.org>
Cc: debian-mentors@lists.debian.org, 44579-maintonly@bugs.debian.org
Subject: Re: debian supported PGP stuff
Date: 13 Sep 1999 20:44:15 +0100
Debian Mailing List Processor <debianlists@overdue.dhis.org> writes:

> On Sun, Sep 12, 1999 at 05:25:00PM -0400, Adam Di Carlo wrote:
> > Alexander Kotelnikov <sacha@AK2614.spb.edu> writes:
> > 
> > > I'm going to apply to become a debian developer and I wanna know can I use
> > > combination of DSS key(from pgp5)+gnupg to send request?
> > 
> > Yes -- you can do it all with gnupg.
> 
> Please check http://bugs.debian.org/44579.

[From the Roderick]

Index: dpkg-scansources
===================================================================
RCS file: /cvs/ftpmaint/masterfiles/dpkg-scansources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dpkg-scansources	1999/03/01 04:59:20	1.1
+++ dpkg-scansources	1999/08/02 21:22:06	1.2
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 use strict;
 
-# $Id: dpkg-scansources,v 1.1 1999/03/01 04:59:20 maor Exp $
+# $Id: dpkg-scansources,v 1.2 1999/08/02 21:22:06 troup Exp $
 
 # Copyright (C) 1999 Roderick Schertler
 #
@@ -30,7 +30,7 @@
 
 my $Exit = 0;
 (my $Me = $0) =~ s-.*/--;
-my $Version = q$Revision: 1.1 $ =~ /(\d\S+)/ ? $1 : '?';
+my $Version = q$Revision: 1.2 $ =~ /(\d\S+)/ ? $1 : '?';
 
 # %Override is a hash of lists.  The subs following describe what's in
 # the lists.
@@ -232,7 +232,7 @@
 
 sub de_pgp {
     my ($file, $s) = @_;
-    if ($s =~ s/^-----BEGIN PGP SIGNED MESSAGE-----\n\n//) {
+    if ($s =~ s/^-----BEGIN PGP SIGNED MESSAGE-----.*?\n\n//s) {
 	unless ($s =~ s/\n
 			-----BEGIN\040PGP\040SIGNATURE-----\n
 			.*?\n



-- 
James


Information forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>:
Bug#44579; Package dpkg. Full text and rfc822 format available.

Acknowledgement sent to Adam Di Carlo <adam@onshore.com>:
Extra info received and forwarded to list. Copy sent to Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>. Full text and rfc822 format available.

Message #15 received at 44579@bugs.debian.org (full text, mbox):

From: Adam Di Carlo <adam@onshore.com>
To: 44579@bugs.debian.org
Subject: [James Troup <james@nocrew.org>] Re: debian supported PGP stuff
Date: 13 Sep 1999 18:44:02 -0400
[Message part 1 (text/plain, inline)]
Diff from James Troup.

[Message part 2 (message/rfc822, inline)]
From: James Troup <james@nocrew.org>
To: Debian Mailing List Processor <debianlists@overdue.dhis.org>
Cc: debian-mentors@lists.debian.org, 44579-maintonly@bugs.debian.org
Subject: Re: debian supported PGP stuff
Date: 13 Sep 1999 20:44:15 +0100
Debian Mailing List Processor <debianlists@overdue.dhis.org> writes:

> On Sun, Sep 12, 1999 at 05:25:00PM -0400, Adam Di Carlo wrote:
> > Alexander Kotelnikov <sacha@AK2614.spb.edu> writes:
> > 
> > > I'm going to apply to become a debian developer and I wanna know can I use
> > > combination of DSS key(from pgp5)+gnupg to send request?
> > 
> > Yes -- you can do it all with gnupg.
> 
> Please check http://bugs.debian.org/44579.

[From the Roderick]

Index: dpkg-scansources
===================================================================
RCS file: /cvs/ftpmaint/masterfiles/dpkg-scansources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dpkg-scansources	1999/03/01 04:59:20	1.1
+++ dpkg-scansources	1999/08/02 21:22:06	1.2
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 use strict;
 
-# $Id: dpkg-scansources,v 1.1 1999/03/01 04:59:20 maor Exp $
+# $Id: dpkg-scansources,v 1.2 1999/08/02 21:22:06 troup Exp $
 
 # Copyright (C) 1999 Roderick Schertler
 #
@@ -30,7 +30,7 @@
 
 my $Exit = 0;
 (my $Me = $0) =~ s-.*/--;
-my $Version = q$Revision: 1.1 $ =~ /(\d\S+)/ ? $1 : '?';
+my $Version = q$Revision: 1.2 $ =~ /(\d\S+)/ ? $1 : '?';
 
 # %Override is a hash of lists.  The subs following describe what's in
 # the lists.
@@ -232,7 +232,7 @@
 
 sub de_pgp {
     my ($file, $s) = @_;
-    if ($s =~ s/^-----BEGIN PGP SIGNED MESSAGE-----\n\n//) {
+    if ($s =~ s/^-----BEGIN PGP SIGNED MESSAGE-----.*?\n\n//s) {
 	unless ($s =~ s/\n
 			-----BEGIN\040PGP\040SIGNATURE-----\n
 			.*?\n



-- 
James


--  
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


[Message part 3 (text/plain, inline)]
-- 
--
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>

Information forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>:
Bug#44579; Package dpkg. Full text and rfc822 format available.

Acknowledgement sent to Wichert Akkerman <wichert@cs.leidenuniv.nl>:
Extra info received and forwarded to list. Copy sent to Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>. Full text and rfc822 format available.

Message #20 received at 44579@bugs.debian.org (full text, mbox):

From: Wichert Akkerman <wichert@cs.leidenuniv.nl>
To: Adam Di Carlo <adam@onshore.com>, 44579@bugs.debian.org
Subject: Re: Bug#44579: [James Troup <james@nocrew.org>] Re: debian supported PGP stuff
Date: Tue, 14 Sep 1999 02:20:28 +0200
[Message part 1 (text/plain, inline)]
Previously Adam Di Carlo wrote:
> Diff from James Troup.

Who already posted it himself. And I happen to have included it
in my sourcetree already as well, so it's scheduled for 1.4.1.9,
whenever that will happen.

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wichert@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/
[Message part 2 (application/pgp-signature, inline)]

Bug reassigned from package `dpkg' to `dpkg-iwj'. Request was from Wichert Akkerman <wichert@cs.leidenuniv.nl> to control@bugs.debian.org. Full text and rfc822 format available.

Bug reassigned from package `dpkg-iwj' to `dpkg'. Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Bug closed, ack sent to submitter - they'd better know why ! Request was from Anthony Towns <ajt@master.debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 13:09:34 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.