[sup-devel] [PATCH] Implement inline GPG
Christian Dietrich
stettberger at dokucode.de
Mon Mar 1 12:46:52 EST 2010
Excerpts from Michael Stapelberg's message of Mo Mär 01 17:49:30 +0100 2010:
> Hi didi,
>
> Excerpts from Christian Dietrich's message of Mo Mär 01 15:36:10 +0100 2010:
> > tried this, but broke on this specific message, cause the string was
> > included but there was no signature.
> Can you forward this message so that I can have a look, please?
It was your message with the patch.
<1267450467-sup-4411 at midna.zekjur.net>
>
> > 517 ## Check for inline-PGP
> > 518 if body =~ /^-----BEGIN PGP SIGNED MESSAGE-----/
> > 519 gpg_start = "^-----BEGIN PGP SIGNED MESSAGE-----"
> > 520 gpg_signature = "^-----BEGIN PGP SIGNATURE-----"
> > 521 gpg_end = "^-----END PGP SIGNED MESSAGE-----"
> Why do you use ^ in the beginning but not $ in the end?
You never know what kind of crude mailers are out there.
greetz didi
--
No documentation is better than bad documentation
-- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20100301/f8508232/attachment.bin>
More information about the Sup-devel
mailing list