Bug 1886962

Summary: [RHEL 7] Thunderbird OpenGPG integration fails
Product: Red Hat Enterprise Linux 7 Reporter: Andrew Mike <amike>
Component: thunderbirdAssignee: Jan Horak <jhorak>
Status: CLOSED CANTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.9CC: bugzilla, chref, cschalle, desktop-qa-list, jhorak, mkielian, pasik, pstadt, tpopela, zidek
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1886958 Environment:
Last Closed: 2022-12-15 13:39:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1886958    
Bug Blocks:    

Description Andrew Mike 2020-10-09 20:04:51 UTC
+++ This bug was initially created as a clone of Bug #1886958 +++

Description of problem: Thunderbird OpenGPG integration fails to function.

Version-Release number of selected component (if applicable):
78.3.1-1.el7_9

How reproducible: Consistently.

Steps to Reproduce:
1. Make a GPG keypair with "gpg --gen-key".
2. Make a new IMAP account with the email address of the GPG key.
3. Open the account settings page for that account by right-clicking on the account in the left pane of the main window and selecting "Settings".
4. Click the "Manage Identities..." button, select the single identity in the list, then select "Edit".
5. Go to the "End-To-End Encryption" tab and select the "Add Key..." button.

Actual results: Button has no effect, and no dialog button pops up.

Expected results: Button opens up the a dialog for importing an OpenPGP keypair.

Additional info: When running thunderbird with the --jsconsole command line option, this error appears:

==============================================================
Error: Cannot load required RNP library
    loadExternalRNPLib chrome://openpgp/content/modules/RNPLib.jsm:81
    init chrome://openpgp/content/modules/RNPLib.jsm:87
    once chrome://openpgp/content/modules/RNP.jsm:48
    init chrome://openpgp/content/modules/RNP.jsm:65
    init chrome://openpgp/content/BondOpenPGP.jsm:90
    <anonymous> chrome://openpgp/content/BondOpenPGP.jsm:217
    <anonymous> chrome://messenger/content/msgMail3PaneWindow.js:67
RNP.jsm:57:15

==============================================================

Comment 9 Tomas Popela 2021-03-25 09:48:26 UTC
*** Bug 1898440 has been marked as a duplicate of this bug. ***

Comment 12 Tomas Popela 2022-12-15 13:39:05 UTC
The support for OpenGPG in Thunderbird on RHEL 7 can't be enabled as on RHEL 8 (bug 1886958) or RHEL 9 (bug 2133263) due to older OpenSSL available on RHEL 7 (openssl-1.0.2k is presented and 1.1.1e required).

What customers could use (albeit not supported by Red Hat) is the upstream binary from Mozilla (available through https://www.thunderbird.net/thunderbird/all/). This version uses and bundles different stack that is not available in RHEL 7.