Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ncrypt/crypt.c: Read the protected Message-ID #4300

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alejandro-colomar
Copy link
Member

I've seen some messages sent with thunderbird(1) which protected the Message-ID field. Let's read it if it's there.

Tested with an old mail I had in my mailbox:

...

[-- Begin signature information --]
Good signature from: Alejandro Colomar <alx@alejandro-colomar.es>
                aka: Alejandro Colomar <alx@kernel.org>
                aka: Alejandro Colomar Andres <alx.manpages@gmail.com>
            created: Thu Dec 22 15:11:26 2022
[-- End signature information --]

[-- The following data is signed --]
From: Alejandro Colomar <alx.manpages@gmail.com>
To: Deri <deri@chuzzlewit.myzen.co.uk>
Subject: Re: The Linux Manpages Book - Happy Christmas
Message-ID: <e5567e8b-def9-288a-c0bb-32ab3d67e3ea@gmail.com>
References: <1842694.tdWV9SEqCh@pip>
In-Reply-To: <1842694.tdWV9SEqCh@pip>

[-- Attachment #1 --]
[-- Type: text/plain; charset=UTF-8, Encoding: base64, Size: 8.0K --]

...

I've seen some messages sent with thunderbird(1) which protected the
Message-ID field.  Let's read it if it's there.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
@alejandro-colomar alejandro-colomar requested a review from a team as a code owner May 12, 2024 11:41
@alejandro-colomar
Copy link
Member Author

BTW, I tried protecting this field in the past, but it's non-trivial, since it's not yet generated at the time we protect the fields, IIRC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant