Debian Codegraph @

man/mokutil.1

raw
1 .TH MOKUTIL 1 "Thu Jul 25 2013"
2 .SH NAME
3
4 mokutil \- utility to manipulate machine owner keys
5
6 .SH SYNOPSIS
7 \fBmokutil\fR [--list-enrolled | -l]
8 ([--mokx | -X])
9 .br
10 \fBmokutil\fR [--list-new | -N]
11 ([--mokx | -X])
12 .br
13 \fBmokutil\fR [--list-delete | -D]
14 ([--mokx | -X])
15 .br
16 \fBmokutil\fR [--import \fIkeylist\fR| -i \fIkeylist\fR]
17 ([--hash-file \fIhashfile\fR | -f \fIhashfile\fR] | [--root-pw | -P] |
18 [--mokx | -X] | [--ca-check] | [--ignore-keyring])
19 .br
20 \fBmokutil\fR [--delete \fIkeylist\fR | -d \fIkeylist\fR]
21 ([--hash-file \fIhashfile\fR | -f \fIhashfile\fR] | [--root-pw | -P] |
22 [--mokx |- X])
23 .br
24 \fBmokutil\fR [--revoke-import]
25 ([--mokx | -X])
26 .br
27 \fBmokutil\fR [--revoke-delete]
28 ([--mokx | -X])
29 .br
30 \fBmokutil\fR [--export | -x]
31 .br
32 \fBmokutil\fR [--password | -p]
33 ([--hash-file \fIhashfile\fR | -f \fIhashfile\fR] | [--root-pw | -P])
34 .br
35 \fBmokutil\fR [--clear-password | -c]
36 .br
37 \fBmokutil\fR [--disable-validation]
38 .br
39 \fBmokutil\fR [--enable-validation]
40 .br
41 \fBmokutil\fR [--sb-state]
42 .br
43 \fBmokutil\fR [--test-key \fIkeyfile\fR | -t \fIkeyfile\fR]
44 ([--mokx | -X] | [--ca-check] | [--ignore-keyring])
45 .br
46 \fBmokutil\fR [--reset]
47 ([--hash-file \fIhashfile\fR | -f \fIhashfile\fR] | [--root-pw | -P] |
48 [--mok | -X])
49 .br
50 \fBmokutil\fR [--generate-hash=\fIpassword\fR | -g\fIpassword\fR]
51 .br
52 \fBmokutil\fR [--ignore-db]
53 .br
54 \fBmokutil\fR [--use-db]
55 .br
56 \fBmokutil\fR [--import-hash \fIhash\fR]
57 ([--hash-file \fIhashfile\fR | -f \fIhashfile\fR] | [--root-pw | -P] |
58 [--mokx | -X])
59 .br
60 \fBmokutil\fR [--delete-hash \fIhash\fR]
61 ([--hash-file \fIhashfile\fR | -f \fIhashfile\fR] | [--root-pw | -P] |
62 [--mokx | -X])
63 .br
64 \fBmokutil\fR [--set-verbosity (\fItrue\fR | \fIfalse\fR)]
65 .br
66 \fBmokutil\fR [--set-fallback-verbosity (\fItrue\fR | \fIfalse\fR)]
67 .br
68 \fBmokutil\fR [--set-fallback-noreboot (\fItrue\fR | \fIfalse\fR)]
69 .br
70 \fBmokutil\fR [--pk]
71 .br
72 \fBmokutil\fR [--kek]
73 .br
74 \fBmokutil\fR [--db]
75 .br
76 \fBmokutil\fR [--dbx]
77 .br
78 \fBmokutil\fR [--list-sbat-revocations]
79 .br
80 \fBmokutil\fR [--set-sbat-policy (\fIlatest\fR | \fIautomatic\fR | \fIdelete\fR)]
81 .br
82 \fBmokutil\fR [--timeout \fI-1,0..0x7fff\fR]
83 .br
84 \fBmokutil\fR [--trust-mok]
85 .br
86 \fBmokutil\fR [--untrust-mok]
87 .br
88
89 .SH DESCRIPTION
90 \fBmokutil\fR is a tool to import or delete the machines owner keys
91 (MOK) stored in the database of shim.
92
93 .SH OPTIONS
94 .TP
95 \fB-l, --list-enrolled\fR
96 List the keys the already stored in the database
97 .TP
98 \fB-N, --list-new\fR
99 List the keys to be enrolled
100 .TP
101 \fB-D, --list-delete\fR
102 List the keys to be deleted
103 .TP
104 \fB-i, --import\fR
105 Collect the following files and form an enrolling request to shim. The files must
106 be in DER format.
107 .TP
108 \fB-d, --delete\fR
109 Collect the following files and form a deleting request to shim. The files must be
110 in DER format.
111 .TP
112 \fB--revoke-import\fR
113 Revoke the current import request (MokNew)
114 .TP
115 \fB--revoke-delete\fR
116 Revoke the current delete request (MokDel)
117 .TP
118 \fB-x, --export\fR
119 Export the keys stored in MokListRT
120 .TP
121 \fB-p, --password\fR
122 Setup the password for MokManager (MokPW)
123 .TP
124 \fB-c, --clear-password\fR
125 Clear the password for MokManager (MokPW)
126 .TP
127 \fB--disable-validation\fR
128 Disable the validation process in shim
129 .TP
130 \fB--enable-validation\fR
131 Enable the validation process in shim
132 .TP
133 \fB--sb-state\fR
134 Show SecureBoot State
135 .TP
136 \fB-t, --test-key\fR
137 Test if the key is enrolled or not
138 .TP
139 \fB--reset\fR
140 Reset MOK list
141 .TP
142 \fB--generate-hash\fR
143 Generate the password hash
144 .TP
145 \fB--hash-file\fR
146 Use the password hash from a specific file
147 .TP
148 \fB-P, --root-pw\fR
149 Use the root password hash from /etc/shadow
150 .TP
151 \fB--ignore-db\fR
152 Tell shim to not use the keys in db to verify EFI images
153 .TP
154 \fB--use-db\fR
155 Tell shim to use the keys in db to verify EFI images (default)
156 .TP
157 \fB-X, --mokx\fR
158 Manipulate the MOK blacklist (MOKX) instead of the MOK list
159 .TP
160 \fB--import-hash\fR
161 Create an enrolling request for the hash of a key in DER format. Note that
162 this is not the password hash.
163 .TP
164 \fB--delete-hash\fR
165 Create a deleting request for the hash of a key in DER format. Note that
166 this is not the password hash.
167 .TP
168 \fB--set-verbosity\fR
169 Set the SHIM_VERBOSE to make shim more or less verbose
170 .TP
171 \fB--set-fallback-verbosity\fR
172 Set the FALLBACK_VERBOSE to make fallback more or less verbose
173 .TP
174 \fB--set-fallback-noreboot\fR
175 Set the FB_NO_REBOOT to prevent fallback from automatically rebooting the system
176 .TP
177 \fB--pk\fR
178 List the keys in the public Platform Key (PK)
179 .TP
180 \fB--kek\fR
181 List the keys in the Key Exchange Key Signature database (KEK)
182 .TP
183 \fB--db\fR
184 List the keys in the secure boot signature store (db)
185 .TP
186 \fB--dbx\fR
187 List the keys in the secure boot blacklist signature store (dbx)
188 .TP
189 \fB--list-sbat-revocations\fR
190 List the entries in the Secure Boot Advanced Targeting store (SBAT)
191 .TP
192 \fB--set-sbat-policy (\fIlatest\fR | \fIautomatic\fR)\fR
193 Set the SbatPolicy UEFI Variable to have shim apply either the latest
194 or the automatic SBAT revocations. If UEFI Secure Boot is disabled, then
195 shim will automatically delete SBAT revocations
196 .TP
197 \fB--set-ssp-policy (\fIlatest\fR | \fIautomatic\fR | \fIdelete\fR)\fR
198 Set the SspPolicy UEFI Variable to have shim apply either the latest
199 or the automatic Windows SkuSiPolicy to manage bootmgr revocations. Since
200 these are non-native revocations, shim will not automatically delete
201 them. If this is needed, spp-policy can be set to delete when Secure
202 Boot is disabled. The delete policy is non-persistent.
203 .TP
204 \fB--timeout\fR
205 Set the timeout for MOK prompt
206 .TP
207 \fB--ca-check\fR
208 Check if the CA of the given key is already enrolled or blocked in the key
209 databases.
210 .TP
211 \fB--ignore-keyring\fR
212 Ignore the kernel builtin trusted keys keyring check when enrolling a key into MokList
213 .TP
214 \fB--trust-mok\fR
215 Trust MOK keys within the kernel keyring
216 .TP
217 \fB--untrust-mok\fR
218 Do not trust MOK keys within the kernel keyring
219 .TP