Failures with Enigmail migration to TB 78
OpenPGP addon for Mozilla Thunderbird
Brought to you by:
pbrunschwig
Hello,
i have a similar problem as https://sourceforge.net/p/enigmail/bugs/1068/. Same symptoms.
Start the migration. Error message: The following secret keys could not be imported into Thunderbird. 0xfoo
Then the final dialogs says success: "All done! Enigmail is no longer needed and may be uninstalled".
The stderr of thunderbird or syslog has no ouptut, the error console contains the following output (but before the migration). During the migration no error message is added.
Successfully loaded OpenPGP library librnp.so from /usr/lib/thunderbird/librnp.so RNPLib.jsm:49:13
[l10nregistry] Attempting to synchronously load file
resource:///chrome/en-US/locale/en-US/calendar/messenger/openpgp/msgReadStatus.ftl while it's being loaded asynchronously. L10nRegistry.jsm:563:19
Lightning:
Exception { name: "", message: "Component returned failure code: 0x804a0104 [calIDateTime.icalString]", result: 2152333572, filename: "resource:///modules/calendar/calUtils.jsm", lineNumber: 577, columnNumber: 0, data: null, stack: "_instance/<@resource:///modules/calendar/calUtils.jsm:577:7\nset icalComponent@resource:///modules/CalAlarm.jsm:537:38\nset icalString@resource:///modules/CalAlarm.jsm:340:54\n_instance/<@resource:///modules/calendar/calUtils.jsm:577:7\n_assureRecurringItemCaches/<@resource:///modules/CalStorageCalendar.jsm:1808:27\nhandleResultInner@resource:///modules/CalStorageCalendar.jsm:284:21\nhandleResult@resource:///modules/CalStorageCalendar.jsm:278:41\n", location: XPCWrappedNative_NoHelper }
CalStorageCalendar.jsm:297
Lightning:
Exception { name: "", message: "Component returned failure code: 0x804a0104 [calIDateTime.icalString]", result: 2152333572, filename: "resource:///modules/calendar/calUtils.jsm", lineNumber: 577, columnNumber: 0, data: null, stack: "_instance/<@resource:///modules/calendar/calUtils.jsm:577:7\nset icalComponent@resource:///modules/CalAlarm.jsm:537:38\nset icalString@resource:///modules/CalAlarm.jsm:340:54\n_instance/<@resource:///modules/calendar/calUtils.jsm:577:7\ngetAdditionalDataForItem/<@resource:///modules/CalStorageCalendar.jsm:2093:29\nhandleResultInner@resource:///modules/CalStorageCalendar.jsm:284:21\nhandleResult@resource:///modules/CalStorageCalendar.jsm:278:41\n", location: XPCWrappedNative_NoHelper }
CalStorageCalendar.jsm:297
: Component returned failure code: 0x804a0104 [calIDateTime.icalString] calUtils.jsm:577
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. thunderbird
uncaught exception: Object keyRing.jsm:1076:18
Some cookies are misusing the recommended “sameSite“ attribute 2
uncaught exception: Object keyRing.jsm:1076:18
OverrideError: An entry font-size-label of type message is already defined in this bundle
OverrideError: An entry window-close-key of type message is already defined in this bundle
OverrideError: An entry startup-label of type message is already defined in this bundle
OverrideError: An entry focus-search-shortcut of type message is already defined in this bundle
OverrideError: An entry close-button of type message is already defined in this bundle
uncaught exception: Object 2 subprocess.jsm:344:22
OverrideError: An entry font-size-label of type message is already defined in this bundle
OverrideError: An entry window-close-key of type message is already defined in this bundle
OverrideError: An entry startup-label of type message is already defined in this bundle
OverrideError: An entry focus-search-shortcut of type message is already defined in this bundle
OverrideError: An entry close-button of type message is already defined in this bundle
[Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: resource://gre/modules/L10nRegistry.jsm :: L10nRegistry.loadSync :: line 658" data: no] L10nRegistry.jsm:658:19
loadSync resource://gre/modules/L10nRegistry.jsm:658
fetchFile resource://gre/modules/L10nRegistry.jsm:573
generateResourceSetSync resource://gre/modules/L10nRegistry.jsm:478
map self-hosted:240
generateResourceSetSync resource://gre/modules/L10nRegistry.jsm:473
generateResourceSetsForLocaleSync resource://gre/modules/L10nRegistry.jsm:415
next self-hosted:1099
generateBundlesSync resource://gre/modules/L10nRegistry.jsm:177
next self-hosted:1099
touchNext resource://gre/modules/Localization.jsm:167
regenerateBundles resource://gre/modules/Localization.jsm:552
activate resource://gre/modules/Localization.jsm:243
getLanguageDisplayNames resource://gre/modules/mozIntl.jsm:810
getLocaleDisplayNames resource://gre/modules/mozIntl.jsm:888
map self-hosted:240
getLocaleDisplayNames resource://gre/modules/mozIntl.jsm:867
formatLocaleSetLabels chrome://messenger/content/preferences/general.js:942
init chrome://messenger/content/preferences/general.js:243
init chrome://messenger/content/preferences/preferences.js:76
AsyncFunctionNext self-hosted:693
[Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: resource://gre/modules/L10nRegistry.jsm :: L10nRegistry.loadSync :: line 658" data: no] L10nRegistry.jsm:658:19
loadSync resource://gre/modules/L10nRegistry.jsm:658
fetchFile resource://gre/modules/L10nRegistry.jsm:573
generateResourceSetSync resource://gre/modules/L10nRegistry.jsm:478
map self-hosted:240
generateResourceSetSync resource://gre/modules/L10nRegistry.jsm:473
generateResourceSetsForLocaleSync resource://gre/modules/L10nRegistry.jsm:415
next self-hosted:1099
generateBundlesSync resource://gre/modules/L10nRegistry.jsm:177
next self-hosted:1099
touchNext resource://gre/modules/Localization.jsm:167
regenerateBundles resource://gre/modules/Localization.jsm:552
activate resource://gre/modules/Localization.jsm:243
getRegionDisplayNames resource://gre/modules/mozIntl.jsm:837
getLocaleDisplayNames resource://gre/modules/mozIntl.jsm:897
map self-hosted:240
getLocaleDisplayNames resource://gre/modules/mozIntl.jsm:867
formatLocaleSetLabels chrome://messenger/content/preferences/general.js:942
init chrome://messenger/content/preferences/general.js:243
init chrome://messenger/content/preferences/preferences.js:76
AsyncFunctionNext self-hosted:693
NotSupportedError: CustomElementRegistry.define: 'conversation-browser' has already been defined as a custom element conversation-browser.js:853
<anonymous> chrome://chat/content/conversation-browser.js:853
<anonymous> chrome://messenger/content/customElements.js:34
<anonymous> chrome://messenger/content/customElements.js:37
observe resource://gre/modules/MailGlue.jsm:201
initHTMLDocument resource:///modules/imThemes.jsm:741
onStateChange chrome://chat/content/conversation-browser.js:62
NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:127
getActivity resource://gre/modules/ActivityManager.jsm:127
removeActivity resource://gre/modules/ActivityManager.jsm:80
onFolderRemovedFromQ resource:///modules/activity/autosync.jsm:244
_timerCallback resource:///modules/AppIdleManager.jsm:30
There is nothing Enigmail could do about it. The OpenPGP library used by Thunderbird (RNP) does not accept all keys from GnuPG. I can't tell what keys don't work, I can only tell you that the failure comes from Thunderbird.
Ok, so I open a bug report at thunderbird?
Is there maybe a way I can manually migrate the keys?
I suppose it is possible to downgrade back to Thunderbird 69. The migration did not touch the profile?
Yes, but I'm sure you're not the first one. The problem is really with the underlying library (RNP).
I don't know which keys don't work, so I can't tell what you would need to modify.
Yes, you can downgrade to TB 68. However Mozilla does not maintain TB 68 anymore. You need to follow the advice given here:
https://support.mozilla.org/en-US/questions/1277353#answer-1281373