Hi All I have a RSA-key pair in two separate PEM-Files (Plain Text) and a corresponding X.509 certificate. Currently, I'm trying to import this key pair to my TPM using tpm-tools and tpm-quote-tools. As TPM I use the tpm_emulator by M. Strasser. I tried different things, but I keep getting the following error Message on calling
~# tpm_loadkey Keyfile.pem uuidfile Error while loading key blob. Error code: TSS_E_OUTOFMEMORY , while keyfile is the PEM-File containing either the private key only or both keys in Plain Text and uuidfile is a uuid generated by tpm_mkuuid. I also tried sealing the key data using tpm_sealdata and my SRK, but that gives me a segmentation fault. For setup I only took ownership of the TPM and left all other configuration settings during build of all used tools and the emulator to their default values. My Questions: - Do I have to define something special during build or usage? (e.g Call another helper tool to define the key storage size) - Are the PEM-files the right format als BLOBs, or Do I need to convert them first? If yes, How can I do this? Thank you for all help and best regards Stefan Riesen __________________________________________ Stefan Riesen Software Ingenieur Embedded Systems Noser Engineering AG Rudolf-Diesel-Strasse 3 CH-8404 Winterthur +41 (0)52 234 56 11 phone +41 (0)52 234 56 96 direct [email protected] www.noser.com __________________________________________ member of the noser group ________________________________ Wir sind an folgenden Events mit Referaten und Ausstellungen aktiv: * 28. August: Noser Technologie Impulse Bern<http://www.noser.com/de/nti-bern> - Bern * 2. - 4. September: Sindex<http://www.noser.com/de/sindex-bern> - Bern * 8. Oktober: Noser Technologie Impulse München<http://www.noser.com/de/nti-muenchen> - München * 1. - 5. Dezember: Embedded Software Engineering Kongress ESE<http://www.noser.com/de/index.php?section=calendar&cmd=event&id=139> - Sindelfingen Besuchen Sie uns, wir freuen uns auf Sie. ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ TrouSerS-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-users
