swtpm/src
Stefan Berger 9b7021bb01 swtpm: Implement storage functions to restore a state backup file
When the users specifies that a backup file is to be made and the permanent
state file is missing when the NVRAM is initialized (SWPTM_NVRAM_Init), but
the backup state file exists, then swtpm will permanently rename the backup
file to permanent state file and attempt to start with it. Otherwise, it
will try to start with the 'normal' permanent state file first and if this
fails, it will rename the backup file to the permanent state file and
attempt to start with it. If both cases fail, it will revert any renaming.

Only support for the directory-backend is implemented.

Extend the swtpm man page with a description of this behavior.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2025-05-09 08:44:42 -04:00
..
selinux selinux: Add rule to allow swtpm_t opening of virt_log_t files (BZ 2278123) 2025-02-24 09:21:18 -05:00
swtpm swtpm: Implement storage functions to restore a state backup file 2025-05-09 08:44:42 -04:00
swtpm_bios swtpm_bios: Rename parameter from optarg to opt_arg (OS X,Wshadow) 2024-10-13 19:46:15 -04:00
swtpm_cert swtpm_cert: Move error message about importing signing key into else branch 2024-11-13 13:52:07 -05:00
swtpm_ioctl swtpm_ioctl: Rename parameter from optarg to opt_arg (OS X,Wshadow) 2024-10-13 19:46:15 -04:00
swtpm_localca swtpm: Implement concat_varrays and fix casts in concat_array calls 2024-09-23 09:20:08 -04:00
swtpm_setup swtpm_setup: Add support for RSA-4096 keys for EKs 2025-05-08 20:49:36 -04:00
utils swtpm_setup: Handle case when returned profile Name is null 2024-11-13 16:47:17 -05:00
Makefile.am Move swtpm_localca sources from samples/ to src/ 2021-07-25 08:52:13 -04:00