EVP_PKEY_private_check does not seem to work when no private key params are set
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- cryptography, security
Research direction
Start by reproducing the issue with OSSL_PARAM_BLD_new(), EVP_PKEY_fromdata(), and EVP_PKEY_private_check() using only exponent and modulus parameters. Trace how the SymCrypt provider handles the resulting key during private_check; done means the incomplete key is rejected with an error rather than returning success.
Written by the indexing model from the issue text.
Description
********* STEPS ***********
- Create
OSSL_PARAM_BLD_new()and push exponent and modulus BN params ONLY. - Create an EVP_PKEY using
EVP_PKEY_fromdata(...)and pass it params created usingOSSL_PARAM_BLD_to_param(...). - Call
EVP_PKEY_private_check()
Expected behavior: EVP_PKEY_private_check should return an error.
Actual: EVP_PKEY_private_check returns 1 (success).
OpenSSL version: 3.5.0
SymCrypt provider version: default from AzureLinux3.0.
- Dominant language
- C
- Stars
- 81
- Forks
- 16
- Avg merge
- 22h 34m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/SymCrypt-OpenSSL
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
microsoft/SymCrypt-OpenSSL#170 ·
-
requests with cipher(DHE-RSA-AES256-GCM-SHA384) fail with internal errorMay be free again @mamckee claimed this 339 days ago, and no pull request is open. Openinvestigate
microsoft/SymCrypt-OpenSSL#151 · 1 comment · 1 assignee ·
All issues in microsoft/SymCrypt-OpenSSL
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
[stb] Update to 2026-08-02 (stb_image_resize2 2.10 -> 2.18)Possibly taken @tomconder claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Missing zeroOpen
Difficulty 1/5 Under an hour Newbie friendliness 95/100
projecthorus/radiosonde_auto_rx#1116 · 1 comment ·