On Sat, 12 Mar 2011, Roger Leigh wrote:
> Patch attached which fixes it for me. Note that I don't quite
> get why you're skipping whitespace--I'm not sure why there would
> be whitespace before the PGP signature, so I'm not sure if the
> whitespace skipping is necessarily related to the PGP part.
It's not related to the OpenPGP format, it's just that we end up
our control block with at least one empty line. And it doesn't hurt to
allow for extra empty lines before the signature. (I did not write the
intial parser).
> - } elsif (m/^$/) {
> + } elsif (m/^$/ || m/^-----BEGIN PGP SIGNATURE/) {
Changed to (m/^$/ || ($expect_pgp_sig && m/^-----BEGIN PGP SIGNATURE/))
and committed.
Thanks.
--
Raphaël Hertzog ◈ Debian Developer
Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]