Discussion: Difficult initialisation error
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C++
- Estrellas
- 1.1k
- Forks
- 434
- Merge medio
- 12 d 14 h
- PR fusionados (30 d)
- 2
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de softhsm/SoftHSMv2
-
C_DigestKey digests a sensitive EC private key's CKA_VALUE: no check that the object is a secret keyAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 54/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
Todos los issues de softhsm/SoftHSMv2
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
bug test
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
OpenAssetIO/OpenAssetIO#1527 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
ROCm/rocm-systems#15475 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
Sendspin/sendspin-cpp#257 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
pocoproject/poco#5664 ·
Los mantenedores suelen responder en 2 días