From: <Hon...@cs...> - 2007-08-28 03:12:38
|
Hi all, For those that are interested, I've was able to resolve the = Authorization Error I was getting when calling `aik.loadkey` method = during attestation process. The simple fix was to use SHA-1 SRK passwords instead of plain text as = SRK password. Specifically, something like this: srkUsagePolicy.setSecret(TcTssConstants.TSS_SECRET_MODE_SHA1, = srkPassBlob); where `srkPassBlob` contains a SHA-1 of the SRK password string. For me, I am getting this string via console, then turned into a JRE's = String object. Still haven't completed the entire attestation process, but just letting = you guys know how to solve similar problems. I am using jTSS 0.1 on TPM Emulator 0.5, Sun's Java 6 on Ubuntu 7 (x86). Thanks to Ronald and Martin for the help. Hon Hwang. |