From: Ronald T. <ron...@ia...> - 2012-09-26 08:52:01
|
Hal, On a second thought (thanks to my colleagues to correct me), you might just have a mismatch of jtt and jtss versions. Make sure you use the latest versions (SOAP should be ok). Also jTSS Wrapper for TrouSerS is not supported anymore. Ronald On 09/18/2012 10:15 AM, Ronald Tögl wrote: > Hal, > > The monotonic counter support is there, but not in the SOAP bindings > (because there is no XML definition in the TCG specs). > You just need to configure your jTSS library for local bindings. > > Ronald > > On 09/18/2012 05:21 AM, Hal Finney wrote: >> I just 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) >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Trustedjava-support mailing list >> Tru...@li... >> https://lists.sourceforge.net/lists/listinfo/trustedjava-support > -- Dipl.-Ing. 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 |