swtpm_setup.conf(8)
β¨ swtpm_setup.conf(8) β¨
okay bestie so this is the swtpm_setup.conf manual page π β the whole vibe here is "configuration file for swtpm_setup", and yes we're gonna walk through every single keyword together, no skips, no cap.
πΈ NAME πΈ
swtpm_setup.conf β Configuration file for swtpm_setup
π DESCRIPTION π
So like, the file /etc/swtpm_setup.conf holds all the configuration info for swtpm_setup. The rules are super strict bestie: it must only contain one configuration keyword per line, then an equals sign (=), and then the appropriate configuration information. And if you wanna drop a lil comment at the end of a line, you do that with a hash (#) sign. π
You can also write your own config into ${XDG_CONFIG_HOME}/swtpm_setup.conf, or β if XDG_CONFIG_HOME isn't set β it can live at ${HOME}/.config/swtpm_setup.conf. main character energy, your own personal config π«Ά
Here are the keywords that are recognized, bestie:
create_certs_toolβ This keyword gets followed by the name of an executable or executable script that's used for creating various TPM certificates. That tool will be called with the following options:--type typeβ This parameter indicates the type of certificate to create. The type parameter may be one of the following:ek, orplatform.--dir dirβ This parameter indicates the directory into which the certificate is to be stored. It is expected that the EK certificate is stored in this directory under the nameek.certand the platform certificate under the nameplatform.cert.--ek ekβ This parameter indicates the modulus of the public key of the endorsement key (EK). The public key is provided as a sequence of ASCII hex digits.--vmid IDβ This parameter indicates the ID of the VM for which to create the certificate.--logfile <logfile>β The log file to log output to; by default logging goes to stdout and stderr on the console.--configfile <configuration file>β The configuration file to use. This file typically contains configuration information for the invoked program. If omitted, the program must use its default configuration file.--optsfile <options file>β The options file to use. This file typically contains options that the invoked program uses. If omitted, the program must use its default options file.--tpm-spec-family <family>,--tpm-spec-level <level>,--tpm-spec-revision <revision>β These 3 options describe the TPM specification that was followed for the implementation of the TPM and will be part of the EK certificate. β¨--tpm2β This option is passed in case a TPM 2 compliant certificate needs to be created.
create_certs_tool_configβ This keyword gets followed by the name of a configuration file that will be passed to the invoked program using the--configfileoption described above. If omitted, the invoked program will use the default configuration file.create_certs_tool_optionsβ This keyword gets followed by the name of an options file that will be passed to the invoked program using the--optsfileoption described above. If omitted, the invoked program will use the default options file.active_pcr_banks(since v0.7) β This keyword gets followed by a comma-separated list of names of PCR banks. The list must not contain any spaces. Valid PCR bank names aresha1,sha256,sha384, andsha512. π§
lowkey important: that PCR bank list literally cannot have spaces in it. the vibes must be comma-separated and tight, no stray gaps. π
π¦ SEE ALSO π¦
swtpm_setup
π REPORTING BUGS π
Found a bug? Report it to Stefan Berger <stefanb@linux.vnet.ibm.com> β he's the one holding it down fr fr. π
okay that's the whole page, you absolutely ate that read-through π this was the swtpm manual, dated 2024-11-08, and it's giving certified classic. go forth and configure, bestie πβ¨πΈπ¦ππ
π¦ where this page comes from
- ubuntu questing: swtpm-tools 0.7.3-0ubuntu8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms