From: Hal F. <hal...@gm...> - 2012-09-18 03:08:25
|
I got started with the trusted java software because I want to play with monotonic counters. I have used trousers, but the tcg did not think it useful to put counter create or increment in the tss spec, so trousers doesn't provide them. Unfortunately, counter creation is not working with jtpmtools. I have tried with both jtss and the wrapper around the trousers tcsd.The error logs are below. It seems to be failing to find getMonotonicCounters. I've looked through what source code I have and I can't find this function. Do monotonic counters really work? Do I need an extra library to supply the missing function? Any help would be appreciated. Thanks! sudo ./jtt.sh ctr_create --label rpla -o test >& err.log --------------------- IAIK Java TPM Tools --------------------- 18:01:10:475 [INFO] TcTcsEventMgrMem::<init> (44): Using "in memory" event log. Exception in thread "main" java.lang.NoSuchMethodError: iaik.tc.tss.api.tspi.TcIContext.getMonotonicCounters(J)Liaik/tc/tss/api/tspi/TcIMonotonicCtr; at iaik.tc.apps.jtt.ctr.MonotonicCtrCreate.execute(MonotonicCtrCreate.java:70) 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) sudo ./jtt.sh ctr_create --label rpla -o test >& err-t.log --------------------- IAIK Java TPM Tools --------------------- 18:00:16:819 [INFO] CommonSettings::getTssFactory (66): TrouSerS TSS detected. Using JNI bindings... Exception in thread "main" java.lang.NoSuchMethodError: iaik.tc.tss.api.tspi.TcIContext.getMonotonicCounters(J)Liaik/tc/tss/api/tspi/TcIMonotonicCtr; at iaik.tc.apps.jtt.ctr.MonotonicCtrCreate.execute(MonotonicCtrCreate.java:70) 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) |