[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] [PATCH] Implement inline GPG



Hi Rich,

Excerpts from Rich Lane's message of Fr Feb 26 22:24:08 +0100 2010:
> message.rb:531 assumes the text will be on its own line, while the
> regex on 530 does not. (check my edge branch for line numbers)
Right. RFC 2440 is not really clear about that. In 6.2 it only says:

"An Armor Header Line consists of the appropriate header line text
 surrounded by five (5) dashes ('-', 0x2D) on either side of the
 header line text."

But I guess that no client would put any data before/after these lines,
so adding ^ and $ to the regex in 530 seems right.

Let me know if you need any help validating this patch.

Best regards,
Michael
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel