Closed Bug 1767869 Opened 2 years ago Closed 2 years ago

Stop using old EnigmailSqliteDb code

Categories

(MailNews Core :: Security: OpenPGP, enhancement)

enhancement

Tracking

(thunderbird_esr91 wontfix, thunderbird101 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
thunderbird_esr91 --- wontfix
thunderbird101 --- fixed

People

(Reporter: KaiE, Assigned: KaiE)

Details

Attachments

(1 file)

The OpenPGP code still contains references to the old Enigmail database storage, which used file EnigmailSqliteDb.

We still open and initialize that database. But I've checked, we don't have any active code that can reach the calls that use it.

It's time to remove that old code. And I'd also like to remove all disabled/commented code that's related. If we really ever need that code again, we can use it as inspiration and re-import parts of it.

The trigger for this:

Today Christian reported a strange failure, OpenPGP not working. We tried to open that file as part of our init code, but the core resource://gre/modules/Sqlite.jsm reported NS_ERROR_FILE_CORRUPTED. The file was from 2017, so maybe the core can no longer open files in an old storage format?

I don't want to risk breakage to files that we no longer need, so it's easiest to stop using that code.

Assignee: nobody → kaie
Status: NEW → ASSIGNED
Target Milestone: --- → 102 Branch

Fixed some linting before pushing

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

Comment on attachment 9275077 [details]
Bug 1767869 - Remove EnigmailSqliteDb and related unused code. r=mkmelin

I'd like to have beta testing of this code. This one is for code consistency and avoid potential merge conflicts. Only removing unused code.

Attachment #9275077 - Flags: approval-comm-beta?

Comment on attachment 9275077 [details]
Bug 1767869 - Remove EnigmailSqliteDb and related unused code. r=mkmelin

[Triage Comment]
Approved for beta

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

Attachment

General

Created:
Updated:
Size: