Support for custom objects backends
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C++
- Stelle
- 1.1k
- Fork
- 434
- Merge medio
- 12g 14h
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di softhsm/SoftHSMv2
-
C_DigestKey digests a sensitive EC private key's CKA_VALUE: no check that the object is a secret keyAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 54/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
Tutte le issue di softhsm/SoftHSMv2
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
charmplusplus/charm#4210 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
[BUG] VPN auth dialog spawned by the secret agent fails with "TLS support is not available" on NixOSApertabug nixos umbriel
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
noctalia-dev/noctalia#5310 ·
I maintainer di solito rispondono entro 1 giorno
-
area/docdb kind/bug priority/medium status/awaiting-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
yugabyte/yugabyte-db#37426 ·
I maintainer di solito rispondono entro 1 giorno