bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#40397: 28.0.50; epg decrypt does not verify signed content in smime


From: Sebastian Fieber
Subject: bug#40397: 28.0.50; epg decrypt does not verify signed content in smime
Date: Mon, 06 Apr 2020 09:01:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On So, Apr 05 2020, Noam Postavsky <npostavs@gmail.com> wrote:

> Sebastian Fieber <sebastian.fieber@web.de> writes:
>
>> -  (while (search-forward "\r\n" nil t)
>> +  (while (search-forward-regexp "\r\n|\^M\n" nil t)
>
> This can't be right, it would search for a literal "|" on an otherwise
> empty line.  And if you put "\\|" which is what I think you meant, then
> both alternatives would be the same, so it still doesn't make sense.

Yes, and there is another problem with this. Should have tested this mit
emacs -Q. Let me fix that and prepare a new patch.

Since you have looked over the patch: What do you think about the
approach to internally structure application/pkcs7-mime parts like
multipart parts containing the mime type with text properties until the
decrypted, maybe verified singlepart in the car of the handle?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]