[snap] thunderbird cannot sign messages with external gnupg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
thunderbird (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Thunderbird supports smartcards through the external GnuPG option: https:/
Works (apt list): thunderbird/
Does not work (snap list): thunderbird 102.8.0-2 297 latest/stable canonical✓ -
I don't know if this is an expected consequence of the sandboxed environment, but could not find the error anywhere else reported.
To reproduce:
Set mail.openpgp.
Add external key in account settings. Key is found and set.
Compose empty e-mail message to self, tick Digitally Sign option.
Result:
Message fails to send.
Error console output:
Found 6 public keys and 0 secret keys (0 protected, 0 unprotected) RNPLib.jsm:541:15
Successfully loaded optional OpenPGP library libgpgme.so.11 from system's standard library locations GPGMELib.jsm:69:13
gpgme version: 1.13.1-unknown GPGMELib.jsm:241:15
services.settings: Failed to load last_modified.json: TypeError: NetworkError when attempting to fetch resource. Utils.jsm:330
Trying to load /snap/thunderbi
Successfully loaded OTR library /snap/thunderbi
Loading failed for the <script> with source “https:/
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. MsgComposeComma
NS_ERROR_
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. INBOX>9395
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. blank
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. MsgComposeComma
in getEncryptionFlags, gSendEncrypted=
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. MimeMessageUtil
getCryptParams parameters: from=0xA96471A2
Object { value: "" }
, logObj=
Object { }
encryption.
getCryptParams, got: to=<email address>, bcc= encryption.
getCryptParams returning: encryption.
Object { sender: "0xA96471A292DD
encryption.
sendFlags=0000d0c1 encryption.
Error: failure in finishCryptoEnc
finishCrypt
createMessa
mimeEncrypt.
mailnews.send:
Exception { name: "NS_ERROR_
MessageSend.
mailnews.send: Sending failed; , exitCode=
mimeEncrypt.js: caught exception: Error
Message: 'failure in finishCryptoEnc
File: chrome:
Line: 580
Stack: finishCryptoEnc
createMessageFi
Error: failure in finishCryptoEnc
1678360923822 Toolkit.Telemetry WARN TelemetryStorag
tags: | added: jammy snap |
description: | updated |
summary: |
- snap thunderbird cannot sign messages with external gnupg + [snap] thunderbird cannot sign messages with external gnupg |
If this is of any help, I've documented the issues that preclude this from working in the snapcraft forum, at https:/ /forum. snapcraft. io/t/thunderbir d-snap- and-external- gnupg-for- smart-cards/ 39553. Unfortunately, the enigmail logging is not terribly useful and nor is the debug log from GPGme.