Possible PKCS#11 regression

未关闭
#810 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

  • #811 来自 @ruiliio —— 已关闭,未合并

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
cpp
领域
security

调研方向

The report points to change 4f296fac from #794 and a build failure in /usr/include/softhsm/pkcs11.h involving ck_rsa_pkcs_oaep_params; it names no repository source file or test. Read #794 and the referenced change first, then check whether the build failure is reproducible and what compatibility change is needed. Done means the regression and expected backward compatibility behavior are resolved and documented.

由索引模型根据 Issue 内容生成。

描述

Between ebf6ff706a37ecb1e9249631d3818d810075b91c and HEAD a change has been made which causes the attached build error. I believe it to be 4f296fac1ab9461215b9edba9199f1ed2e1eb4ee from #794.

Author of #794: @ruiliio
Approver of #794: @jschlyter

If this is intentional what are the expected code changes and is it intentional to not be backwards compatible?

In file included from <>,
                 from <>:
<>/usr/include/softhsm/pkcs11.h:984:3: error: unknown type name 'ck_rsa_pkcs_oaep_params'
   ck_rsa_pkcs_oaep_params *oaep_params;
   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from <>,
                 from <>:
<>/usr/include/softhsm/pkcs11.h:984:3: error: unknown type name 'ck_rsa_pkcs_oaep_params'
   ck_rsa_pkcs_oaep_params *oaep_params;
   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from <>,
                 from <>:
<>/usr/include/softhsm/pkcs11.h:984:3: error: unknown type name 'ck_rsa_pkcs_oaep_params'
   ck_rsa_pkcs_oaep_params *oaep_params;
   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from <>,
                 from <>:
<>/usr/include/softhsm/pkcs11.h:984:3: error: unknown type name 'ck_rsa_pkcs_oaep_params'
   ck_rsa_pkcs_oaep_params *oaep_params;
   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from <>,
                 from <>,
                 from <>:
<>/usr/include/softhsm/pkcs11.h:984:3: error: unknown type name 'ck_rsa_pkcs_oaep_params'
   ck_rsa_pkcs_oaep_params *oaep_params;
   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from <>,
                 from <>:
<>/usr/include/softhsm/pkcs11.h:984:3: error: unknown type name 'ck_rsa_pkcs_oaep_params'
   ck_rsa_pkcs_oaep_params *oaep_params;
   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from <>,
                 from <>:
<>/usr/include/softhsm/pkcs11.h:984:3: error: unknown type name 'ck_rsa_pkcs_oaep_params'
   ck_rsa_pkcs_oaep_params *oaep_params;
   ^~~~~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [<>] Error 1
gmake[2]: *** Waiting for unfinished jobs....
主要语言
C++
星标
1.1k
派生
434
平均合并
12 天 14 小时
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

softhsm/SoftHSMv2 的其他 Issue

查看 softhsm/SoftHSMv2 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。