You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(4) |
Jul
(10) |
Aug
(6) |
Sep
(6) |
Oct
(5) |
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
(14) |
Mar
(25) |
Apr
(9) |
May
(10) |
Jun
(9) |
Jul
(33) |
Aug
(52) |
Sep
(15) |
Oct
(6) |
Nov
(4) |
Dec
(6) |
2008 |
Jan
(27) |
Feb
(3) |
Mar
(6) |
Apr
(7) |
May
(8) |
Jun
(4) |
Jul
(21) |
Aug
(8) |
Sep
(9) |
Oct
(6) |
Nov
(1) |
Dec
(1) |
2009 |
Jan
(1) |
Feb
(1) |
Mar
(10) |
Apr
(7) |
May
(8) |
Jun
(10) |
Jul
(11) |
Aug
(17) |
Sep
(13) |
Oct
(13) |
Nov
(1) |
Dec
(5) |
2010 |
Jan
(5) |
Feb
(9) |
Mar
(12) |
Apr
(4) |
May
(5) |
Jun
(3) |
Jul
(7) |
Aug
(7) |
Sep
(3) |
Oct
(12) |
Nov
(5) |
Dec
(2) |
2011 |
Jan
(9) |
Feb
(3) |
Mar
(24) |
Apr
(3) |
May
(1) |
Jun
|
Jul
(3) |
Aug
(8) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
(4) |
Feb
|
Mar
|
Apr
(3) |
May
(12) |
Jun
(7) |
Jul
(9) |
Aug
|
Sep
(14) |
Oct
(19) |
Nov
(4) |
Dec
|
2013 |
Jan
(1) |
Feb
(3) |
Mar
(1) |
Apr
(5) |
May
(3) |
Jun
(7) |
Jul
(6) |
Aug
(4) |
Sep
(1) |
Oct
|
Nov
|
Dec
(2) |
2014 |
Jan
|
Feb
(2) |
Mar
(3) |
Apr
(1) |
May
(1) |
Jun
(6) |
Jul
(14) |
Aug
(5) |
Sep
(7) |
Oct
(3) |
Nov
|
Dec
(1) |
2015 |
Jan
(3) |
Feb
|
Mar
(4) |
Apr
|
May
(1) |
Jun
(9) |
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
(4) |
Dec
(4) |
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
(11) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(2) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2024 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ronald T. <ron...@ia...> - 2010-04-16 11:03:08
|
Hi, You're looking for iaik.tc.tss.impl.csp.TcCrypto.pubTpmKeyToJava(). You could also read the PrivacyCA source for more inspirations. hth, Ronald Ronald Petrlic wrote: > Hi, > > I'm working on an application employing jTSS and tccert. What I would > like to do is to certify the EK that is read out of the TPM. The > problem is that calling "getPubEndorsementKeyOwner" yields a TclRsaKey > (or TcBlobData when calling getPubKey on this object). However, in > order to create an EKCertificate I need an RSAPublicKey... Does anyone > know how to perform this casting? > > Thanks a lot in advance. > > Best regards, > Ronald > -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |
From: Ronald P. <rpe...@ma...> - 2010-04-16 09:12:45
|
Hi, I'm working on an application employing jTSS and tccert. What I would like to do is to certify the EK that is read out of the TPM. The problem is that calling "getPubEndorsementKeyOwner" yields a TclRsaKey (or TcBlobData when calling getPubKey on this object). However, in order to create an EKCertificate I need an RSAPublicKey... Does anyone know how to perform this casting? Thanks a lot in advance. Best regards, Ronald |
From: Ronald T. <ron...@ia...> - 2010-03-23 09:36:20
|
Hi Benedikt, To narrow down the problem, please (re)start the daemon and immediately connect to http://localhost:30004 using a web browser (before attempting any TPM/jTSS operation). If you find the services, it is most likely an issue with device access permissions. If you don't, there is a problem with starting the daemon. What's written in the log file? Also see the debain package for an example on how to configure jTSS for your platform. Regards, Ronald Benedikt Schröfel wrote: > Hello, > > I use the latest version of the tpm emulator (0.7) of the ETH Zurich and > the jTSS Stack 0.5. > Up to now I used the direct connection to access the tpm (for > development). I tried to get soap bindings running, but whenever I try > to connect to the context, I receive the following error: > > 09:15:50:688 [ERROR] TcTcsBindingSoap::connect (108): There seems no > TCS running > No C based TSS found. Using IAIK jTSS... > 09:15:50:699 [ERROR] TcTcsBindingSoap::connect (108): 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): 0x3103 > error message: Core Service connection failed. > > I use these commands for the connection: > > TcIContext context_ = > CommonSettings.getTssFactory().newContextObject(); > context_.connect(CommonSettings.getHostname()); > //null=localhost > > I've done the following steps: > > - I included the external .jar files from the ext_lib folder in my classpath > - I included the .jar files (jtss_tcs and tsp and their soap colleagues) > in my classpath > - I copied the tcs.wsdl file into the soap folder and applied the patch > > - I loaded the emulator kernel module > - I started the emulator > - I started the tcd_daemon as root (using bash tcs_daemon.sh start) > - I excecuted my programm trying to connect to the daemon (I tried port > no. 30003 and 30004) > > The emulator and daemon are started in an extra terminal. > I have no (other) trousers daemon running. > The result is the error message above. Moreover the daemon terminates > its' excecution. > The stacktrace shows me, that the error occurs at the second line: > > context_.connect(CommonSettings.getHostname()); //null=localhost > > What can I do to get my connection working? > The xerces.jar is not available on my system, but it is referenced in > the daemon script. Could this cause the problem? > > Thank you very much for your help! > > Kind regards > > Beni > -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |
From: Martin P. <Mar...@ia...> - 2010-03-09 07:46:00
|
Arshad Noor wrote: > Could you elaborate a little on the types of fixes you made so that > jTSS works better with IFX TPMs? AFAIR, EK cert extraction requires ownership permission with newer chip revisions, as mandated by newer spec revisions. jTSS code was rewritten to handle this case. Generally speaking, we have several IFX based machines in the student lab, so jTSS gets a good workout on these - you shouldn't run into any jTSS problems. HTH, Martin |
From: Arshad N. <ars...@st...> - 2010-03-08 17:04:31
|
Thank you, Martin. I apologize for neglecting to congratulate the entire jTSS team - I realize efforts like this are a team-effort. Could you elaborate a little on the types of fixes you made so that jTSS works better with IFX TPMs? We are starting to use IFX TPMs a lot and would like to know exactly what issues you ran into that are fixed in 0.5. Thanks. Arshad Noor StrongAuth, Inc. Martin Pirker wrote: > Arshad Noor wrote: >> Congratulations, Ronald! > > We appreciate that our users are excited about every new release > and the work we pour into making it happen. > >> A couple of quick questions: I presume it is fully backwardly >> compatible with the 0.4.1 release and can function as a drop-in >> replacement? > > This release contains a small API change in the utils.cmdline section, > other than that this release is compatible. In fact, this release > contains fixes to work better on IFX TPMs, Intel TPMs and the TPM emu. > Also, compatibility with newer Windows versions was improved. > >> Also, does it implement anything from JSR-321? > > no > > > HTH, > Martin > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Trustedjava-support mailing list > Tru...@li... > https://lists.sourceforge.net/lists/listinfo/trustedjava-support |
From: Martin P. <Mar...@ia...> - 2010-03-08 06:53:38
|
Arshad Noor wrote: > Congratulations, Ronald! We appreciate that our users are excited about every new release and the work we pour into making it happen. > A couple of quick questions: I presume it is fully backwardly > compatible with the 0.4.1 release and can function as a drop-in > replacement? This release contains a small API change in the utils.cmdline section, other than that this release is compatible. In fact, this release contains fixes to work better on IFX TPMs, Intel TPMs and the TPM emu. Also, compatibility with newer Windows versions was improved. > Also, does it implement anything from JSR-321? no HTH, Martin |
From: Arshad N. <ars...@st...> - 2010-03-05 23:50:19
|
Congratulations, Ronald! I shall look forward to testing this release in the coming weeks. A couple of quick questions: I presume it is fully backwardly compatible with the 0.4.1 release and can function as a drop-in replacement? Also, does it implement anything from JSR-321? Thanks. Arshad Noor StrongAuth, Inc. Ronald Tögl wrote: > Dear trusted-java users, > > IAIK is happy to announce fresh and vibrant releases of jTSS and jTPM > Tools! > > Besides a number of bugfixes and improvements, jTSS 0.5 now features a > new deployment package, support for easy installation on Debian and six > different versions of Windows. It will also fix issues that occurred > with recent version of TPM emulator, > > jTpmTools 0.5 have been synchronized with jTSS and also allow for new, > more flexible combinations of commands. > > Have fun, > Ronald > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > ------------------------------------------------------------------------ > > _______________________________________________ > Trustedjava-support mailing list > Tru...@li... > https://lists.sourceforge.net/lists/listinfo/trustedjava-support |
From: Ronald T. <ron...@ia...> - 2010-03-05 10:53:25
|
Dear trusted-java users, IAIK is happy to announce fresh and vibrant releases of jTSS and jTPM Tools! Besides a number of bugfixes and improvements, jTSS 0.5 now features a new deployment package, support for easy installation on Debian and six different versions of Windows. It will also fix issues that occurred with recent version of TPM emulator, jTpmTools 0.5 have been synchronized with jTSS and also allow for new, more flexible combinations of commands. Have fun, Ronald -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |
From: Anders R. <and...@te...> - 2010-03-03 13:32:31
|
Once upon a time life was simple and TPMs had one primary task and that was maintaining the integrity of the computing platform and in some case attest this to external parties that you connect with. However, in the mobile world platform integrity hasn't really failed as it has in PCs. In addition, "strong authentication to services" is actually the thing (maybe in par with media encryption) that users of mobile phones ask for. Unfortunately there is as far as I can see almost no work going on in the "Trusted Computing community" supporting this application. To not get stuck, I have taken the liberty of defining some kind of "TPM" that is streamlined for authentication to services, by combining traditional smart cards with TPM fundamentals (attestations) and then to that add a KEYPROV on steroids. Executive level doc: http://webpki.org/papers/keygen2/secure-key-store.pdf Preliminary API: http://webpki.org/papers/keygen2/sks-api-arch.pdf GUI/Protocol demo/verifier: http://keycenter.webpki.org Prototype hardware: http://mbed.org Sincerely Anders There is essentially zero competition in this space since everybody else seems occupied solving short-term issues. |
From: Davide V. <dav...@po...> - 2010-03-01 17:07:36
|
On Mon, Mar 1, 2010 at 3:30 PM, Ronald Tögl <ron...@ia...> wrote: > Davide Vernizzi wrote: > >>>> Do you have any other process which bind at the 30003? >>> >>> As to be expected, I did have the jTSS service running. :-) >>> After freeing the socket, trousers works fine. It would be a good thing >>> to have the port number configurable, right? >> >> Yes, you are right (we are actually working on this right now)... but >> then also applications must change the port number accordingly (maybe by >> specifying a URI in the Tspi_Context_Connect). > >> BTW, under Windows (Vista & 7) TrouSerS is built to use the TBS, which >> "multiplexes" the TPM and allows for concurrent TSS. We successfully >> tested TrouSerS in parallel with IFX's stack, and it would be nice to >> test also with jTSS. Does jTSS have configurable port number? If yes, >> could you test if they can coexist? > > I just did some testing and decided to change the jTSS default port to > 30004. This should help avoid collisions. It will be included in the > upcoming release of jTSS. > > With this change I can confirm that jTSS and Trousers coexist happily on a > single TBS-multiplexed TPM. Cool. Many thanks. Best. -- Davide |
From: Davide V. <dav...@gm...> - 2010-03-01 17:06:25
|
On Mon, Mar 1, 2010 at 3:30 PM, Ronald Tögl <ron...@ia...> wrote: > Davide Vernizzi wrote: > >>>> Do you have any other process which bind at the 30003? >>> >>> As to be expected, I did have the jTSS service running. :-) >>> After freeing the socket, trousers works fine. It would be a good thing >>> to have the port number configurable, right? >> >> Yes, you are right (we are actually working on this right now)... but >> then also applications must change the port number accordingly (maybe by >> specifying a URI in the Tspi_Context_Connect). > >> BTW, under Windows (Vista & 7) TrouSerS is built to use the TBS, which >> "multiplexes" the TPM and allows for concurrent TSS. We successfully >> tested TrouSerS in parallel with IFX's stack, and it would be nice to >> test also with jTSS. Does jTSS have configurable port number? If yes, >> could you test if they can coexist? > > I just did some testing and decided to change the jTSS default port to > 30004. This should help avoid collisions. It will be included in the > upcoming release of jTSS. > > With this change I can confirm that jTSS and Trousers coexist happily on a > single TBS-multiplexed TPM. Cool. Many thanks. > Regards, > Ronald > > -- > Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 > Trusted Computing Labs fax +43 316/873-5520 > IAIK ron...@ia... > Graz University of Technology http://www.iaik.tugraz.at > > > -- Davide |
From: Ronald T. <ron...@ia...> - 2010-03-01 15:06:24
|
Davide Vernizzi wrote: >>> Do you have any other process which bind at the 30003? >> As to be expected, I did have the jTSS service running. :-) >> After freeing the socket, trousers works fine. It would be a good thing >> to have the port number configurable, right? > Yes, you are right (we are actually working on this right now)... but > then also applications must change the port number accordingly (maybe by > specifying a URI in the Tspi_Context_Connect). > BTW, under Windows (Vista & 7) TrouSerS is built to use the TBS, which > "multiplexes" the TPM and allows for concurrent TSS. We successfully > tested TrouSerS in parallel with IFX's stack, and it would be nice to > test also with jTSS. Does jTSS have configurable port number? If yes, > could you test if they can coexist? I just did some testing and decided to change the jTSS default port to 30004. This should help avoid collisions. It will be included in the upcoming release of jTSS. With this change I can confirm that jTSS and Trousers coexist happily on a single TBS-multiplexed TPM. Regards, Ronald -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |
From: Martin P. <Mar...@ia...> - 2010-02-23 15:08:22
|
Benedikt Schröfel wrote: > I tried to use hash.verifySignature(signature, rsaKey) of the TcIHash [....] > So I wonder how the method performs the verification: See implementation in TcHash.java HTH, Martin |
From: Martin P. <Mar...@ia...> - 2010-02-15 10:30:01
|
Benedikt Schröfel wrote: > I copied the signed iaik_jce.jar from the lib-signed folder to the /lib > folder of the apki-0.2 release. > The iaik_tss_tsp.jar, iaik_tss_tcs.jar, iaik_tccert.jar, jtss_tsp.ini > are also available in this folder. I tried to reproduce your problem, took the apki download package, copied in jce/tcs/tsp/tccert.jar and tsp.ini started client.sh in one shell, server.sh in another. Works. Unfortunately I am not able to reproduce your problem :-/ Checking the typical problems, if you would be using the unsigned IAIK-JCE the server wouldn't even start as it cannot load its own certificate. Missing IAIK-JCE at all produces also a NoClassDefFound immediately. Hm. Martin |
From: Martin P. <Mar...@ia...> - 2010-02-12 14:04:03
|
Hi... Benedikt Schröfel wrote: > Exception in thread "main" java.lang.ClassCastException: > sun.security.rsa.RSAPublicKeyImpl cannot be cast to > iaik.security.rsa.RSAPublicKey > I suppose that you have tested the code sufficiently indeed > so my question simply is: what am I doing wrong? I would guess you are missing the IAIK-JCE library in your classpath. Please double check if it is accessible from the classpath in the calling script. HTH, Martin |
From: Ronald T. <ron...@ia...> - 2010-02-08 10:19:20
|
Hi Michael, This is a known issue that will be fixed in the next release. Ronald mic...@ha... wrote: > Hi, > > I have some Problems with my TPM Infineon (IFX) 1.2.3.16 at Windows 7 > Enterprise (32-Bit) and Windows Vista Ultimate (32-Bit). Under Linux all > operations work fine. In Windows 7, all operations without authorization > work, but operations with authorization fail. It fails with error code > 0x30c4 (The auth session has been closed by the TPM). Here an example to > try take ownership with jTpmTools 0.4 and jTSS 0.4.1: > > [...] The Windows internal TPM tool (tpm.msc) can access to TPM without error. > Any ideas? > > regards m. > > > -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |
From: <mic...@ha...> - 2010-02-07 22:42:16
|
Hi, I have some Problems with my TPM Infineon (IFX) 1.2.3.16 at Windows 7 Enterprise (32-Bit) and Windows Vista Ultimate (32-Bit). Under Linux all operations work fine. In Windows 7, all operations without authorization work, but operations with authorization fail. It fails with error code 0x30c4 (The auth session has been closed by the TPM). Here an example to try take ownership with jTpmTools 0.4 and jTSS 0.4.1: c:\Users\testuser\workspace\jTpmTools_0.4>java iaik.tc.apps.JTpmTools take_owner -o password 17:09:42:602 [INFO] TcTddlVista::<clinit> (32): Windows Vista detected. Using TBS based TPM access. 17:09:42:602 [INFO] TcTddlVista::<clinit> (37): Native Vista DLL loaded from jar file. 17:09:42:945 [INFO] TcTcsEventMgrMem::<init> (44): Using "in memory" event log. 17:09:43:101 [INFO] CommonSettings::getTssFactory (68): No C based TSS found. Using IAIK jTSS... iaik.tc.tss.api.exceptions.tcs.TcTcsException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0xc4 error code (full): 0x30c4 error message: The auth session has been closed by the TPM additional info: The provided auth session is not loaded in the TPM and is not cached. It might have been evicted (from TPM and/or cache) due to space limitations. at iaik.tc.tss.impl.java.tcs.authmgr.TcTcsAuthCacheTpm12.ensureAuthsAreLoadedInTpm(TcTcsAuthCacheTpm12.java:151) at iaik.tc.tss.impl.java.tcs.tcsi.TcTcsi.TcsipTakeOwnership(TcTcsi.java:1125) at iaik.tc.tss.impl.java.tsp.tcsbinding.local.TcTcsBindingLocal.TcsipTakeOwnership(TcTcsBindingLocal.java:318) at iaik.tc.tss.impl.java.tsp.internal.TcTspInternal.TspTakeOwnership_Internal(TcTspInternal.java:882) at iaik.tc.tss.impl.java.tsp.TcTpm.takeOwnership(TcTpm.java:1707) at iaik.tc.apps.jtt.owner.TakeOwnership.execute(TakeOwnership.java:100) 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:183) c:\Users\testuser\workspace\jTpmTools_0.4> Under Vista I get for all TPM operation this curious error (jTSS 0.4 or 0.4.1): C:\Program Files\jTSS\tests>run_tests_simple.cmd 17:55:30:862 [ERROR] TcTcsi::<clinit> (129): TCS startup failed. 17:55:30:862 [ERROR] TcTcsi::<clinit> (129): TSS Error: error layer: 0x00 (TPM) error code (without layer): 0x00 error code (full): 0x9c030000 error message: Success. iaik.tc.tss.api.exceptions.tcs.TcTpmException: TSS Error: error layer: 0x00 (TPM) error code (without layer): 0x00 error code (full): 0x9c030000 error message: Success. at iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCommon.handleRetCode(TcTpmCmdCommon.java:73) at iaik.tc.tss.impl.java.tcs.pbg.TcTpmCmdCapability.TpmGetCapability(TcTpmCmdCapability.java:66) at iaik.tc.tss.impl.java.tcs.TcTcsCommon.isOrdinalSupported(TcTcsCommon.java:68) at iaik.tc.tss.impl.java.tcs.tcsi.TcTcsi.<clinit>(TcTcsi.java:112) at iaik.tc.tss.impl.java.tsp.tcsbinding.local.TcTcsBindingLocal.TcsiOpenContext(TcTcsBindingLocal.java:177) at iaik.tc.tss.impl.java.tsp.internal.TcTspInternal.TspContextOpen_Internal(TcTspInternal.java:378) at iaik.tc.tss.impl.java.tsp.TcContext.connect(TcContext.java:167) at iaik.tc.tss.impl.java.tsp.TcContext.connect(TcContext.java:194) at iaik.tc.tss.test.tsp.java.simple.TestMain.testTSSService(TestMain.java:30) at iaik.tc.tss.test.tsp.java.simple.TestMain.main(TestMain.java:72) C:\Program Files\jTSS\tests> The Windows internal TPM tool (tpm.msc) can access to TPM without error. Any ideas? regards m. |
From: Ronald T. <ron...@ia...> - 2010-01-12 14:08:26
|
Hi Salvatore, This is a known issue and will be resolved in the next release. As I wrort previously: Earlier versions of the TPM Emulator had a bug, and jTSS included a workaround for this. Now the Emulator behaves as it should and the workaround fails. :-) This only happens on the emulator, not on real TPMs. I'll mail you a hotfix. Ronald Salvatore Runci wrote: > Hi, i have some problems using jTSS_0.4.1 whit the BerliOS TPM > emulator 0.6.1. > > I have attached the output of the test file in jTSS (tests/run_tests.sh) > > I read that it could be a bug, so my question is: is there a patch for > the jTSS? > > How i could resolve this problem? > It is very important for me becouse i'm working on my thesis using the > Trusted Computing > > Thanks in advance for your answer > Salvatore Runci > -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |
From: Salvatore R. <sal...@gm...> - 2010-01-12 13:52:03
|
14:33:38:798 [DEBUG] TestMain::allTests (40): testsuite starting up .14:33:39:003 [INFO] TcTcsEventMgrFlatFile::<init> (116): Using "flat file" event log. .14:33:39:440 [INFO] TestTakeOwnership::testTakeOwnership (33): TPM ownership already taken .......14:33:39:639 [INFO] TestTpm::testReadCurrentCounter (232): skipping this test on TPM Emulator because of not implemented capability TPM_CAP_PROP_ACTIVE_COUNTER ..14:33:39:648 [INFO] TestPcrs::testPcrReset (92): PCR Reset is not supported by this TPM ........iaik.tc.tss.api.exceptions.tsp.TcTspException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x04 error code (full): 0x3004 error message: An internal SW error has been detected. additional info: Unable to load 1.2 key in 1.1 TPM at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) at iaik.tc.tss.test.tsp.java.keys.TestKeys.testCreateKeyWithoutPcrAsMailingListProblem(TestKeys.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:77) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) F.14:33:41:570 [INFO] TestKeys::testCreateKeyWithPcr (102): Skipping test case creating PCR bound key on TPM emulator. .iaik.tc.tss.api.exceptions.tsp.TcTspException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x04 error code (full): 0x3004 error message: An internal SW error has been detected. additional info: Unable to load 1.2 key in 1.1 TPM at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) at iaik.tc.tss.test.tsp.java.keys.TestKeys.testCertifyKey(TestKeys.java:189) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:77) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) iaik.tc.tss.api.exceptions.tsp.TcTspException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x04 error code (full): 0x3004 error message: An internal SW error has been detected. additional info: Unable to load 1.2 key in 1.1 TPM at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) at iaik.tc.tss.test.tsp.java.keys.TestKeys.testCertifyKey(TestKeys.java:189) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:77) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) F.iaik.tc.tss.api.exceptions.tsp.TcTspException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x04 error code (full): 0x3004 error message: An internal SW error has been detected. additional info: Unable to load 1.2 key in 1.1 TPM at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) at iaik.tc.tss.test.tsp.java.keys.TestKeys.testLoadKeyByBlob(TestKeys.java:352) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:77) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) F.iaik.tc.tss.api.exceptions.tsp.TcTspException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x04 error code (full): 0x3004 error message: An internal SW error has been detected. additional info: Unable to load 1.2 key in 1.1 TPM at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) at iaik.tc.tss.test.tsp.java.keys.TestKeys.testVerifySingingKey(TestKeys.java:391) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:77) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) F.iaik.tc.tss.api.exceptions.tsp.TcTspException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x04 error code (full): 0x3004 error message: An internal SW error has been detected. additional info: Unable to load 1.2 key in 1.1 TPM at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) at iaik.tc.tss.test.tsp.java.tpm.TestQuote.testQuote(TestQuote.java:30) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:77) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) F.iaik.tc.tss.api.exceptions.tsp.TcTspException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x04 error code (full): 0x3004 error message: An internal SW error has been detected. additional info: Unable to load 1.2 key in 1.1 TPM at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) at iaik.tc.tss.test.tsp.java.tpm.TestQuote.testQuote2withoutVersion(TestQuote.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:77) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) F.14:33:46:292 [DEBUG] TcTcsSessManager::evictOldestSavedSess (176): evicting saved session (contextCount: 30, RT: 2, handle: 33554432) iaik.tc.tss.api.exceptions.tsp.TcTspException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x04 error code (full): 0x3004 error message: An internal SW error has been detected. additional info: Unable to load 1.2 key in 1.1 TPM at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) at iaik.tc.tss.test.tsp.java.tpm.TestQuote.testQuote2withVersion(TestQuote.java:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:77) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) F.14:33:47:795 [DEBUG] TcTcsSessManager::evictOldestSavedSess (176): evicting saved session (contextCount: 32, RT: 2, handle: 33554432) iaik.tc.tss.api.exceptions.tsp.TcTspException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x04 error code (full): 0x3004 error message: An internal SW error has been detected. additional info: Unable to load 1.2 key in 1.1 TPM at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) at iaik.tc.tss.test.tsp.java.hash.TestHash.testAllMethods(TestHash.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:77) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) F.14:33:48:135 [DEBUG] TcTcsSessManager::evictOldestSavedSess (176): evicting saved session (contextCount: 34, RT: 2, handle: 33554432) iaik.tc.tss.api.exceptions.tsp.TcTspException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x04 error code (full): 0x3004 error message: An internal SW error has been detected. additional info: Unable to load 1.2 key in 1.1 TPM at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) at iaik.tc.tss.test.tsp.java.data.TestEncData.testBindAndUnbind(TestEncData.java:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:77) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) F.14:33:48:465 [DEBUG] TcTcsSessManager::evictOldestSavedSess (176): evicting saved session (contextCount: 36, RT: 2, handle: 33554432) 14:33:49:625 [INFO] TestPersistentStorage::testGetKeyByPublicInfoFromSystemPersistentStorage (94): key2 registered in persistent user storage with UUID: 7b46b942-e739-418f-ba20-9fb36ee6690f 14:33:49:626 [INFO] TestPersistentStorage::testGetKeyByPublicInfoFromSystemPersistentStorage (100): key registered in persistent system storage with UUID: f56069c0-d3ae-4433-bb19-0a274f40c3cf .14:33:51:262 [INFO] TestPersistentStorage::testGetRegisterKeysInSystemPersistentStorageSimpleTest (564): key1 registered in persistent system storage with UUID: b42fb98d-ebc5-4be5-81ed-6defd178f433 14:33:51:263 [INFO] TestPersistentStorage::testGetRegisterKeysInSystemPersistentStorageSimpleTest (570): key2 registered in persistent system storage with UUID: 0d558232-e46f-47b5-93cc-baa4d5358313 .14:33:52:539 [INFO] TestPersistentStorage::testGetRegisterKeysInUserPersistentStorageSimpleTest (678): key1 registered in persistent user storage with UUID: 895ea364-cbdf-49bd-9622-19167fab1296 14:33:52:540 [INFO] TestPersistentStorage::testGetRegisterKeysInUserPersistentStorageSimpleTest (684): key2 registered in persistent user storage with UUID: 14e9637c-3fc2-4a58-8d0a-21f970d73c60 .14:33:52:553 [INFO] TestPersistentStorage::testOwnerGetSRKPubKeyAndStore (746): SRK registered in persistent system storage with UUID: 95837a3a-5578-45aa-b6de-db8c010046ba .14:33:53:191 [INFO] TestPersistentStorage::testRegisterKeyInSystemPersistentStorage (799): key registered in persistent system storage with UUID: 138d6645-8979-4ff1-bd88-39b89f2da480 .14:33:53:805 [INFO] TestPersistentStorage::testRegisterKeyInUserPersistentStorage (866): key registered in persistent user storage with UUID: 68a7504a-e7c4-453e-ad09-de5752742a3b .14:33:54:361 [INFO] TestPersistentStorage::testSimpleKeyHierarchyTest (957): key1 registered in persistent system storage with UUID: 2156982f-d0bf-46d7-a2ba-866f7c4e7fe0 iaik.tc.tss.api.exceptions.tsp.TcTspException: TSS Error: error layer: 0x3000 (TSP) error code (without layer): 0x04 error code (full): 0x3004 error message: An internal SW error has been detected. additional info: Unable to load 1.2 key in 1.1 TPM at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) at iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage.testSimpleKeyHierarchyTest(TestPersistentStorage.java:960) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:77) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) F.14:33:54:369 [DEBUG] TcTcsSessManager::evictOldestSavedSess (176): evicting saved session (contextCount: 38, RT: 2, handle: 33554432) 14:33:54:827 [INFO] TestPersistentStorage::testWriteAndGetKey (1091): key registered in persistent system storage with UUID: 00000001-0002-0003-0405-aca80756afe2 14:33:54:827 [INFO] TestPersistentStorage::testWriteAndGetKey (1097): parent key is SRK, key length is 2048 bits 14:33:54:827 [INFO] TestPersistentStorage::testWriteAndGetKey (1098): CreateKey succeeded ..14:33:55:848 [WARN] TestTimeStamping::testTicksStampHash (99): Skipped Test, because feature is not supported by the available TPM. Time: 16,999 There were 10 failures: 1) testCreateKeyWithoutPcrAsMailingListProblem(iaik.tc.tss.test.tsp.java.keys.TestKeys)junit.framework.AssertionFailedError: creating key failed at iaik.tc.tss.test.tsp.java.keys.TestKeys.testCreateKeyWithoutPcrAsMailingListProblem(TestKeys.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 2) testCertifyKey(iaik.tc.tss.test.tsp.java.keys.TestKeys)junit.framework.AssertionFailedError: certify key (without nonce) failed at iaik.tc.tss.test.tsp.java.keys.TestKeys.testCertifyKey(TestKeys.java:207) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 3) testLoadKeyByBlob(iaik.tc.tss.test.tsp.java.keys.TestKeys)junit.framework.AssertionFailedError: loading keyblob failed at iaik.tc.tss.test.tsp.java.keys.TestKeys.testLoadKeyByBlob(TestKeys.java:363) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 4) testVerifySingingKey(iaik.tc.tss.test.tsp.java.keys.TestKeys)junit.framework.AssertionFailedError: unable to do verification of signature at iaik.tc.tss.test.tsp.java.keys.TestKeys.testVerifySingingKey(TestKeys.java:429) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 5) testQuote(iaik.tc.tss.test.tsp.java.tpm.TestQuote)junit.framework.AssertionFailedError: testQuote at iaik.tc.tss.test.tsp.java.tpm.TestQuote.testQuote(TestQuote.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 6) testQuote2withoutVersion(iaik.tc.tss.test.tsp.java.tpm.TestQuote)junit.framework.AssertionFailedError: testQuote2 at iaik.tc.tss.test.tsp.java.tpm.TestQuote.testQuote2withoutVersion(TestQuote.java:95) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 7) testQuote2withVersion(iaik.tc.tss.test.tsp.java.tpm.TestQuote)junit.framework.AssertionFailedError: testQuote2 at iaik.tc.tss.test.tsp.java.tpm.TestQuote.testQuote2withVersion(TestQuote.java:146) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 8) testAllMethods(iaik.tc.tss.test.tsp.java.hash.TestHash)junit.framework.AssertionFailedError: hash function test sequence failed at iaik.tc.tss.test.tsp.java.hash.TestHash.testAllMethods(TestHash.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 9) testBindAndUnbind(iaik.tc.tss.test.tsp.java.data.TestEncData)junit.framework.AssertionFailedError: binding and un-binding failed at iaik.tc.tss.test.tsp.java.data.TestEncData.testBindAndUnbind(TestEncData.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) 10) testSimpleKeyHierarchyTest(iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage)junit.framework.AssertionFailedError: unable to retrieve key info enumeration of keys registered in system persistent storage at iaik.tc.tss.test.tsp.java.persistentstorage.TestPersistentStorage.testSimpleKeyHierarchyTest(TestPersistentStorage.java:1019) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at iaik.tc.tss.test.tsp.java.TestMain.allTests(TestMain.java:66) at iaik.tc.tss.test.tsp.java.TestMain.run(TestMain.java:30) FAILURES!!! Tests run: 38, Failures: 10, Errors: 0 |
From: Arshad N. <ars...@st...> - 2010-01-07 18:59:05
|
Hi, I'm not sure if these mailing lists are designed for this purpose, but since everyone on this list has some interest in TPMs, I figure that there may be interest in knowing of new solutions that use TPMs. If I am incorrect in this assumption, my apologies for this e-mail, and a promise to refrain from doing this again. We just announced the availability of the StrongKey Lite Encryption System (SKLES), an integrated solution providing encryption, tokenization, key-management and cryptographic hardware (TPM) in an appliance. Details are available at www.strongauth.com. Regards, Arshad Noor StrongAuth, Inc. |
From: Martin P. <Mar...@ia...> - 2010-01-07 10:09:41
|
Benedikt Schröfel wrote: > Unfortunately, the link ( > https://www.trustedcomputinggroup.org/specs/TSS/tss12_Header_File_final.zip > ) provided in the documentation does not seem to be available any longer > nor does the required file tcs.wsdl of the tss12_Header_File_final.zip. TCG remade their website and unfortunately broke all links. The TSS specification, C headers and wsdl file moved to http://www.trustedcomputinggroup.org/resources/tcg_software_stack_tss_specification HTH, Martin |
From: Ronald T. <ron...@ia...> - 2009-12-02 12:48:18
|
Hi Daniel, We were able to identify the problem. Earlier versions of the TPM Emulator had a bug, and jTSS included a workaround for this. Now the Emulator behaves as it should and the workaround fails. :-) This only happens on the emulator, not on real TPMs. A fix will be included in the next release. Ronald toro83 wrote: > Alle martedì 01 dicembre 2009, Ronald Tögl ha scritto: > Hi, > > i had already configured the .ini files, and placed them in the same directory > under wich the libraries are placed. > > I'm using Debian GNU/Linux 5.0 (default kernel 2.6.26-2-686) and TPM_emulator > version 0.6.1. > > I've run the test run_tests.sh under test. Is it possible that the problem > does come from policy.jar (crypto export policy?), but i've already followed > even that way, but nothing happened, so i don't really know what else to do. > The .ini files are configured, and i can watch the directories and the log > file populating when using jTSS. > > So here comes the full output, in form of an attachment, ok? > > Bye, > Daniel. -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |
From: toro83 <to...@gm...> - 2009-12-01 17:51:21
|
Alle martedì 01 dicembre 2009, Ronald Tögl ha scritto: > Hi, > > Please describe your setup in more detail. I guess you are using Linux? > Which test do you execute? run_tests.sh or something you wrote/modified? > > Please give the full error message and exception with line numbers.. > > Ronald > > toro83 wrote: > > Hi, > > > > i'm using tpmemulator_0.6.1 and jTSS_0.4.1. > > > > Running our own written program and the test program distributed with > > jTSS under test folder i've encountered following problem, and i was > > unable to find a solution. Could somebody please help me? > > > > If some more information are needed, only ask :-) > > > > > > TSS Error: > > error layer: 0x3000 (TSP) > > error code (without layer): 0x04 > > error code (full): 0x3004 > > error message: An internal SW error has been detected. > > additional info: Unable to load 1.2 key in 1.1 TPM > > > > at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) > > .... > > > > > > Bye, > > Daniel Hi, i had already configured the .ini files, and placed them in the same directory under wich the libraries are placed. I'm using Debian GNU/Linux 5.0 (default kernel 2.6.26-2-686) and TPM_emulator version 0.6.1. I've run the test run_tests.sh under test. Is it possible that the problem does come from policy.jar (crypto export policy?), but i've already followed even that way, but nothing happened, so i don't really know what else to do. The .ini files are configured, and i can watch the directories and the log file populating when using jTSS. So here comes the full output, in form of an attachment, ok? Bye, Daniel. |
From: Ronald T. <ron...@ia...> - 2009-12-01 16:26:23
|
Hi Hardeep, This I replied to a similar question some while back: You are right, you need to complete the .ini files before you can use jTSS. Select the components of your choice for log file and persistent storage and create the folders in the file system (with proper access rights for the user/root) you intend to use and fill in the paths in the ini files. For TSP-TCS communications you can either choose local bindings (i.e. direct method calls) or SOAP bindings. For the later you need to install the system daemon before using it. For local bindings (recommended for testing) you either need root privileges to access the TPM, or to allow access to /dev/tpm. Please, also note that the test-suite uses the hardcoded owner password "opentc", encoded as UTF-16LE without terminating zero. Other tools than jTpmtools might fail to use the correct encoding. Now, on your specific questions: For the user persistent storage it is a good idea to use some path in your home directory. i.e. /home/rtoegl/.jtss/storage/user For the system persistent storage you could use /home/rtoegl/.jtss/storage/system with local bindings (i.e. for testing/experiments) or some path in some /var/lib/jtss/storage/system (depending on your distribution) if you use SOAP. The database varint is a bit more stable than the file storage. BTW, SOAP provides inter-process communication between TSP and TCS. If you need a log file of your extend events, you should use the file variant, else it does not matter and you can just use the in-memory logger for testing. Finally, we offer a rather untested tool to import keys you created in trousers to the jTSS persistent storage. If you don't create and store keys with TrouSerS for using them in Java, you will not need to do this. :-) hth, Ronald Hardeep Uppal wrote: > Hi, > > I am trying to setup IAIK jTSS stack to use jTPMTools. I am new to all > this and I am not sure how to configure jtss_tcs.ini and jtss_tsp.ini. > I currently have TrustedGrub running on my Dell Latitude e5400 with a > Broadcom TPM 1.2. I am using trousers and tpm-tools to do admin stuff > for the tpm. I am trying to use jTPMTools to create aik and sign pcr > values. > > What should the file path for persistent storage be when not using a > database? Does it matter if I use text files or in-memory for the > event manager? Do I need SOAP and what is it trying to do? Do I need > to store trousers persistent storage to jTSS? > > Thanks > --Hardeep -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |
From: Ronald T. <ron...@ia...> - 2009-12-01 15:31:19
|
Hi, Please describe your setup in more detail. I guess you are using Linux? Which test do you execute? run_tests.sh or something you wrote/modified? Please give the full error message and exception with line numbers.. Ronald toro83 wrote: > Hi, > > i'm using tpmemulator_0.6.1 and jTSS_0.4.1. > > Running our own written program and the test program distributed with jTSS > under test folder i've encountered following problem, and i was unable to > find a solution. Could somebody please help me? > > If some more information are needed, only ask :-) > > > TSS Error: > error layer: 0x3000 (TSP) > error code (without layer): 0x04 > error code (full): 0x3004 > error message: An internal SW error has been detected. > additional info: Unable to load 1.2 key in 1.1 TPM > > at iaik.tc.tss.impl.java.tsp.TcRsaKey.loadKey(TcRsaKey.java:647) > .... > > > Bye, > Daniel > > -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |