|
From: Till B. <ti...@on...> - 2007-07-16 10:10:36
|
I think I found the error. It was the encoding of the used passwords. I
guess if the password is set via tpm_takeownership the encoding is ASCII
whereas jTSS expects UTF-16LE.
On 7/16/07, Till Bentz <ti...@on...> wrote:
>
> Hello,
>
> I am using jTss with the wrapper for TrouSerS on with an STM TPM. I want
> to create an AIK for a remote attestation procedure. I set up the TPM using
> TrouSerS and tpm_takeownership. During that process I had to set the owner
> password as well as the SRK password. In my Java application I try to load
> the SRK and it seems to work. After I created an empty aik I try to issue a
> collateIdentityRequest and encounter the following error:
>
> ----
> iaik.tc.tss.api.exceptions.tcs.TcTpmException:
>
> TSS Error:
> error layer: 0x00 (TPM)
> error code (without layer): 0x01
> error code (full): 0x01
> error message: Authentication failed
>
> at iaik.tc.tss.impl.jni.tsp.TcBaseObject.handleRetCode(
> TcBaseObject.java:104)
> at iaik.tc.tss.impl.jni.tsp.TcTpm.collateIdentityRequest(TcTpm.java
> :1071)
> at tc.Client.collateIdentityRequest(Client.java :176)
> at test.trustedJava.TestQuote.main(TestQuote.java:22)
> ----
>
> I looked in the sources and it seems to be an "TcTssErrors.TSS_LAYER_TPM"
> error.
>
> Any help is appreciated. Thanks a lot
> --
> MfG
> Till
>
> **********************************************
> Der Benutzer ist eine nicht zu
> tolerierende Quelle der Unsicherheit
> **********************************************
--
MfG
Till
**********************************************
Der Benutzer ist eine nicht zu
tolerierende Quelle der Unsicherheit
**********************************************
|