EVP_PKEY_private_check does not seem to work when no private key params are set
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- c
- 领域
- cryptography, security
调研方向
首先,仅使用指数和模数参数,通过 OSSL_PARAM_BLD_new()、EVP_PKEY_fromdata() 和 EVP_PKEY_private_check() 重现该问题。跟踪 SymCrypt provider 在 private_check 期间如何处理生成的密钥;当不完整的密钥被返回错误拒绝,而不是返回成功时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
********* 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.
- 主要语言
- C
- 星标
- 82
- 派生
- 16
- 平均合并
- 22 小时 34 分钟
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/SymCrypt-OpenSSL 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 68/100
microsoft/SymCrypt-OpenSSL#170 ·
-
requests with cipher(DHE-RSA-AES256-GCM-SHA384) fail with internal error可能重新可做 @mamckee 于 353 天前认领,目前没有进行中的 PR。 未关闭investigate
microsoft/SymCrypt-OpenSSL#151 · 1 条评论 · 已指派 1 人 ·
查看 microsoft/SymCrypt-OpenSSL 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
kubernetes-sigs/security-profiles-operator#3597 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
AFLplusplus/AFLplusplus#2903 ·
-
Clean up stale and inaccurate comments in the platform screen and input files可能已有人在做 @RichStephens 今天认领。 未关闭
难度 2/5 半天 新手友好度 88/100
FujiNetWIFI/fujinet-config#289 ·
维护者通常 1 天内回复
-
category:port-update
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
nasa/cFS-GroundSystem#272 ·