Bug 2879 - Plain text mails treated as encrypted
Summary: Plain text mails treated as encrypted
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Plugins/Privacy/PGP (show other bugs)
Version: 3.9.0
Hardware: PC FreeBSD
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2013-02-18 11:52 UTC by Fabian Keil
Modified: 2013-04-13 08:56 UTC (History)
0 users

See Also:


Attachments
Unencrypted message containing OpenPGP ASCII armor encryption headers (1.47 KB, text/plain)
2013-02-18 11:52 UTC, Fabian Keil
no flags Details
Patch to make the encryption detection more strict (5.01 KB, patch)
2013-02-18 11:56 UTC, Fabian Keil
no flags Details | Diff

Description Fabian Keil 2013-02-18 11:52:23 UTC
Created attachment 1231 [details]
Unencrypted message containing OpenPGP ASCII armor encryption headers

Unencrypted messages like the attached one are currently marked as encrypted in the summary and result in encryption errors when displayed.
Comment 1 Fabian Keil 2013-02-18 11:56:06 UTC
Created attachment 1232 [details]
Patch to make the encryption detection more strict

The first patch in the attached patch set makes the encryption detection a bit more strict by ignoring stray OpenPGP ASCII armor encryption headers that aren't located at the start of the buffer or line.

The last two patches are cosmetic.
Comment 2 users 2013-04-13 08:56:03 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=86a989f286bc2ba952bf50a84615e43e42ccc535
Author: Paul <paul@claws-mail.org>
Date:   Sat Apr 13 07:54:52 2013 +0100

    fix bug #2879, 'Plain text mails treated as encrypted'
    patch by Fabian Keil
Comment 3 Paul 2013-04-13 08:56:57 UTC
thanks for the patch!

Note You need to log in before you can comment on or make changes to this bug.