I am trying to address a bug report for TPM Quote Tools which is built on Trousers. I am having trouble diagnosing the problem because the return code is not what I expect. When making an AIK, my program executes:
rc = Tspi_Key_CreateKey(hPCA, hSRK, 0); if rc != TSS_SUCCESS, I print an error message using the values in tss/tspi.h which includes tss/tss_error.h. In the bug report, the return value is 1, but that value has no translation. What does it mean when create key returns an error code of 1? John -----Original Message----- From: Andrew Pollock <[email protected]> Date: Friday, March 3, 2017 at 2:44 AM To: "Ramsdell, John D." <[email protected]> Subject: Re: Fooling around with tpm-quote-tools Excellent. I finally had some spare cycles to return to this, and after addressing a bug with an older version of Trousers, I was able to reproduce the problem again. So, I have a Lenovo X1 Carbon $ sudo tpm_version TPM 1.2 Version Info: Chip Version: 1.2.13.12 Spec Level: 2 Errata Revision: 3 TPM Vendor ID: STM Vendor Specific data: 50 TPM Version: 01010000 Manufacturer Info: 53544d20 I have previously taken ownership of it with a non-well-known owner password. Note that I'm executing this with two non-existent files for both arguments $ sudo tpm_mkaik /tmp/blob /tmp/pubkey Enter owner password: Error while creating PCA key in TPM. Error code: 0x1 Just in case I had misunderstood something for grins I created a CA with OpenSSL and converted the public key to DER and used it as the second argument, but got the same result Any further insights you have would be much appreciated. regards Andrew ------------------------------------------------------------------------------ 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
