]> git.proxmox.com Git - swtpm.git/commit
swtpm: Add a command line option for a migration key
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Sat, 23 May 2015 00:21:38 +0000 (20:21 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Mon, 25 May 2015 15:18:44 +0000 (11:18 -0400)
commit1680c41d9e36b808d1e2548cc6596ba127f54fb2
tree5a3b657fbe5033e6bc4529a65eda8be3bc17742a
parent082533af221fcb72f315eebc1e38cde60a0e0c93
swtpm: Add a command line option for a migration key

The migration key ensures that TPM state blobs, when retrieved using the
ioctl for getting state blobs, are always encrypted with this key.
When the state is later on loaded back into the TPM using the ioctl
to set the state blobs, the migration key is used to decrypt them.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
man/man8/swtpm_cuse.8
man/man8/swtpm_cuse.pod
src/swtpm/common.c
src/swtpm/common.h
src/swtpm/cuse_tpm.c
src/swtpm/swtpm_nvfile.c
src/swtpm/swtpm_nvfile.h
tests/Makefile.am
tests/data/migkey1/volatilestate.bin [new file with mode: 0644]
tests/test_migration_key [new file with mode: 0755]