Hi,
Here is my current configuration:
TPM Emulator version 0.5
jTSS 0.1 (using Java native jTSS)
I have been writing code to do a remote attestation.
The code run fine in terms of generating a TCPA_IDENTITY_REQ via =
CollateIdentityRequest method. The server can parse the =
TCPA_IDENTITY_REQ structure, and is able to generate the =
TCPA_SYM_CA_CONTENTS and TCPA_SYM_CA_ATTESTATION structures.
The problem is in the ActivateIdentity command on the client side.
I keep getting `Authorization Failed` message.
I assume this is different from `Authentication Failed` message, which =
to me means wrong password - specifically, SRK password.
With `Authorization Failed`, I am guessing it is saying the SRK cannot =
unwrap the AIK?
I get the message when I call:
aik.loadKey(srk)
Where `aik` is an instance of TcIRsaKey class that was passed into =
CollateIdentityRequest. `srk` is an instance of TcIRsaKey that was =
instantiated and passed into CollateIdentityRequest as well.
The jTSS test case for remote attestation ran fine.
So any hints on where I did something wrong?
Thanks.
Hon Hwang.
|