From: Ronald T. <ron...@ia...> - 2009-04-27 12:16:06
|
Hello Teng Sha, 1. We would need much more information on the first error to attempt an analysis. Source code examples, exception stack trace etc. 2. The test suite uses the card-coded owner password "opentc". If none is set, it will do so automatically. If non is set, it will fail in the way described. Ronald Teng Sha wrote: > Hello,everyone. > When I use the "bind" command in the jTpmTools,there throws an exception > which is " > iaik.tc.tss.api.exceptions.tcs.TcTpmException: > > TSS Error: > error layer: 0x00 (TPM) > error code (without layer): 0x21 > error code (full): 0x21 > error message: The decryption process did not complete. > > at > iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon.handleRetCode(TcTpmCmdCommon.java:73) > ...... > " > But I have run this command successfully before.I don't know why it > cannot work now. > Meanwhile,when I run the test program that jTSS has > itself(jTSS_0.4a/tests/run_tests.sh),there also throws some > exceptions.In fact,it is the same exception which are thrown for many > times.It is: > " > 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.java.tcs.pbg.TcTpmCmdCommon.handleRetCode(TcTpmCmdCommon.java:73) > ...... > " > > Ask for help~! > -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |