Thread: Re: [Tpm4java-users] PLEASE HELP! TPMException: Bad return code 33 The descryption process did not
Brought to you by:
tews
From: <and...@te...> - 2007-06-12 12:14:15
|
I'm using a hardware TPM version 1.2. I tried to deactivate the HMAC = verification of the TPM using the code: TssLowlevel l =3D TssFactory.getLowlevel(); l.setCheckReply(false); but it didn't work. I guess the problem is not due to a wrong HMAC = verification. The TPM returns the Bad code 33, but i didn't find any = information about it, only the TPM specifications documents by the TGC = with no further information. I hope someone can help me to solve this problem. Thank you. |
From: Frederic S. <st...@se...> - 2007-06-13 09:18:12
Attachments:
smime.p7s
|
Hi Andr=E9s, sorry, I have no clue either. I suggest that you try your code with the=20 TPM emulator to verify whether your code is okay or if it is a problem=20 with your HW TPM. The problem is that most of the available TPMs are not = conform to the TCG specification and therefore many problems occur. best regards Frederic Andr=E9s Rosado Laitinen schrieb: > I'm using a hardware TPM version 1.2. I tried to deactivate the HMAC ve= rification of the TPM using the code: >=20 > TssLowlevel l =3D TssFactory.getLowlevel(); > l.setCheckReply(false); >=20 > but it didn't work. I guess the problem is not due to a wrong HMAC veri= fication. The TPM returns the Bad code 33, but i didn't find any informat= ion about it, only the TPM specifications documents by the TGC with no fu= rther information. >=20 > I hope someone can help me to solve this problem. >=20 > Thank you. >=20 --=20 Frederic Stumpf phone: +49 6151 16 7015 TU Darmstadt -- Department of Computer Science fax: +49 6151 16 3514 Research Group IT-Security =09 eMail: st...@se... |
From: <des...@ho...> - 2007-09-03 14:13:25
|
OK, the problem is that a was sending a wrong public key for the decryption process. I used the AIK public key not the Endorsement public Key. The problem is that TPM_ReadPubek can't be used in the new TPM specification, you have to call TPM_OwnerReadPubek instead. ----- Original Message ----- From: "Andrés Rosado Laitinen" <and...@te...> To: "Frederic Stumpf" <st...@se...> Cc: <tpm...@li...> Sent: Wednesday, June 13, 2007 12:12 PM Subject: Re: [Tpm4java-users] PLEASE HELP! TPMException: Bad return code 33The descryption process did not complete Ok, never mind, i tried it with a TPM emulator and it worked, so i'll use the emu. Thank you. ----- Original Message ----- From: "Frederic Stumpf" <st...@se...> To: "Andrés Rosado Laitinen" <and...@te...> Cc: <tpm...@li...> Sent: Wednesday, June 13, 2007 11:17 AM Subject: Re: [Tpm4java-users] PLEASE HELP! TPMException: Bad return code 33 The descryption process did not complete Hi Andrés, sorry, I have no clue either. I suggest that you try your code with the TPM emulator to verify whether your code is okay or if it is a problem with your HW TPM. The problem is that most of the available TPMs are not conform to the TCG specification and therefore many problems occur. best regards Frederic Andrés Rosado Laitinen schrieb: > I'm using a hardware TPM version 1.2. I tried to deactivate the HMAC > verification of the TPM using the code: > > TssLowlevel l = TssFactory.getLowlevel(); > l.setCheckReply(false); > > but it didn't work. I guess the problem is not due to a wrong HMAC > verification. The TPM returns the Bad code 33, but i didn't find any > information about it, only the TPM specifications documents by the TGC > with no further information. > > I hope someone can help me to solve this problem. > > Thank you. > -- Frederic Stumpf phone: +49 6151 16 7015 TU Darmstadt -- Department of Computer Science fax: +49 6151 16 3514 Research Group IT-Security eMail: st...@se... ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Tpm4java-users mailing list Tpm...@li... https://lists.sourceforge.net/lists/listinfo/tpm4java-users |
From: <and...@te...> - 2007-06-13 10:15:52
|
Ok, never mind, i tried it with a TPM emulator and it worked, so i'll use the emu. Thank you. ----- Original Message ----- From: "Frederic Stumpf" <st...@se...> To: "Andrés Rosado Laitinen" <and...@te...> Cc: <tpm...@li...> Sent: Wednesday, June 13, 2007 11:17 AM Subject: Re: [Tpm4java-users] PLEASE HELP! TPMException: Bad return code 33 The descryption process did not complete Hi Andrés, sorry, I have no clue either. I suggest that you try your code with the TPM emulator to verify whether your code is okay or if it is a problem with your HW TPM. The problem is that most of the available TPMs are not conform to the TCG specification and therefore many problems occur. best regards Frederic Andrés Rosado Laitinen schrieb: > I'm using a hardware TPM version 1.2. I tried to deactivate the HMAC > verification of the TPM using the code: > > TssLowlevel l = TssFactory.getLowlevel(); > l.setCheckReply(false); > > but it didn't work. I guess the problem is not due to a wrong HMAC > verification. The TPM returns the Bad code 33, but i didn't find any > information about it, only the TPM specifications documents by the TGC > with no further information. > > I hope someone can help me to solve this problem. > > Thank you. > -- Frederic Stumpf phone: +49 6151 16 7015 TU Darmstadt -- Department of Computer Science fax: +49 6151 16 3514 Research Group IT-Security eMail: st...@se... |