OpenPGP: unknown data format 109
Categories
(MailNews Core :: Security: OpenPGP, defect)
Tracking
(Not tracked)
People
(Reporter: glucas+mozilla, Unassigned)
Details
Steps to reproduce:
I use Thunderbird 115.8.0 on Debian GNU/Linux 12.
I tried to open an encrypted PGP email sent today by someone I talk to regularly.
Actual results:
Thunderbird does not display email content due to decryption error.
I can open all previous messages of this people (eg. 2024-03-07) but not his new ones.
I tried Thunderbird 115.8.1, beta and daily: same problem.
If I extract the OpenPGP file (msg.asc) from the source, I can read it with « gpg -d ».
Changes in gpg -d -vvv output:
Before:
:literal data packet:
mode b (62), created 1709827228, name="",
raw data: unknown length
After:
:literal data packet:
mode m (6D), created 1709981834, name="",
raw data: unknown length
=> Binary format (b) in old messages versus octet format (m) in new messages.
In Thunderbird GUI (115.8.0):
« There are unknown problems with this encrypted message.
OpenPGP Debug Log
:armored input
:off 0: packet header 0x845e (tag 1, len 94)
Public-key encrypted session key packet
version: 3
key id: <REDACTED>
public key algorithm: 18 (ECDH)
encrypted material:
ecdh p: 263 bits
ecdh m: 48 bytes
:off 96: packet header 0x85020c (tag 1, len 524)
Public-key encrypted session key packet
version: 3
key id: <REDACTED>
public key algorithm: 1 (RSA (Encrypt or Sign))
encrypted material:
rsa m: 4092 bits
:off 623: packet header 0xd2e9 (tag 18, partial len)
Symmetrically-encrypted integrity protected data packet »
export RNP_LOG_CONSOLE=1:
« [init_literal_src() /build/reproducible-path/thunderbird-115.8.0/comm/third_party/rnp/src/librepgp/stream-parse.cpp:1732] unknown data format 109 »
Expected results:
RNP supports octet format (« m ») so thunderbird displays the contents of the email.
Reporter | ||
Comment 1•6 months ago
|
||
Duplicate of #1884508.
Reporter | ||
Comment 2•6 months ago
|
||
Seems RNP doesn't support m
mode: https://github.com/rnpgp/rnp/blob/main/src/librepgp/stream-parse.cpp#L1969-L1979
Updated•6 months ago
|
Description
•