Package tpm2-tools

A TPM2.0 testing tool build upon TPM2.0-TSS

https://github.com/01org/tpm2-tools

tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss.

System Administration
Command Description
tpm2_activatecredential Verify that the given content is protected with given keyHandle for given...
tpm2_akparse parse the algorithm and key values in TPM2B_PUBLIC struct which input via file...
tpm2_certify prove that an object with a specific Name is loaded in the TPM. By certifying...
tpm2_create create an object that can be loaded into a TPM using tpm2_load. The object will...
tpm2_createprimary Create a primary key under a primary seed or a temporary primary key under the...
tpm2_dump_capability Display TPM capabilities in a human readable form.
tpm2_encryptdecrypt performs symmetric encryption or decryption. keyHandle shall reference a...
tpm2_evictcontrol allows a transient object to be made persistent or a persistent object to be...
tpm2_getmanufec Retrieve the Endorsement Credential Certificate for the TPM endorsement key from...
tpm2_getpubak Generate attestation key with given algorithm under endorsement hierarchy, make...
tpm2_getpubek Generate TCG profile compliant endorsement key(endorsement hierarchy primary...
tpm2_getrandom returns the next SIZE octets from the random number generator.
tpm2_hash performs a hash operation on a data buffer and returns the results. If the...
tpm2_hmac performs an HMAC on the supplied data using the indicated hash algorithm. The...
tpm2_listpcrs display all PCR values in given algorithm with -g, display given PCR values in...
tpm2_listpersistent display all defined persistent objects.
tpm2_load load objects into the TPM, both pub/priv portion are needed.
tpm2_loadexternal load an object that is not a Protected Object into the TPM. The command allows...
tpm2_makecredential Use the given tpm public key to protect the given secret which are used to...
tpm2_nvdefine Define NV index with given auth value, if passwd not given, assume NULL
tpm2_nvlist display all defined NV indices.
tpm2_nvread read content from NV index, if any passwd option is missing, assume NULL.
tpm2_nvreadlock lock the NV index for further reads until the machine is restarted
tpm2_nvrelease release NV index, if any passwd option is missing, assume NULL.
tpm2_nvwrite write content from a file to a specified index, if any passwd option is missing...
tpm2_quote Provide quote and signature for given list of PCRs in given algorithm/banks.
tpm2_rc_decode convert error codes from the SAPI and TCTI into human readable errors. Analogous...
tpm2_readpublic Access to the public area of a loaded object.
tpm2_rsadecrypt performs RSA decryption using the indicated padding scheme according to IETF RFC...
tpm2_rsaencrypt performs RSA encryption using the indicated padding scheme according to IETF RFC...
tpm2_send_command Send a command to the TPM using the specified TCTI.
tpm2_sign sign an externally provided hash with the specified symmetric or asymmetric...
tpm2_startup Send a TPM2_Startup command with either TPM_SU_CLEAR or TPM_SU_STATE.
tpm2_takeownership Inserting authorization values for the ownerAuth, endorsementAuth, and...
tpm2_unseal returns the data in a loaded Sealed Data Object.
tpm2_verifysignature uses loaded keys to validate a signature on a message with the message digest...