Thunderbird unable to access external pgp keys

Bug #1916881 reported by Hadmut Danisch
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Confirmed
Undecided
Unassigned
Focal
Confirmed
Undecided
Unassigned
Groovy
Won't Fix
Undecided
Unassigned

Bug Description

Since upgrading thunderbird to the latest ubuntu package 1:78.7.1+build1-0ubuntu0.20.04.1 (and thus throwing out enigmail) I cannot use encryption anymore.

The 78 version of thunderbird has replaced enigmail with its own implementation of PGP encryption, and it is still able to decrypt messages accessing the pgp agent.

But the access to gnupg seems to be completely broken. The keyring is completely empty, it does not now any public key and needs to learn from scratch.

Even then, I cannot reply to an encrypted mail with an encrypted (unsigned!) answer, since thunderbird cannot find my key.

To enable PGP functions at all, thunderbird requires to enter the settings and configure which pgp key belongs to the mailbox account, and offers to

* create a new key
* import from a file
* use an external gnupg key (e.g. on smartcard)

Since I'm using a smartcard key, I've chosen the third option and entered the key id, which is accepted, but not listed in the key manager. Even if my own key is technically not required to send an encrypted list (except for making the Sent folder readable for myself), I can't send the message. Thunderbird raises an error message because the configured key cannot be found on the keyring.

Which is technically correct, since the import from gnupg didn't work, both with the smartcard and a regular soft key.

Obviously, thunderbird has some problem accessing the gnupg keys.

My first guess was that apparmor causes problems, but that's not the case. I've used strace to verify that thunderbird has access to ~/.gnupg , and indeed it can and does read the files, therefore I'm not sure, why it actually doesn't work.

Nevertheless, it doesn't work and I currently can't send encrypted messages.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: thunderbird 1:78.7.1+build1-0ubuntu0.20.04.1
ProcVersionSignature: Ubuntu 5.4.0-65.73-generic 5.4.78
Uname: Linux 5.4.0-65-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
AddonCompatCheckDisabled: False
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: hadmut 1759 F.... pulseaudio
 /dev/snd/pcmC0D0p: hadmut 1759 F...m pulseaudio
BuildID: 20210203182138
CasperMD5CheckResult: skip
Channel: Unavailable
CurrentDesktop: LXQt
Date: Thu Feb 25 12:22:09 2021
Extensions: extensions.sqlite corrupt or missing
ForcedLayersAccel: False
IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
InstallationDate: Installed on 2020-06-12 (257 days ago)
InstallationMedia: Lubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Locales: extensions.sqlite corrupt or missing
MostRecentCrashID: bp-42a938ea-d29a-4ad6-95cd-df43e0210213
PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/thunderbird/omni.ja:greprefs.js:732
PrefSources: prefs.js
Profiles: Profile0 (Default) - LastVersion=78.7.1/20210203182138 (In use)
RunningIncompatibleAddons: False
SourcePackage: thunderbird
SubmittedCrashIDs:
 bp-42a938ea-d29a-4ad6-95cd-df43e0210213
 bp-cd2c713c-37b0-4b60-9b06-b94130210125
Themes: extensions.sqlite corrupt or missing
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/12/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: H61TIW08.111
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H61H2-TI2
dmi.board.vendor: Medion
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Medion
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrH61TIW08.111:bd10/12/2012:svnMedion:pnG24:pvr1.0:rvnMedion:rnH61H2-TI2:rvr1.0:cvnMedion:ct3:cvr1.0:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: G24
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 1.0
dmi.sys.vendor: Medion

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thunderbird (Ubuntu):
status: New → Confirmed
tags: added: hirsute
tags: added: champagne
Revision history for this message
Olivier Tilloy (osomon) wrote :

According to the release notes (https://www.thunderbird.net/en-US/thunderbird/78.8.1/releasenotes/), the 78.8.1 update has several GPG-related bug fixes, I wonder if those would help.

I am currently working on the update for all supported Ubuntu releases.

Olivier Tilloy (osomon)
Changed in thunderbird (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
tags: removed: champagne
Revision history for this message
Sebastien Bacher (seb128) wrote :

Untagging since it's not something we want to consider a release issue at this point

tags: added: rls-hh-notfixing
Olivier Tilloy (osomon)
Changed in thunderbird (Ubuntu Focal):
assignee: nobody → Olivier Tilloy (osomon)
Changed in thunderbird (Ubuntu Groovy):
assignee: nobody → Olivier Tilloy (osomon)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thunderbird (Ubuntu Focal):
status: New → Confirmed
Changed in thunderbird (Ubuntu Groovy):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

The focal version is now at 78.8.1 which includes some gpg fixes as mentioned before, do you still get the issue?

Revision history for this message
Hadmut Danisch (hadmut) wrote :

Haven't seen the problem for some time.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, let's close it then, feel free to open a new report if you get issues with the current version

Revision history for this message
Brian Murray (brian-murray) wrote :

The Groovy Gorilla has reached end of life, so this bug will not be fixed for that release

Changed in thunderbird (Ubuntu Groovy):
status: Confirmed → Won't Fix
Olivier Tilloy (osomon)
Changed in thunderbird (Ubuntu):
assignee: Olivier Tilloy (osomon) → nobody
Changed in thunderbird (Ubuntu Focal):
assignee: Olivier Tilloy (osomon) → nobody
Changed in thunderbird (Ubuntu Groovy):
assignee: Olivier Tilloy (osomon) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.