square / go-jose

An implementation of JOSE standards (JWE, JWS, JWT) in Go
1.98k stars 278 forks source link

Consider adding PKCS11 support #25

Closed csstaub closed 5 years ago

csstaub commented 9 years ago

As a possible enhancement, it would be nice to have support for doing decryption/signing on HSMs via PKCS11. Possibly with some sort of wrapper around https://github.com/miekg/pkcs11.

jsha commented 8 years ago

Note: If you want to wrap PKCS11 for signing, you may find this higher-level package (which wraps miekg/pkcs11) easier to use: https://github.com/letsencrypt/pkcs11key.

csstaub commented 8 years ago

That looks super useful. Thanks @jsha!

csstaub commented 5 years ago

Should be possible to do this now via the opaque signer interface