Hi,

I have some problem while executing the quote command, following are the details.

Platform Information

Platform: Lenovo X200 with iTPM
OS:        Ubuntu 12.04
jTSS Version:      0.7a
jTpmTools Version:   0.7a

Descripotion: previously AIK has been created using the following command with no problem, also other commands can be executed on TPM like PCR read etc.

$sudo ./jtt.sh aik_create -a mysecret -l aiktest1 -o mysecret 

Problem:
I am executing the following quote command

 sudo ./jtt.sh quote --aik aik.tpmkey --auth mysecret -p 1

Which gives the following error

  ---------------------
   IAIK Java TPM Tools
  ---------------------

12:32:31:151 [INFO] TcTddl::<clinit> (55):    Unable to instantiate TDDL implementation (). Check the TCS configuration file.
12:32:31:154 [INFO] TcTddlLinux::<init> (53):    Found no TPM device configuration in ini file. Will later attempt auto-detection.
12:32:31:361 [INFO] TcTcsi::<clinit> (161):    Unable to instantiate system persistent storage (null). Disabling system persistent storage.
12:32:31:362 [INFO] TcTcsi::<clinit> (181):    Unable to instantiate TCS event log (null). Check the TCS configuration file.
12:32:31:714 [INFO] Quote::execute (70):    Including PCR 1 in the quote
iaik.tc.tss.api.exceptions.tcs.TcTpmException:

TSS Error:
error layer:                0x00 (TPM)
error code (without layer): 0x10
error code (full):          0x10
error message: PCR information could not be interpreted

    at iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon.handleRetCode(TcTpmCmdCommon.java:73)
    at iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdIntegrity.TpmQuote(TcTpmCmdIntegrity.java:162)
    at iaik.tc.tss.impl.java.tcs.tcsi.TcTcsi.TcsipQuote(TcTcsi.java:2561)
    at iaik.tc.tss.impl.java.tsp.tcsbinding.local.TcTcsBindingLocal.TcsipQuote(TcTcsBindingLocal.java:702)
    at iaik.tc.tss.impl.java.tsp.internal.TcTspInternal.TspQuote_Internal(TcTspInternal.java:3768)
    at iaik.tc.tss.impl.java.tsp.TcTpm.quote(TcTpm.java:1433)
    at iaik.tc.apps.jtt.aik.Quote.execute(Quote.java:117)
    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)

12:32:33:090 [ERROR] JTpmTools::main (235):    application exits with error:

TSS Error:
error layer:                0x00 (TPM)
error code (without layer): 0x10
error code (full):          0x10
error message:
PCR information could not be interpreted
 (return: -1)


If someone can give the idea where could be the problem.

Regards

--
Toqeer Ali Syed

Red Hat Certified Engineer

mob:     +60102519502
mob:     +92 321 9059916