Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
已解决

importing pgp keys from Thunderbird on Linux to Thunderbird on Windows 11 produces error

muh 已回复
muh

On my Linux machine, I exported the public key for an email address in Thunderbird 140.8.0esr (64-bit) into a file. I transferred the file to my Windows 11 machine via Warpinator.

On the Windows machine I am running Thunderbird 148.0.1 (64-bit). In Account settings>End-to-End encryption, I click Add Key>Import an existing OpenPGP key>Select File to import, and then I select the file.

I get an error message: Error! Failed to import file.

I'm surprised. I would think that going from one installation of Thunderbird to another would work this way. I am concerned that I won't be able to read incoming encrypted emails without the key working.

Can someone help me?

On my Linux machine, I exported the public key for an email address in Thunderbird 140.8.0esr (64-bit) into a file. I transferred the file to my Windows 11 machine via Warpinator. On the Windows machine I am running Thunderbird 148.0.1 (64-bit). In Account settings>End-to-End encryption, I click Add Key>Import an existing OpenPGP key>Select File to import, and then I select the file. I get an error message: Error! Failed to import file. I'm surprised. I would think that going from one installation of Thunderbird to another would work this way. I am concerned that I won't be able to read incoming encrypted emails without the key working. Can someone help me?
定位到答案原位置

选择的解决方案

I succeeded. I exported the Secret Keys from the Linux system and created a password, then imported them successfully into the Windows system. Then, transferring the public keys worked. Thank you for your help!

所有回复 (7)

I am concerned that I won't be able to read incoming encrypted emails without the key working.

You need the private key to read incoming messages encrypted to your public key.

I successfully imported the public keys from Linux to Windows for several email addresses, using a single export file for all of them. For some reason, there are four that won't import. This time I exported all four in one shot, but when I tried to import them, I got this error: Error! Failed to import keys. RNP.importToFFI failed. The keys are still listed in the OpenPGP Key manager.

If I were to copy the profile directory from Linux to Windows, would that solve it?

At one point I successfully imported several keys via Key Manager. Those email addresses have keys now. But there are several that still do not.

So, I tried again. It appeared that I successfully imported five keys for five email addresses that have keys in the Linux machine but have no keys in the Windows machine via Key Manager, but the email accounts still say there is no key. I opened Key Manager and selected a key for an email address that says it has no key, and right-clicked, and selected Key properties. I chose: Yes, I've verified in person this Key has the correct fingerprint. I then clicked OK. But still, nothing happened. The email address has no key. OK, what am I missing?

I published the pubic keys, thinking that might help. Now I read that that's a bad idea. Great. Should I revoke them?

On the Linux machine, I just revoked all of the keys I created two days ago. I then hit "Publish" again, as that is what the instructions said, to update the keyserver that the revocation had taken place. There was only one of the new ones that transferred over to the Windows machine, and I had to revoke it again on that machine.

I will l have to create new ones.

There are still email addresses with older keys that I did not revoke, that will not transfer from the Linux Thunderbird to the Windows Thunderbird.

If anyone can help with getting these keys to transfer, I'd really appreciate it.

This time I exported all four in one shot, but when I tried to import them, I got this error: Error! Failed to import keys. RNP.importToFFI failed.

Is there anything special with those keys? Try to export each key individually instead of multiple ones in a single shot. As said before, if these are personal keys, you'll have to export them with the private key. I.e. you'll be prompted to set a passphrase for the exported private key. Please confirm whether this is what you're doing. Is there anything in the error console (Ctrl-Shift-J) after attempting to import a key? When importing a key, please explain the exact steps you're doing.

选择的解决方案

I succeeded. I exported the Secret Keys from the Linux system and created a password, then imported them successfully into the Windows system. Then, transferring the public keys worked. Thank you for your help!

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题