Information Security Stack Exchange is a question and answer site for information security professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking at encrypting a small (500bytes) file using the TPM. This is either doing assymetric encryption with the TPM directly, or using the TPM to store a symmetric key for decryption. This needs to work on Windows (7).

I'm assuming I can do this with tbsip_Submit_Command through The TBS/WIn32_TBS, but haven't really seen any concrete info on how to prepare that sort of statement.

Can someone point me in the right direction?

share|improve this question
up vote 1 down vote accepted

I was able to do this fairly easily with jtSS

After installing the windows service, jtt create_key to create a key, then jtt seal to perform the sealing.

example commands:

>jtt create_key -u 00000000-0000-0000-0000-000000000000 -t storage
>jtt seal -i message.txt -o message.enc -p 1,2,5 -u 00000000-0000-0000-0000-000000000000
>jtt unseal -i message.enc -o out.txt -u 00000000-0000-0000-0000-000000000000

-p specifies the PCR registers, and these represent the different values of the machine state (bios, boot devices, etc) -u is the UUID of the key being used.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.