Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cannot import personal openpgp key in End2End encryption setting.

  • 17 uphendule
  • 1 inale nkinga
  • 8 views
  • Igcine ukuphendulwa ngu k0zal4

more options

I cannot use OpenPGP encryption on one of my email addresses, because its private key does not appear in the End-to-End encryption of the account setting. Exactly, I can have added the private key through the wizard of the account setting, but there is no private key in the End-to-End encryption of the account setting instead of the private key appearing in the OpenPGP key manager.

The other email accounts are OK, i.e. I can use OpenPGP encryption on the accounts. The differences from the troubled email account are followings: - The troubled email account uses Ed255 not ECDSA algorithm. - Name of the troubled email account includes UTF-8 Japanese characters. - The troubled email account also registers S/MIME private.

Please give me advice on this problem. Thanks.

Isisombululo esikhethiwe

I have tried to modify user ID of the troubled PGP private key, which does not include double pairs of parenthesis but just includes single pair of Japanese parenthesis of UTF-8. Then the PGP key appears in End-to-end encryption finally!

Thank all of you supporting. I wish to fix the bug in the future.

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 0

All Replies (17)

more options

Dear k0zal4, read here https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq it might help.

I hope I have been helpful

Helpful?

more options

Thank you for your advice. But I cannot still solve the problem...

I've read the answer in your pointer: https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq#w_what-types-of-openpgp-keys-are-supported

I suspect that my personal key is not supported by RNP of Thunderbird78. My troubled public key is the following: https://keys.openpgp.org/vks/v1/by-fingerprint/20389DE46C10C861FBC8699B8ED70DE156BFDCBA

However, the key import process is everything O.K., then the key appears in OpenPGP key manager of Thunderbird78, although I cannot send an email with the key.

Any more help for the issue? Thanks.

Helpful?

more options

Dear k0zal4, from how you are describing the situation i also believe that your personal key is not supported by thunderbird RNP.

Helpful?

more options
there is no private key in the End-to-End encryption of the account setting instead of the private key appearing in the OpenPGP key manager.

After importing all your keys into Thunderbird OpenPGP, you'd still need to set up your account for e2e encryption. https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq#w_the-enigmail-migration-has-completed-successfully-but-im-still-unable-to-use-openpgp

Helpful?

more options

christ1. Thank you for your pointer I have already tried to do it many times, e.g. after removing my troubled key, then adding again. But I cannot manually select the troubled key, because the troubled key "does not appear in the account settings" instead of existing in the OpenPGP key manager, although the other private keys can be selected in the respective account setting. Thanks.

Helpful?

more options
I suspect that my personal key is not supported by RNP of Thunderbird78.

Did you get an error message in the sense of 'complex key - not supported' when importing the key into Thunderbird OpenPGP?

Are you certain you actually did import the private key?

You'll also have to mark your own secret key as accepted as a personal key. https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq#w_why-do-i-have-to-mark-my-own-secret-key-as-accepted-as-a-personal-key

Helpful?

more options

christ1, thank you for an advice.

>Did you get an error message in the sense of 'complex key - not supported' when importing the key into Thunderbird OpenPGP? I have never got the error message via adding key wizard in account setting, i.e. the wizard successfully completes.

>Are you certain you actually did import the private key? Yes, I sure the imported key is the one of my private keys.

>You'll also have to mark your own secret key as accepted as a personal key. Yes, I have marked the troubled key as my personal key in the key property via OpenPGP key manager.

Thank for many advices.

I wonder uninstalling Thunderbird for time being...

Helpful?

more options

Check the troubled key in the OpenPGP Key Manager. Right-click the key - Key Properties

What are the Acceptance options for that key starting with 'Yes'?

Does the user ID of the key match the email address of the account for which you try to set up OpenPGP encryption?

Helpful?

more options

Thanks, christ1. I've checked what you've said is O.K.. Thank you for a long time.

Helpful?

more options

I have made the clean set up Thunderbird 78.9.0 again. I regret that the above problem is NOT solved. Other IDs are O.K., but the OpenPGP personal key of the ID does not appear in End-to-End encryption setting, even if the key import wizard finishes successfully. I give up to use OpenPGP in Thunderbird ;; Thanks and goodbye!

Helpful?

more options

Is there anything related in the Error Console? https://wiki.mozilla.org/Thunderbird:OpenPGP#Debugging_.2F_Tracing

Helpful?

more options

At the first timing to open the wizard of adding OpenPGP key in End-to-End encryption, logging the following message in the error console:

>[Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) >[nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: >resource://gre/modules/L10nRegistry.jsm :: L10nRegistry.loadSync :: line 658" data: no] 2 L10nRegistry.jsm:658:19

Helpful?

more options

This isn't related. Check the OpenPGP and RNP log options mentioned in the article.

Helpful?

more options

I put the only OpenPGP debug log, because I don't know how to enable RNP log:

2021-04-11 20:24:21.997 [DEBUG] core.jsm: Logging debug output to C:\TMP/enigdbug.txt 2021-04-11 20:24:21.997 [DEBUG] core.jsm: startup() 2021-04-11 20:24:21.997 [DEBUG] sqliteDb.jsm: checkDatabaseStructure() 2021-04-11 20:24:21.997 [DEBUG] sqliteDb.jsm: openDatabase() 2021-04-11 20:24:21.997 [DEBUG] sqliteDb.jsm: openDatabaseConn() 2021-04-11 20:24:22.024 [DEBUG] sqliteDB.jsm: checkWkdTable() 2021-04-11 20:24:22.034 [DEBUG] sqliteDB.jsm: checkWkdTable - success 2021-04-11 20:24:22.047 [DEBUG] sqliteDb.jsm: checkDatabaseStructure - success 2021-04-11 20:24:22.048 [DEBUG] sqliteDb.jsm: PgpSqliteDb2 checkDatabaseStructure() 2021-04-11 20:24:22.048 [DEBUG] sqliteDb.jsm: PgpSqliteDb2 openDatabase() 2021-04-11 20:24:22.048 [DEBUG] sqliteDb.jsm: openDatabaseConn() 2021-04-11 20:24:22.066 [DEBUG] sqliteDB.jsm: checkAcceptanceTable - success 2021-04-11 20:24:22.066 [DEBUG] sqliteDb.jsm: PgpSqliteDb2 checkDatabaseStructure - success 2021-04-11 20:24:22.073 [DEBUG] mimeVerify.jsm: registerContentTypeHandler 2021-04-11 20:24:22.077 [DEBUG] mimeEncrypt.jsm: initModule() 2021-04-11 20:24:23.216 [DEBUG] enigmailMessengerOverlay.js: Startup 2021-04-11 20:24:23.216 [DEBUG] enigmailMessengerOverlay.js: overrideAttribute oncommand: oldValue=goDoCommand('cmd_print') 2021-04-11 20:24:23.216 [DEBUG] enigmailMessengerOverlay.js: overrideAttribute oncommand: oldValue=goDoCommand('cmd_printpreview') 2021-04-11 20:24:23.216 [DEBUG] enigmailMessengerOverlay.js: overrideAttribute oncommand: oldValue=goDoCommand('cmd_print') 2021-04-11 20:24:23.216 [DEBUG] enigmailMessengerOverlay.js: *** UNABLE to override id=button-print 2021-04-11 20:24:23.216 [DEBUG] enigmailMessengerOverlay.js: overrideAttribute oncommand: oldValue=Enigmail.msg.msgPrint('cmd_print'); 2021-04-11 20:24:23.216 [DEBUG] enigmailMessengerOverlay.js: overrideAttribute oncommand: oldValue=Enigmail.msg.msgPrint('cmd_printpreview'); 2021-04-11 20:24:23.217 [DEBUG] enigmailMsgHdrViewOverlay.js: this.hdrViewLoad 2021-04-11 20:24:23.217 [DEBUG] enigmailMsgHdrViewOverlay.js: this.msgHdrViewLoad 2021-04-11 20:24:23.217 [DEBUG] enigmailMsgHdrViewOverlay.js: _listener_onStartHeaders 2021-04-11 20:24:23.217 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal 2021-04-11 20:24:23.217 [DEBUG] enigmailMsgHdrViewOverlay.js: setWindowCallback 2021-04-11 20:24:23.217 [DEBUG] enigmailMsgHdrViewOverlay.js: _listener_onEndHeaders 2021-04-11 20:24:23.217 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal 2021-04-11 20:24:40.130 [DEBUG] keyRing.jsm: getAllSecretKeysByEmail: 'xxxxx@eb7.jp' 2021-04-11 20:24:40.130 [DEBUG] keyRing.jsm: getKeysByEmail: 'xxxxx@eb7.jp' 2021-04-11 20:24:40.130 [DEBUG] keyRing.jsm: loadKeyList( null) 2021-04-11 20:24:40.135 [DEBUG] keyRing.jsm: createAndSortKeyList() 2021-04-11 20:24:40.140 [DEBUG] keyRing.jsm: getAllSecretKeysByEmail: 'xxxxx@eb7.jp' 2021-04-11 20:24:40.140 [DEBUG] keyRing.jsm: getKeysByEmail: 'xxxxx@eb7.jp' 2021-04-11 20:24:40.142 [DEBUG] keyRing.jsm: getKeyById: 2021-04-11 20:24:46.582 [DEBUG] enigmailCommon.jsm: filePicker: false 2021-04-11 20:24:49.654 [DEBUG] key.jsm: getKeyListFromKeyBlock 2021-04-11 20:24:59.359 [DEBUG] keyRing.jsm: EnigmailKeyRing.importKeyFromFile: fileName=C:\Users\xxxxx\Documents\private.asc 2021-04-11 20:24:59.359 [DEBUG] masterpass.jsm: retrieveMasterPassword() 2021-04-11 20:25:02.386 [DEBUG] keyRing.jsm: updateKeys(0x8ED70DE156BFDCBA) 2021-04-11 20:25:02.386 [DEBUG] keyRing.jsm: deleteKeysFromCache(0x8ED70DE156BFDCBA) 2021-04-11 20:25:02.386 [DEBUG] keyRing.jsm: getKeyById: 0x8ED70DE156BFDCBA 2021-04-11 20:25:02.386 [DEBUG] keyRing.jsm: loadKeyList( 0x8ED70DE156BFDCBA) 2021-04-11 20:25:02.389 [DEBUG] keyRing.jsm: createAndSortKeyList() 2021-04-11 20:25:02.390 [DEBUG] keyRing.jsm: EnigmailKeyRing.clearCache 2021-04-11 20:25:02.390 [DEBUG] keyRing.jsm: getKeyById: 8ED70DE156BFDCBA 2021-04-11 20:25:02.390 [DEBUG] keyRing.jsm: loadKeyList( null) 2021-04-11 20:25:02.394 [DEBUG] keyRing.jsm: createAndSortKeyList() 2021-04-11 20:25:02.395 [DEBUG] sqliteDb.jsm: PgpSqliteDb2 openDatabase() 2021-04-11 20:25:02.395 [DEBUG] sqliteDb.jsm: openDatabaseConn() 2021-04-11 20:25:05.070 [DEBUG] keyRing.jsm: getAllSecretKeysByEmail: 'xxxxx@eb7.jp' 2021-04-11 20:25:05.070 [DEBUG] keyRing.jsm: getKeysByEmail: 'xxxxx@eb7.jp' 2021-04-11 20:25:05.074 [DEBUG] keyRing.jsm: getKeyById: 2021-04-11 20:25:37.943 [DEBUG] enigmailMessengerOverlay.js: messengerClose() 2021-04-11 20:25:37.953 [DEBUG] enigmailMessengerOverlay.js: messageFrameUnload 2021-04-11 20:25:37.954 [DEBUG] enigmailMessengerOverlay.js: messageCleanup 2021-04-11 20:25:37.954 [DEBUG] enigmailMessengerOverlay.js: setAttachmentReveal

Okulungisiwe ngu k0zal4

Helpful?

more options

Because I use Thunderbird version. on Windows10.

Helpful?

more options

Thank you for the bug report. I confirm your key isn't processed correctly. We fail to extract its email address, because of two comment sections. A bug in our code. I've file a ticket here: https://bugzilla.mozilla.org/show_bug.cgi?id=1704435

Helpful?

more options

Isisombululo Esikhethiwe

I have tried to modify user ID of the troubled PGP private key, which does not include double pairs of parenthesis but just includes single pair of Japanese parenthesis of UTF-8. Then the PGP key appears in End-to-end encryption finally!

Thank all of you supporting. I wish to fix the bug in the future.

Helpful?

Buza umbuzo

Kufanele ulogele ukungena ku-akhawunti yakho ukuze uphendule amaphosti. Uyacelwauqale umbuzo omusha, uma ungekabi nayo i-akhawunti namanje.