Closed Bug 1917577 Opened 2 months ago Closed 2 months ago

"Decrypt and Open" is not working for an attached OpenPGP key (Console shows: lazy.log is not a function)

Categories

(MailNews Core :: Security: OpenPGP, defect)

Thunderbird 128
defect

Tracking

(thunderbird_esr128+ fixed, thunderbird131 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
thunderbird_esr128 + fixed
thunderbird131 --- fixed

People

(Reporter: enxio6, Assigned: mkmelin)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:

I clicked on "Decrypt and Open" on an attached key in asc format

Actual results:

No dialog for importing the key is shown.

The error console showed the following though:


14:12:17.659 Uncaught (in promise) TypeError: lazy.log is not a function
decryptAttachment chrome://openpgp/content/modules/decryption.sys.mjs:556
decryptAttachmentCallback chrome://openpgp/content/ui/enigmailMessengerOverlay.js:1998
bufferListener chrome://openpgp/content/ui/enigmailMessengerOverlay.js:1854
onStopRequest chrome://openpgp/content/modules/streams.sys.mjs:50
decryption.sys.mjs:556:12

Following decryption.sys.mjs:556 shows indeed a call to "lazy.log()". Maybe this should be a "lazy.log.debug()" or "...warn()" like in the rest of the module?

Expected results:

A dialog to show the key to imported should have been shown.

Thanks for reporting.

Assignee: nobody → mkmelin+mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: regression
Regressed by: 1814893
Target Milestone: --- → 132 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/f47d55b396c7
Fix incorrect log call in decryption.sys.mjs. r=kaie

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED

Is this ready for beta?

yes please

This is a trivial obviously correct fix, so it should be fine to directly take for 128, too.

Comment on attachment 9423832 [details]
Bug 1917577 - Fix incorrect log call in decryption.sys.mjs. r=kaie

[Approval Request Comment]
Regression caused by (bug #): 1814893
User impact if declined: functionality broken
Testing completed (on c-c, etc.): yes
Risk to taking this patch (and alternatives if risky): zero

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined:
Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):

Attachment #9423832 - Flags: approval-comm-esr128?
Attachment #9423832 - Flags: approval-comm-beta?

Comment on attachment 9423832 [details]
Bug 1917577 - Fix incorrect log call in decryption.sys.mjs. r=kaie

[Triage Comment]
Approved for beta

Attachment #9423832 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9423832 [details]
Bug 1917577 - Fix incorrect log call in decryption.sys.mjs. r=kaie

[Triage Comment]
Approved for esr128

Attachment #9423832 - Flags: approval-comm-esr128? → approval-comm-esr128+
Duplicate of this bug: 1923064
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: