我想在我的 Ubuntu 14.04 64 位上使用 jTSS,我有一个 1.2 版的硬件 TPM。我安装了 .deb 就像第 4.3 节中所说的那样http://trustedjava.sourceforge.net/index.php?item=jtss/readme 我启动了守护进程:jtss(TCS 运行)
但是,如果我想在你的包(run_tests_simple.sh 或 run_test.sh)中运行测试,我会遇到错误:“错误!无法初始化 TSP-TCS 绑定。jTSS Wrapper 和 jTSS 都已尝试。检查 TSP 配置文件。”
使用这个命令'jtt tpm_version',我有同样的错误:
---------------------
IAIK Java TPM Tools
---------------------
16:34:56:631 [ERROR] TcTcsBindingSoap::connect (116): There seems no TCS running
16:34:56:647 [ERROR] TcTcsBindingSoap::connect (116): There seems no TCS running
iaik.tc.tss.api.exceptions.tsp.TcTspException:
TSS Error:
error layer: 0x3000 (TSP)
error code (without layer): 0x0103
error code (full): 0x3103a
error message: Core Service connection failed.
at iaik.tc.tss.impl.java.tsp.tcsbinding.soapservice.TcTcsBindingSoap.connect(TcTcsBindingSoap.java:117)
at iaik.tc.tss.impl.java.tsp.internal.TcTspInternal.TspContextConnect_Internal(TcTspInternal.java:368)
at iaik.tc.tss.impl.java.tsp.TcContext.connect(TcContext.java:174)
at iaik.tc.apps.jtt.tpm.TpmVersion.execute(TpmVersion.java:68)
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)
我删除了裤子,但保留在 /etc/group 中:tss:x:126:root,jtss