|
From: Till B. <ti...@on...> - 2007-07-04 16:44:23
|
Hello,
I am new to this list so fist a hello to everyone.
Now my problem. :)
I just installed JTSS, jTpmTools and the wrapper. I then took ownership of
my TPM, which is a STM 1.2 on a Dell Optiplex GX620, using the following
command:
----
$ sh jtt.sh take_owner -o till
-----------------------------------
IAIK/OpenTC Java TPM Tools
- - - - - - - - - -
using IAIK Trusted Computing libs
jTSS, TCcert and XKMS
-----------------------------------
LOG_DEBUG TSPI ../tcsd_api/clntside.c:102 Sending TSP packet to host
localhost.
LOG_DEBUG TSPI ../tcsd_api/clntside.c:118 Connecting to 127.0.0.1
LOG_ERR TSPI ../tcsd_api/clntside.c:121 ERROR: connect: Connection refused
LOG_ERR TSPI ../tcsd_api/tcstp.c:247 ERROR: Failed to send packet
18:18:04:207 [INFO] CommonSettings::getTssFactory (39): TrouSerS and/or jTSS
Wrapper not found. Trying IAIK jTSS.
18:18:04:405 [INFO] TcTcsi::<clinit> (-1): Unable to open TCS
configuration file for system persistent storage information. Disabling
system persistent storage.
18:18:04:453 [INFO] CommonSettings::getTssFactory (47): IAIK jTSS found.
Using local bindings...
18:18:17:680 [INFO] TakeOwnership::execute (82): TakeOwnership
succeeded
----
If I now try to read the pubek, I get the following error:
----
$ sh jtt.sh read_pubek -o till
-----------------------------------
IAIK/OpenTC Java TPM Tools
- - - - - - - - - -
using IAIK Trusted Computing libs
jTSS, TCcert and XKMS
-----------------------------------
LOG_DEBUG TSPI ../tcsd_api/clntside.c:102 Sending TSP packet to host
localhost.
LOG_DEBUG TSPI ../tcsd_api/clntside.c:118 Connecting to 127.0.0.1
LOG_ERR TSPI ../tcsd_api/clntside.c:121 ERROR: connect: Connection refused
LOG_ERR TSPI ../tcsd_api/tcstp.c:247 ERROR: Failed to send packet
18:18:37:697 [INFO] CommonSettings::getTssFactory (39): TrouSerS and/or jTSS
Wrapper not found. Trying IAIK jTSS.
18:18:37:897 [INFO] TcTcsi::<clinit> (-1): Unable to open TCS
configuration file for system persistent storage information. Disabling
system persistent storage.
18:18:37:943 [INFO] CommonSettings::getTssFactory (47): IAIK jTSS found.
Using local bindings...
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(Unknown
Source)
at
iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdEkHandling.TpmOwnerReadInternalPub(Unknown
Source)
at
iaik.tc.tss.impl.java.tcs.kcmgr.TcTcsKeyManager.OwnerReadInternalPub(Unknown
Source)
at iaik.tc.tss.impl.java.tcs.tcsi.TcTcsi.TcsipOwnerReadInternalPub(Unknown
Source)
at
iaik.tc.tss.impl.java.tsp.tcsbinding.local.TcTcsBindingLocal.TcsipOwnerReadInternalPub(Unknown
Source)
at
iaik.tc.tss.impl.java.tsp.internal.TcTspInternal.TspOwnerReadInternalPub_Internal
(TcTspInternal.java:3545)
at iaik.tc.tss.impl.java.tsp.TcTpm.getPubEndorsementKey(Unknown
Source)
at iaik.tc.tss.impl.java.tsp.TcTpm.getPubEndorsementKeyOwner(Unknown
Source)
at iaik.tc.apps.jtt.ek.ReadPublicEk.getEk(ReadPublicEk.java:47)
at iaik.tc.apps.jtt.ek.ReadPublicEk.execute(ReadPublicEk.java:67)
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:110)
----
Any ideas?
Thanks a lot!
--
Regards
Till
**********************************************
Der Benutzer ist eine nicht zu
tolerierende Quelle der Unsicherheit
**********************************************
|