Support for custom objects backends
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Start by reading the ObjectStoreToken interface and the FindObjects() implementation to understand how objects are stored and queried. The request proposes a configurable custom backend and changing that interface, but does not identify files or tests. Done would mean defining and implementing an extension API that lets users provide objects while SoftHSM handles cryptography.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hey !
My use case
I am using dynamically generated secrets, and would like to provide them to PKCS#11 API consumers upon demand (my concrete use-case: when the browsers looks up certificates for a given hostname, I dynamically generate a short-lived certificate for that hostname)
In order to achieve this, I am using a custom PKCS#11 module, but re-implementing the whole "crypto" part (which is essentially what SoftHSM does) is complicated, and prone to errors.
Instead of implementing a full PKCS#11 module myself, I'd love to use this project to give me a simpler API to provide objects (ObjectStoreToken interface), and let SoftHSM handle the cryptography.
Feature request for this project
How about implementing a custom backend system ? Users could configure a .so file in the configuration/at compile time, which would have methods to create a ObjectStoreToken implementation
The only block for my specific use-case (and probably others that have similar needs ?) would be the need to incorporate FindObjects() into the ObjectStoreToken interface, to have a hint about what kind of object the caller is looking for
What do you think about this feature request ? I'd love to submit a PR for this
- 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 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
-
community:good-first-issue kind:bug kind:test scope:control status:needs-triage vehicle:rover
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
PX4/PX4-Autopilot#29727 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día