Closed Bug 1700926 Opened 5 years ago Closed 4 years ago

Can't save draft after update

Categories

(Thunderbird :: Untriaged, defect)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: lermigeaux, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0

Steps to reproduce:

Occurs after a thunderbird update. I'm working on Ubuntu 20.04.2LTS.
There had been an update from the older version to 78.7.1 build 20210203182138
I've done nothing, just the usual system updates.
I'm working with imap accounts.

NB : in my older version I was using enigmail wich is no longer active and maybe the bug source according to the logs below

Actual results:

The auto-save function make an error with a dialog box : "Impossible d’enregistrer votre message en tant que brouillon. L’envoi du message a échoué." ("Can't save you message in draft. Sending message failed").

Here is the log in the terminal :
JavaScript error: chrome://chat/content/conversation-browser.js, line 853: NotSupportedError: CustomElementRegistry.define: 'conversation-browser' has already been defined as a custom element
JavaScript error: chrome://chat/content/conversation-browser.js, line 853: NotSupportedError: CustomElementRegistry.define: 'conversation-browser' has already been defined as a custom element
console.debug: "in getEncryptionFlags, gSendEncrypted=false, gSendSigned=false"
console.debug: "in getEncryptionFlags, gSendEncrypted=false, gSendSigned=false"
console.debug: "in getEncryptionFlags, gSendEncrypted=false, gSendSigned=false"
console.debug: "getCryptParams parameters: from=0xF3466404EF0A3D22, to=, bcc=, hash=SHA256, flags=4802, ascii=0, errorObj=%o, logObj=%o" ({value:""}) ({})
console.debug: "getCryptParams, got: to=, bcc="
console.debug: "getCryptParams returning:"
console.debug: ({sender:"0xF3466404EF0A3D22", sign:false, signatureHash:"", sigTypeClear:false, sigTypeDetached:false, encrypt:true, encryptToSender:true, armor:true, senderKeyIsExternal:false, to:[], bcc:[]})
console.log: "CryptoAPI.sync() failed result: %o" (new Error("configured sender key 0xF3466404EF0A3D22 isn't accepted as a personal key", "chrome://openpgp/content/modules/RNP.jsm", 2303))
console.debug: "sendFlags=000012c2"
console.debug: (new Error("failure in finishCryptoEncapsulation", "chrome://openpgp/content/modules/mimeEncrypt.jsm", 592))
JavaScript error: chrome://openpgp/content/modules/mimeEncrypt.jsm, line 592: Error: failure in finishCryptoEncapsulation

Expected results:

No error dialog box and auto save the message in draft folder.

I've found a workaround :

  • I've removed all the pgp keys using preferences inside thunderbird
  • after that, Thunderbird was complaining abount missing keys
  • so I've made a new one associated with my email adress
    Now it's working
    So the issue is probably due to :
  • an update
  • from an old version using enigmail
  • maybe also old keys generated long time ago

Sounds likely due to an invalid key you had (got auto) set up.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.