Bug 1898440

Summary: Unable to import OpenGPG keys
Product: Red Hat Enterprise Linux 7 Reporter: Frank Büttner <bugzilla>
Component: thunderbirdAssignee: Jan Horak <jhorak>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.9CC: cschalle, georg.schroeder, hac.bugzilla, mail, pstadt, tpopela
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-25 09:48:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frank Büttner 2020-11-17 06:33:30 UTC
Description of problem:
When I try to import existing gpg keys, it will fails with the error, that the file can't read.

Version-Release number of selected component (if applicable):
thunderbird-78.4.0-1

How reproducible:
Every time


Steps to Reproduce:
Try to import an public or an private gpg key.

Actual results:
Only an error message is shown, that the file can't be readed.

Expected results:
That the key was imported.


Additional info:
It looks like the package was build without the needed gpg support, on every gpg operation in the developer console of thunderbird, this error is logged:
keyRing.jsm: loadKeyList: error TypeError: RNPLib is undefined

Comment 2 René Hartman 2020-12-08 14:19:19 UTC
Problem still present after update to Thunderbird 78.5.0 (64-bit)

Error Console shows:
keyRing.jsm: loadKeyList: error TypeError: RNPLib is undefined

CryptoAPI.sync() failed result:  TypeError: RNPLib is undefined                          interface.js:46:17
    getNewRevocation chrome://openpgp/content/modules/RNP.jsm:2866
    getNewRevocation chrome://openpgp/content/modules/cryptoAPI/RNPCryptoAPI.jsm:306
    openPgpKeygenConfirm chrome://openpgp/content/ui/keyWizard.js:610
    openKeyWizard chrome://openpgp/content/ui/enigmailKeyManager.js:1344
    oncommand chrome://openpgp/content/ui/enigmailKeyManager.xhtml:1

keyRing.jsm: loadKeyList: error TypeError: RNPLib is undefined

TypeError: RNPLib is undefined                                                              RNP.jsm:1432:17

keyRing.jsm: loadKeyList: error TypeError: RNPLib is undefined

Comment 3 Frank Büttner 2020-12-22 09:52:53 UTC
With the last update to 78.6.0 now the OpenGPG menus are complete absent.

Comment 4 Oliver Paukstadt 2021-01-13 13:49:10 UTC
This was done intentionally.

They don't want to support a specific crypto library so they decided to disable the whole pgp-style encryption.

https://bugzilla.redhat.com/show_bug.cgi?id=1837512

Comment 6 Tomas Popela 2021-03-25 09:48:28 UTC

*** This bug has been marked as a duplicate of bug 1886962 ***