PeculiarVentures / node-webcrypto-p11

A WebCrypto Polyfill for Node in typescript built on PKCS#11.
MIT License
44 stars 15 forks source link

Openssl engine support #46

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hi,

I'm currently working on a project that makes TLS mutual authentication. The keys reside inside HSM. Do you have any information whether it is possible to do TLS client authentication with this package?

rmhrisk commented 5 years ago

node-webcrypto-p11 would be useful to your task if you had a TLS implementation based on WebCrypto. I am not aware of such a library.

You want to work with crypto.setEngine() in node; see https://github.com/nodejs/node/issues/5101

ghost commented 5 years ago

Thank you. I'll check it out.