Discussion: Difficult initialisation error
まだ誰も着手していません。
評価
調査の方向性
Start at src/lib/SoftHSM.cpp, around line 567, where initialization handles a missing configuration file. Read the surrounding error handling and compare the proposed CKR_FUNCTION_FAILED and CKR_DEVICE_ERROR codes to determine which best fits. Done means the project has an agreed error code and a pull request implementing it; the issue does not identify tests to run.
索引モデルが issue の本文から書いたものです。
説明
When SoftHSM is missing its config file it exits with a CKR_GENERAL_ERROR which I think is somewhat misleading as this is generally seen as some hopeless situation where a catastrophic error has occurred and does not hint to something as simple as config missing. I think it would be more useful to a developer if instead at this point we returned a CKR_FUNCTION_FAILED or CKR_DEVICE_ERROR which hint more at invalid configuration/data. I don't know the answer here so was looking for input on what I think is something which could be improved, with an agreed approach I am happy to build the PR implementing it.
- 主要言語
- C++
- スター
- 1.1k
- フォーク
- 434
- 平均マージ
- 12日 14時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
softhsm/SoftHSMv2 のほかの issue
-
C_DigestKey digests a sensitive EC private key's CKA_VALUE: no check that the object is a secret keyオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 56/100
softhsm/SoftHSMv2 の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
bug test
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
OpenAssetIO/OpenAssetIO#1527 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
ROCm/rocm-systems#15475 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
Sendspin/sendspin-cpp#257 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
pocoproject/poco#5664 ·
メンテナーはふだん 2 日以内に返信