Closed Bug 1779745 Opened 2 years ago Closed 2 years ago

Exporting Public Key fails from account settings

Categories

(MailNews Core :: Security: OpenPGP, defect)

Thunderbird 103
Desktop
Linux
defect

Tracking

(thunderbird_esr102+ fixed, thunderbird103 wontfix)

RESOLVED FIXED
104 Branch
Tracking Status
thunderbird_esr102 + fixed
thunderbird103 --- wontfix

People

(Reporter: freaktechnik, Assigned: mkmelin)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

STR:

  1. Select (TB generated) key in account manager e2ee settings
  2. Choose "Export Public Key to File"
  3. Choose a target location

Expected result:
The public key file is written

Actual result:
The file isn't written and the erro console contains the following error:

Uncaught (in promise) TypeError: idArrayMinimal is not iterable
    getMultiplePublicKeys chrome://openpgp/content/modules/RNP.jsm:3296
    extractPublicKeys chrome://openpgp/content/modules/keyRing.jsm:580
    openPgpExportPublicKey chrome://messenger/content/am-e2e.js:1360

I see that. From bug 1756015.

Assignee: nobody → mkmelin+mozilla
Keywords: regression
Summary: Exporting Public Key fails → Exporting Public Key fails from account settings

Sorry, rather bug 1629309.

Regressed by: 1629309
Status: NEW → ASSIGNED
Target Milestone: --- → 104 Branch

Thanks Magnus for the fix, will review shortly.

However, I wonder why I cannot reproduce yet, neither with 102.x nor with 104 daily.
Could it depend on properties of a key?
Could you please point me to a key that triggers this problem?

ok sorry, I was using openpgp key manager (not account settings)

Comment on attachment 9285749 [details]
Bug 1779745 - Fix exporting Public Key from account settings. r=kaie

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

Attachment #9285749 - Flags: approval-comm-esr102?
Attachment #9285749 - Flags: approval-comm-beta?

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ee722467f6f0
Fix exporting Public Key from account settings. r=kaie

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

This missed beta uplift, so it will appear in beta 104 with the next esr opportunity being 102.1.1

Whiteboard: [TM:102.1.1]
Attachment #9285749 - Flags: approval-comm-beta? → approval-comm-beta-
Whiteboard: [TM:102.1.1]

Comment on attachment 9285749 [details]
Bug 1779745 - Fix exporting Public Key from account settings. r=kaie

[Triage Comment]
Approved for esr102

Attachment #9285749 - Flags: approval-comm-esr102? → approval-comm-esr102+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: