On 4/11/2017 1:03 AM, Promila Jangra wrote: > Hello all > > I am doing an activity based using TPM 1.2 and openssl. > First, I'll generate signature using TPM and after that verify the same > using openssl. > But there is issue regarding the key compatibility between TPM and > openssl. I want to use TPM generated public key to verify the signature > through openssl. > > Do anybody have an idea about the usage of TPM generated public key to > perform any operation on openssl
It's certainly possible, but a bit messy. You have to use the TPM public key as a binary array, plus the default exponent, to construct an openssl "RSA" key token. It's a bit different for openssl 1.0 and 1.1, and for TPM 1.2 and TPM 2.0, but I can point you to sample code if this post isn't enough. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
