From: Ronald T. <ron...@ia...> - 2014-09-02 14:56:08
|
Hello, This is a very interesting problem. Are you using the same HW/TPM, but just boot another OS? One thing to try is to run jtt take_ownership again to make sure the SRK is properly copied into the persistent storage. Ronald On 09/02/2014 04:16 PM, 窦佐超 wrote: > Dear All, > I installed TPM_emulator, JTSS and JTPMtool. > It works on my Ubuntu system. > > Now I try to install the same setting on CentOS 6.5. with all the same > setting. > The TPM_emulator, JTSS works fine and passed the run_test_simple.sh. > > When I tried the jTPM-tool, pcr_extend, pcr_read, tpm_version are > works fine. > > But when I tried to use create_key, it came up with the following error: > > [edward@master jTpmTools_0.7]$ sudo bash jtt.sh create_key -t storage > > --------------------- > IAIK Java TPM Tools > --------------------- > > 10:06:28:676 [INFO] CreateKey::execute (115): Using default > TSS_WELL_KNOWN_SECRET as key secret > iaik.tc.tss.api.exceptions.tcs.TcTpmException: > > TSS Error: > error layer: 0x00 (TPM) > error code (without layer): 0x03 > error code (full): 0x03 > error message: One or more parameter is bad > > at > iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon.handleRetCode(TcTpmCmdCommon.java:73) > at > iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdAuthorization.TpmOSAP(TcTpmCmdAuthorization.java:101) > at > iaik.tc.tss.impl.java.tcs.authmgr.TcTcsAuthManager.startOSAP(TcTcsAuthManager.java:53) > at iaik.tc.tss.impl.java.tcs.tcsi.TcTcsi.TcsipOSAP(TcTcsi.java:2764) > at > iaik.tc.tss.impl.java.tsp.tcsbinding.local.TcTcsBindingLocal.TcsipOSAP(TcTcsBindingLocal.java:746) > at > iaik.tc.tss.impl.java.tsp.internal.TcTspInternal.TspOSAP_Internal(TcTspInternal.java:4114) > at iaik.tc.tss.impl.java.tsp.TcRsaKey.createKey(TcRsaKey.java:495) > at iaik.tc.apps.jtt.keys.CreateKey.execute(CreateKey.java:158) > at iaik.tc.utils.cmdline.SubCommand.run(SubCommand.java:69) > at > iaik.tc.utils.cmdline.SubCommandParser.parse(SubCommandParser.java:41) > at iaik.tc.apps.JTpmTools.main(JTpmTools.java:224) > > 10:06:28:852 [ERROR] JTpmTools::main (235): application exits with > error: > > TSS Error: > error layer: 0x00 (TPM) > error code (without layer): 0x03 > error code (full): 0x03 > error message: One or more parameter is bad > (return: -1) > > [edward@master jTpmTools_0.7]$ > > > Please help me with this, Thanks! > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > > > _______________________________________________ > Trustedjava-support mailing list > Tru...@li... > https://lists.sourceforge.net/lists/listinfo/trustedjava-support -- Dr. Ronald Tögl phone +43 316/873-5502 Secure and Correct Systems fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |