Bug 2879

Summary: Plain text mails treated as encrypted
Product: Claws Mail (GTK 2) Reporter: Fabian Keil <fk>
Component: Plugins/Privacy/PGPAssignee: users
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 3.9.0   
Hardware: PC   
OS: FreeBSD   
Attachments:
Description Flags
Unencrypted message containing OpenPGP ASCII armor encryption headers
none
Patch to make the encryption detection more strict none

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!