https://bugs.kde.org/show_bug.cgi?id=423349

--- Comment #6 from einbert-xer...@outlook.com ---
Turns out that it may be QCA2's fault.

Stacktrace:
#0 opensslQCAPlugin::MyPKeyContext::pkeyToBase
#1 opensslQCAPlugin::MyPKCS12Context::fromPKCS12
#2 QCA::get_pkcs12_der
#3 QCA::KeyBundle::fromFile

In opensslQCAPlugin::MyPKeyContext::pkeyToBase, the pkey_type it got was 408,
which is EVP_PKEY_EC. pkeyToBase only supports EVP_PKEY_RSA, EVP_PKEY_DSA and
EVP_PKEY_DH. For unknown types, it returns nullptr, and
opensslQCAPlugin::MyPKCS12Context::fromPKCS12 doesn't check the return value.
That nullptr is what we get from pkey_context->key(). Have no idea if it's
intended or it's a bug.

I may open another bug for QCA2 later.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to