Debian Codegraph @

man/man5/swtpm_setup.conf.pod

raw
1 =head1 NAME
2
3 swtpm_setup.conf - Configuration file for swtpm_setup
4
5 =head1 DESCRIPTION
6
7 The file I</etc/swtpm_setup.conf> contains configuration information for
8 swtpm_setup. It must only contain
9 one configuration keyword per line, followed by an equals sign (=) and then
10 followed by appropriate configuration information. A comment at the
11 end of the line may be introduced by a hash (#) sign.
12
13 Users may write their own configuration into
14 I<${XDG_CONFIG_HOME}/swtpm_setup.conf> or if XDG_CONFIG_HOME
15 is not set it may be in I<${HOME}/.config/swtpm_setup.conf>.
16
17 The following keywords are recognized:
18
19 =over 4
20
21 =item B<create_certs_tool>
22
23 This keyword is to be followed by the name of an executable or executable
24 script used for creating various TPM certificates. The tool will be
25 called with the following options
26
27 =over 4
28
29 =item B<--type type>
30
31 This parameter indicates the type of certificate to create. The type parameter may
32 be one of the following: I<ek>, or I<platform>
33
34 =item B<--dir dir>
35
36 This parameter indicates the directory into which the certificate is to be stored.
37 It is expected that the EK certificate is stored in this directory under the name
38 ek.cert and the platform certificate under the name platform.cert.
39
40 =item B<--ek ek>
41
42 This parameter indicates the modulus of the public key of the endorsement key
43 (EK). The public key is provided as a sequence of ASCII hex digits.
44
45 =item B<--vmid ID>
46
47 This parameter indicates the ID of the VM for which to create the certificate.
48
49 =item B<--logfile <logfile>>
50
51 The log file to log output to; by default logging goes to stdout and stderr
52 on the console.
53
54 =item B<--configfile <configuration file>>
55
56 The configuration file to use. This file typically contains configuration
57 information for the invoked program. If omitted, the program must use
58 its default configuration file.
59
60 =item B<--optsfile <options file>>
61
62 The options file to use. This file typically contains options that the
63 invoked program uses. If omitted, the program must use its default
64 options file.
65
66 =item B<--tpm-spec-family <family>>, B<--tpm-spec-level <level>>, B<--tpm-spec-revision <revision>>
67
68 These 3 options describe the TPM specification that was followed for
69 the implementation of the TPM and will be part of the EK certificate.
70
71 =item B<--tpm2>
72
73 This option is passed in case a TPM 2 compliant certificate needs to be
74 created.
75
76 =back
77
78 =item B<create_certs_tool_config>
79
80 This keyword is to be followed by the name of a configuration file
81 that will be passed to the invoked program using the --configfile
82 option described above. If omitted, the invoked program will use
83 the default configuration file.
84
85 =item B<create_certs_tool_options>
86
87 This keyword is to be followed by the name of an options file
88 that will be passed to the invoked program using the --optsfile
89 option described above. If omitted, the invoked program will use
90 the default options file.
91
92 =item B<active_pcr_banks> (since v0.7)
93
94 This keyword is to be followed by a comma-separated list
95 of names of PCR banks. The list must not contain any spaces.
96 Valid PCR bank names are sha1, sha256, sha384, and sha512.
97
98 =item B<rsa_keysize> (since v0.10)
99
100 This keyword allows to specify the default RSA keysize to be used if it is
101 not provided with a command line option to swtpm_setup. Any value
102 that can be passed to swtpm_setup is also valid here, such as 2048, or
103 'max'. The supported key sizes depend on the version of libtpms.
104
105 =item B<profile> (since v0.10)
106
107 This keyword allows to specify either the name of a profile or a JSON
108 map describing the profile, such as 'profile = {"Name": "default-v1"}'.
109 Please also refer to the description of the I<--profile> option for
110 swtpm_setup.
111
112 =item B<profile_file> (since v0.10)
113
114 This keyword allows to specify a default profile file.
115
116 =item B<local_profiles_dir> (since v0.10)
117
118 This keyword allows to set a profile directory that contains profiles written
119 by users of the system.
120
121 =item B<>
122
123 =back
124
125 =head1 SEE ALSO
126
127 B<swtpm_setup>
128
129 =head1 REPORTING BUGS
130
131 Report bugs to Stefan Berger <[email protected]>