Closed Bug 2092974 Opened 11 days ago Closed 7 days ago

Behavior of draft encryption and UI string are duplicated/mismatched

Categories

(MailNews Core :: Security: OpenPGP, defect, P1)

Thunderbird 161
defect

Tracking

(thunderbird_esr153 unaffected, thunderbird161 affected, thunderbird162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
thunderbird_esr153 --- unaffected
thunderbird161 --- affected
thunderbird162 --- fixed

People

(Reporter: cai.0407, Assigned: klamping)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

Steps to reproduce

Open Account setting > End-To-End Encryption > Advanced encryption settings

There are same lines with different acesskeys.

  • Encrypt message subject line (B)
  • Encrypt message subject line (R)

Actual results

The first one (B) is encryption of subject line of sending message, no problem.

The second one (R) insists "encryption of subject line (of draft message)", however, actual behavior is encryption of only body part of draft message, not subject line.

test results are below.

sublect: test message subject
doby: test message body

Encrypt message subject line (R): disabled

Subject: test message subject
X-Enigmail-Draft-Status: N11222
Autocrypt: addr=cai.0407@gmail.com; keydata=
...
X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0;
 attachmentreminder=0; deliveryformat=0
X-Identity-Key: id10
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

test message body

Encrypt message subject line (R): enabled
body part: encrypted
subject line: not encrypted

Subject: test message subject
X-Enigmail-Draft-Status: N11222
Autocrypt: addr=cai.0407@gmail.com; keydata=
...
X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0;
 attachmentreminder=0; deliveryformat=0
X-Identity-Key: id10
Content-Type: multipart/encrypted;
 protocol="application/pgp-encrypted";
 boundary="------------Mr3lLG9TNzHm9eynbP0gqtQO"

This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156)
--------------Mr3lLG9TNzHm9eynbP0gqtQO
Content-Type: application/pgp-encrypted
Content-Description: PGP/MIME version identification

Version: 1

--------------Mr3lLG9TNzHm9eynbP0gqtQO
Content-Type: application/octet-stream; name="encrypted.asc"
Content-Description: OpenPGP encrypted message
Content-Disposition: inline; filename="encrypted.asc"

-----BEGIN PGP MESSAGE-----

...

-----END PGP MESSAGE-----

--------------Mr3lLG9TNzHm9eynbP0gqtQO--

Expected results

/mail/messenger/openpgp/openpgp.ftl line:55-60

account-settings-encrypt-message-subject =
    .label = Encrypt message subject line
    .accesskey = b
account-settings-encrypt-saved-drafts =
    .label = Encrypt message subject line
    .accesskey = r

account-settings-encrypt-saved-drafts should be "Encrypt saved draft message".

Thanks for reporting!
This was broken by bug 2068724.

Status: UNCONFIRMED → NEW
Component: Preferences → Security: OpenPGP
Ever confirmed: true
Flags: needinfo?(klamping)
Keywords: regression
Priority: -- → P1
Product: Thunderbird → MailNews Core
Regressed by: 2068724
Summary: Behavior of draft encryption and UI string are mismatched → Behavior of draft encryption and UI string are duplicated/mismatched
Assignee: nobody → klamping
Status: NEW → ASSIGNED
Flags: needinfo?(klamping)

The Settings string updates incorrectly duplicated a label for these settings. This fix applies the correct label for body message encryption.

Target Milestone: --- → 162 Branch

Pushed by jtracey@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/341ffff75ace
Fix incorrect label for End-to-End encryption account setting. r=tobyp

Status: ASSIGNED → RESOLVED
Closed: 7 days ago
Resolution: --- → FIXED

Please also request beta uplift. It's ofc a string change, but better showing possibly non-localized than non-usable.

Duplicate of this bug: 2095955
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: