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
|