Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

openPGP "no suitable subkey found for encrypt"

  • 3 отговора
  • 1 има този проблем
  • 2 изгледи
  • Последен отговор от Kai Engert

more options

I am trying to send encrypted emails. I added the public key of the recipient in openPGP key manager and set them Trusted.

From "write message" windows, if i click on security--> view security infos, it shows the status ok for the receipient.

However, when i click sent button, it fails. The error console is logging "no suitable subkey found for encrypt", however as you can see from the screen shots, the encryption subkey is there.

If i sent signed emails (with my private key) or unencrypted emails, Thunderbird works fine. Also encrypting files externally with Kleopatra (using the same public keys) also works fine.

I am using Thunderbird v 91.5.0 64-bit on Linux Mint 20.3 Cinnamon and kernel version 5.13.0.27.

Any help is appreciated.

I am trying to send encrypted emails. I added the public key of the recipient in openPGP key manager and set them Trusted. From "write message" windows, if i click on security--> view security infos, it shows the status ok for the receipient. However, when i click sent button, it fails. The error console is logging "no suitable subkey found for encrypt", however as you can see from the screen shots, the encryption subkey is there. If i sent signed emails (with my private key) or unencrypted emails, Thunderbird works fine. Also encrypting files externally with Kleopatra (using the same public keys) also works fine. I am using Thunderbird v 91.5.0 64-bit on Linux Mint 20.3 Cinnamon and kernel version 5.13.0.27. Any help is appreciated.
Прикачени екранни снимки

Избрано решение

Actually i solved thank to KaiE help... This behavior happens when you use External GnuPG and subkeys.

The problem was that when i added the GPG key ID to my account, I did not add the Primary key, but the ID of a subkey. Apparently that made the encryption process fails (also for my other contacts).

Changing the ID of the key associated with my profile with the ID of the primary Key, fixed the problem.

Thanks anyway

Прочетете този отговор в контекста 👍 0

Всички отговори (3)

more options

Open the OpenPGP Key Manager and check whether the encryption subkey of any of recipients keys has expired. That also includes your own key.

more options

Избрано решение

Actually i solved thank to KaiE help... This behavior happens when you use External GnuPG and subkeys.

The problem was that when i added the GPG key ID to my account, I did not add the Primary key, but the ID of a subkey. Apparently that made the encryption process fails (also for my other contacts).

Changing the ID of the key associated with my profile with the ID of the primary Key, fixed the problem.

Thanks anyway

more options

Let's try to make this misconfiguration easier to notice: https://bugzilla.mozilla.org/show_bug.cgi?id=1752010