tpm2_loadexternal man page

tpm2_loadexternal(1) — load an object that is not a Protected Object into the TPM.

Synopsis

tpm2_loadexternal [Options]

Description

tpm2_loadexternal(1) - load an object that is not a Protected Object into the TPM. The command allows loading of a public area or both a public and a sensitive area.

Options

Common Options

This collection of options are common to many programs and provide information that many users may expect.

This collection of environment variables that may be used to configure the various TCTI modules available.

The values passed through these variables can be overridden on a per-command basis using the available command line options, see the TCTI_OPTIONS section.

The variables respected depend on how the software was configured.

Tcti Options

This collection of options are used to configure the varous TCTI modules available. They override any environment variables.

Examples

Load a public area generated by tpm2_create, tpm2_readpublic or manually

tpm2_loadexternal -H <e|o|p|n> -u <pubKeyFileName> -C object.context

Load a key with sensitive area. Both the public & the senstive areas shall be generated externally. DON'T use the areas generated by tpm2_create.

tpm2_loadexternal -H n -u <pubKeyFileName> -r <privKeyFileName> -C object.context

Returns

0 on success or 1 on failure.

Bugs

Github Issues (https://github.com/01org/tpm2-tools/issues)

Help

See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)

Info

SEPTEMBER 2017 tpm2-tools General Commands Manual