Open pipprojects opened 5 years ago
I have added a new method cal;led SignPKCS1v15Hash which allows the tls/crypto Signer method to use an openssl engine to sign data. A TPM (Trusted Platform Module) can then be used with Go code, using the library from here
https://git.kernel.org/pub/scm/linux/kernel/git/jejb/openssl_tpm2_engine.git
There is also a function LoadPrivateKeyFromPEMForEngine which loads the engine with the reference to the private key.
I have added a new method cal;led SignPKCS1v15Hash which allows the tls/crypto Signer method to use an openssl engine to sign data. A TPM (Trusted Platform Module) can then be used with Go code, using the library from here
https://git.kernel.org/pub/scm/linux/kernel/git/jejb/openssl_tpm2_engine.git
There is also a function LoadPrivateKeyFromPEMForEngine which loads the engine with the reference to the private key.