1 |
/* wptGpgCmds.h - All valid gpg arguments |
2 |
* Copyright (C) 2000-2005 Timo Schulz |
3 |
* |
4 |
* This file is part of WinPT. |
5 |
* |
6 |
* WinPT is free software; you can redistribute it and/or |
7 |
* modify it under the terms of the GNU General Public License |
8 |
* as published by the Free Software Foundation; either version 2 |
9 |
* of the License, or (at your option) any later version. |
10 |
* |
11 |
* WinPT is distributed in the hope that it will be useful, |
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 |
* General Public License for more details. |
15 |
* |
16 |
* You should have received a copy of the GNU General Public License |
17 |
* along with WinPT; if not, write to the Free Software Foundation, |
18 |
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 |
*/ |
20 |
|
21 |
#ifndef WPT_GPG_COMMANDS_H |
22 |
#define WPT_GPG_COMMANDS_H |
23 |
|
24 |
/*************** |
25 |
* This is the array with all valid gnupg arguments. It it only used |
26 |
* by the config parser. It was generated with gpg --dump-options and |
27 |
* formatted with a little perl script include in 'Utils'. |
28 |
*/ |
29 |
/* gpg 1.4.1 */ |
30 |
static const char *valid_gpg_args[] = { |
31 |
"sign", |
32 |
"clearsign", |
33 |
"detach-sign", |
34 |
"encrypt", |
35 |
"encrypt-files", |
36 |
"symmetric", |
37 |
"store", |
38 |
"decrypt", |
39 |
"decrypt-files", |
40 |
"verify", |
41 |
"verify-files", |
42 |
"list-keys", |
43 |
"list-public-keys", |
44 |
"list-sigs", |
45 |
"check-sigs", |
46 |
"fingerprint", |
47 |
"list-secret-keys", |
48 |
"gen-key", |
49 |
"delete-keys", |
50 |
"delete-secret-keys", |
51 |
"sign-key", |
52 |
"lsign-key", |
53 |
"edit-key", |
54 |
"gen-revoke", |
55 |
"desig-revoke", |
56 |
"export", |
57 |
"send-keys", |
58 |
"recv-keys", |
59 |
"search-keys", |
60 |
"refresh-keys", |
61 |
"export-secret-keys", |
62 |
"export-secret-subkeys", |
63 |
"import", |
64 |
"fast-import", |
65 |
"card-status", |
66 |
"card-edit", |
67 |
"change-pin", |
68 |
"list-config", |
69 |
"gpgconf-list", |
70 |
"list-packets", |
71 |
"export-ownertrust", |
72 |
"import-ownertrust", |
73 |
"update-trustdb", |
74 |
"check-trustdb", |
75 |
"fix-trustdb", |
76 |
"dearmor", |
77 |
"dearmour", |
78 |
"enarmor", |
79 |
"enarmour", |
80 |
"print-md", |
81 |
"gen-prime", |
82 |
"gen-random", |
83 |
"armor", |
84 |
"armour", |
85 |
"recipient", |
86 |
"hidden-recipient", |
87 |
"remote-user", |
88 |
"default-recipient", |
89 |
"default-recipient-self", |
90 |
"no-default-recipient", |
91 |
"temp-directory", |
92 |
"exec-path", |
93 |
"encrypt-to", |
94 |
"hidden-encrypt-to", |
95 |
"no-encrypt-to", |
96 |
"local-user", |
97 |
"compress-level", |
98 |
"bzip2-compress-level", |
99 |
"bzip2-decompress-lowmem", |
100 |
"textmode", |
101 |
"no-textmode", |
102 |
"expert", |
103 |
"no-expert", |
104 |
"ask-sig-expire", |
105 |
"no-ask-sig-expire", |
106 |
"ask-cert-expire", |
107 |
"no-ask-cert-expire", |
108 |
"ask-cert-level", |
109 |
"no-ask-cert-level", |
110 |
"output", |
111 |
"max-output", |
112 |
"verbose", |
113 |
"quiet", |
114 |
"no-tty", |
115 |
"force-v3-sigs", |
116 |
"no-force-v3-sigs", |
117 |
"force-v4-certs", |
118 |
"no-force-v4-certs", |
119 |
"force-mdc", |
120 |
"no-force-mdc", |
121 |
"disable-mdc", |
122 |
"no-disable-mdc", |
123 |
"dry-run", |
124 |
"interactive", |
125 |
"use-agent", |
126 |
"no-use-agent", |
127 |
"gpg-agent-info", |
128 |
"batch", |
129 |
"yes", |
130 |
"no", |
131 |
"keyring", |
132 |
"primary-keyring", |
133 |
"secret-keyring", |
134 |
"show-keyring", |
135 |
"default-key", |
136 |
"keyserver", |
137 |
"keyserver-options", |
138 |
"import-options", |
139 |
"export-options", |
140 |
"list-options", |
141 |
"verify-options", |
142 |
"display-charset", |
143 |
"charset", |
144 |
"options", |
145 |
"debug", |
146 |
"debug-all", |
147 |
"status-fd", |
148 |
"status-file", |
149 |
"attribute-fd", |
150 |
"attribute-file", |
151 |
"no-sk-comments", |
152 |
"sk-comments", |
153 |
"completes-needed", |
154 |
"marginals-needed", |
155 |
"max-cert-depth", |
156 |
"trusted-key", |
157 |
"load-extension", |
158 |
"gnupg", |
159 |
"no-pgp2", |
160 |
"no-pgp6", |
161 |
"no-pgp7", |
162 |
"no-pgp8", |
163 |
"rfc1991", |
164 |
"rfc2440", |
165 |
"openpgp", |
166 |
"pgp2", |
167 |
"pgp6", |
168 |
"pgp7", |
169 |
"pgp8", |
170 |
"rfc2440-text", |
171 |
"no-rfc2440-text", |
172 |
"s2k-mode", |
173 |
"s2k-digest-algo", |
174 |
"s2k-cipher-algo", |
175 |
"simple-sk-checksum", |
176 |
"cipher-algo", |
177 |
"digest-algo", |
178 |
"cert-digest-algo", |
179 |
"compress-algo", |
180 |
"compression-algo", |
181 |
"throw-keyid", |
182 |
"throw-keyids", |
183 |
"no-throw-keyid", |
184 |
"no-throw-keyids", |
185 |
"show-photos", |
186 |
"no-show-photos", |
187 |
"photo-viewer", |
188 |
"set-notation", |
189 |
"notation-data", |
190 |
"sig-notation", |
191 |
"cert-notation", |
192 |
"list-ownertrust", |
193 |
"print-mds", |
194 |
"list-trustdb", |
195 |
"pipemode", |
196 |
"passphrase-fd", |
197 |
"passphrase-file", |
198 |
"command-fd", |
199 |
"command-file", |
200 |
"quick-random", |
201 |
"no-verbose", |
202 |
"trustdb-name", |
203 |
"no-secmem-warning", |
204 |
"require-secmem", |
205 |
"no-require-secmem", |
206 |
"no-permission-warning", |
207 |
"no-mdc-warning", |
208 |
"no-armor", |
209 |
"no-armour", |
210 |
"no-default-keyring", |
211 |
"no-greeting", |
212 |
"no-options", |
213 |
"homedir", |
214 |
"no-batch", |
215 |
"with-colons", |
216 |
"with-key-data", |
217 |
"list-key", |
218 |
"list-sig", |
219 |
"check-sig", |
220 |
"skip-verify", |
221 |
"compress-keys", |
222 |
"compress-sigs", |
223 |
"default-cert-check-level", |
224 |
"default-cert-level", |
225 |
"min-cert-level", |
226 |
"always-trust", |
227 |
"trust-model", |
228 |
"force-ownertrust", |
229 |
"run-as-shm-coprocess", |
230 |
"set-filename", |
231 |
"for-your-eyes-only", |
232 |
"no-for-your-eyes-only", |
233 |
"set-policy-url", |
234 |
"sig-policy-url", |
235 |
"cert-policy-url", |
236 |
"show-policy-url", |
237 |
"no-show-policy-url", |
238 |
"sig-keyserver-url", |
239 |
"show-notation", |
240 |
"no-show-notation", |
241 |
"comment", |
242 |
"default-comment", |
243 |
"no-comments", |
244 |
"emit-version", |
245 |
"no-emit-version", |
246 |
"no-version", |
247 |
"not-dash-escaped", |
248 |
"escape-from-lines", |
249 |
"no-escape-from-lines", |
250 |
"lock-once", |
251 |
"lock-multiple", |
252 |
"lock-never", |
253 |
"logger-fd", |
254 |
"logger-file", |
255 |
"use-embedded-filename", |
256 |
"no-use-embedded-filename", |
257 |
"utf8-strings", |
258 |
"no-utf8-strings", |
259 |
"with-fingerprint", |
260 |
"disable-cipher-algo", |
261 |
"disable-pubkey-algo", |
262 |
"allow-non-selfsigned-uid", |
263 |
"no-allow-non-selfsigned-uid", |
264 |
"allow-freeform-uid", |
265 |
"no-allow-freeform-uid", |
266 |
"no-literal", |
267 |
"set-filesize", |
268 |
"honor-http-proxy", |
269 |
"fast-list-mode", |
270 |
"fixed-list-mode", |
271 |
"list-only", |
272 |
"ignore-time-conflict", |
273 |
"ignore-valid-from", |
274 |
"ignore-crc-error", |
275 |
"ignore-mdc-error", |
276 |
"show-session-key", |
277 |
"override-session-key", |
278 |
"no-random-seed-file", |
279 |
"auto-key-retrieve", |
280 |
"no-auto-key-retrieve", |
281 |
"no-sig-cache", |
282 |
"no-sig-create-check", |
283 |
"auto-check-trustdb", |
284 |
"no-auto-check-trustdb", |
285 |
"merge-only", |
286 |
"allow-secret-key-import", |
287 |
"try-all-secrets", |
288 |
"enable-special-filenames", |
289 |
"no-expensive-trust-checks", |
290 |
"delete-secret-and-public-keys", |
291 |
"rebuild-keydb-caches", |
292 |
"preserve-permissions", |
293 |
"default-preference-list", |
294 |
"personal-cipher-preferences", |
295 |
"personal-digest-preferences", |
296 |
"personal-compress-preferences", |
297 |
"personal-cipher-prefs", |
298 |
"personal-digest-prefs", |
299 |
"personal-compress-prefs", |
300 |
"display", |
301 |
"ttyname", |
302 |
"ttytype", |
303 |
"lc-ctype", |
304 |
"lc-messages", |
305 |
"group", |
306 |
"ungroup", |
307 |
"no-groups", |
308 |
"strict", |
309 |
"no-strict", |
310 |
"mangle-dos-filenames", |
311 |
"no-mangle-dos-filenames", |
312 |
"enable-progress-filter", |
313 |
"multifile", |
314 |
"keyid-format", |
315 |
"reader-port", |
316 |
"ctapi-driver", |
317 |
"pcsc-driver", |
318 |
"disable-ccid", |
319 |
"dump-options", |
320 |
"help", |
321 |
"version", |
322 |
"warranty", |
323 |
NULL |
324 |
}; |
325 |
|
326 |
|
327 |
#endif /* WPT_GPG_COMMANDS_H_ */ |