[GH-ISSUE #352] [Bug] Thunderbird unable to decrypt subject after banner disabled #291

Closed
opened 2026-03-01 17:46:22 +03:00 by kerem · 8 comments
Owner

Originally created by @http403 on GitHub (Oct 23, 2022).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/352

The subject discribe it all. After turned off the banner on Anonaddy, Thunderbird can't decrypt/display the subject but the replaced 3 dots. I have verified with K-9 and this only happens on Thunderbird. I'm not blaming Anonaddy but want to check if there're any deviation from standard/common practice, and see if this also happen on other clients (e.g. Outlook).

Thunderbird version: 102.4
OS: Windows 10 Build 19043

Originally created by @http403 on GitHub (Oct 23, 2022). Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/352 The subject discribe it all. After turned off the banner on Anonaddy, Thunderbird can't decrypt/display the subject but the replaced 3 dots. I have verified with K-9 and this only happens on Thunderbird. I'm not blaming Anonaddy but want to check if there're any deviation from standard/common practice, and see if this also happen on other clients (e.g. Outlook). Thunderbird version: 102.4 OS: Windows 10 Build 19043
kerem closed this issue 2026-03-01 17:46:22 +03:00
Author
Owner

@willbrowningme commented on GitHub (Oct 24, 2022):

Thanks, I am able to reproduce this with Thunderbird 102.4.

The issue is present when sending a plain text only message with no banner. HTML only and HTML/plain both work and the subject is displayed even without the banner.

I'll see if I can figure out what the issue is.

<!-- gh-comment-id:1288713902 --> @willbrowningme commented on GitHub (Oct 24, 2022): Thanks, I am able to reproduce this with Thunderbird 102.4. The issue is present when sending a plain text only message with no banner. HTML only and HTML/plain both work and the subject is displayed even without the banner. I'll see if I can figure out what the issue is.
Author
Owner

@willbrowningme commented on GitHub (Oct 25, 2022):

I can confirm that it works fine on K-9 so I'm not sure why that particular combination of plain text only (no banner) does not work in Thunderbird 102.4. I cannot find anything in Thunderbird's changelog so far.

<!-- gh-comment-id:1290270558 --> @willbrowningme commented on GitHub (Oct 25, 2022): I can confirm that it works fine on K-9 so I'm not sure why that particular combination of plain text only (no banner) does not work in Thunderbird 102.4. I cannot find anything in Thunderbird's changelog so far.
Author
Owner

@willbrowningme commented on GitHub (May 26, 2023):

Is anyone still experiencing this issue?

<!-- gh-comment-id:1564057474 --> @willbrowningme commented on GitHub (May 26, 2023): Is anyone still experiencing this issue?
Author
Owner

@http403 commented on GitHub (May 26, 2023):

Just did a quick test with Thunderbird 102.11.1. Still experiencing the issue. However, as banner auto stripping is implemented (#253 and #351), I don't think this have too much of an impact now.

<!-- gh-comment-id:1564490069 --> @http403 commented on GitHub (May 26, 2023): Just did a quick test with Thunderbird 102.11.1. Still experiencing the issue. However, as banner auto stripping is implemented (#253 and #351), I don't think this have too much of an impact now.
Author
Owner

@willbrowningme commented on GitHub (May 26, 2023):

I can only assume this is a bug in Thunderbird as FairEmail is able to decrypt and display the subject without any issues. The decrypted content of the message matches the correct format as laid out here - https://datatracker.ietf.org/doc/id/draft-autocrypt-lamps-protected-headers-02.html#name-signed-and-encrypted-pgp-mi.

<!-- gh-comment-id:1564530952 --> @willbrowningme commented on GitHub (May 26, 2023): I can only assume this is a bug in Thunderbird as FairEmail is able to decrypt and display the subject without any issues. The decrypted content of the message matches the correct format as laid out here - [https://datatracker.ietf.org/doc/id/draft-autocrypt-lamps-protected-headers-02.html#name-signed-and-encrypted-pgp-mi](https://datatracker.ietf.org/doc/id/draft-autocrypt-lamps-protected-headers-02.html#name-signed-and-encrypted-pgp-mi).
Author
Owner

@willbrowningme commented on GitHub (May 26, 2023):

After some further digging I've discovered that there is a fix to this bug which is to include a line with -- anywhere in the plain text message.

That is why the example here worked in Thunderbird when I tested it.

I've just pushed a quick fix to add a line containing -- to the end of any plain text only messages that use encrypted headers. It's not ideal but it will have to do until Thunderbird can fix it.

Please could you give it another try now?

<!-- gh-comment-id:1564630054 --> @willbrowningme commented on GitHub (May 26, 2023): After some further digging I've discovered that there is a fix to this bug which is to include a line with `--` anywhere in the plain text message. That is why the example [here](https://datatracker.ietf.org/doc/id/draft-autocrypt-lamps-protected-headers-02.html#name-signed-and-encrypted-pgp-mi) worked in Thunderbird when I tested it. I've just pushed a quick fix to add a line containing `--` to the end of any plain text only messages that use encrypted headers. It's not ideal but it will have to do until Thunderbird can fix it. Please could you give it another try now?
Author
Owner

@http403 commented on GitHub (May 26, 2023):

Yes. It is working but certainly not ideal.

<!-- gh-comment-id:1564681541 --> @http403 commented on GitHub (May 26, 2023): Yes. It is working but certainly not ideal.
Author
Owner

@willbrowningme commented on GitHub (May 30, 2023):

I've opened a bug report on bugzilla - https://bugzilla.mozilla.org/show_bug.cgi?id=1835803

<!-- gh-comment-id:1568294485 --> @willbrowningme commented on GitHub (May 30, 2023): I've opened a bug report on bugzilla - https://bugzilla.mozilla.org/show_bug.cgi?id=1835803
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/anonaddy#291
No description provided.