1 |
twoaday |
2 |
/* wptGpgCmds.h - All valid gpg arguments |
2 |
|
|
* Copyright (C) 2000, 2001, 2002, 2003 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.3.4-cvs */ |
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 |
|
|
"nrsign-key", |
54 |
|
|
"nrlsign-key", |
55 |
|
|
"edit-key", |
56 |
|
|
"gen-revoke", |
57 |
|
|
"desig-revoke", |
58 |
|
|
"export", |
59 |
|
|
"send-keys", |
60 |
|
|
"recv-keys", |
61 |
|
|
"search-keys", |
62 |
|
|
"refresh-keys", |
63 |
|
|
"export-all", |
64 |
|
|
"export-secret-keys", |
65 |
|
|
"export-secret-subkeys", |
66 |
|
|
"import", |
67 |
|
|
"fast-import", |
68 |
|
|
"card-status", |
69 |
|
|
"card-edit", |
70 |
|
|
"change-pin", |
71 |
|
|
"list-packets", |
72 |
|
|
"export-ownertrust", |
73 |
|
|
"import-ownertrust", |
74 |
|
|
"update-trustdb", |
75 |
|
|
"check-trustdb", |
76 |
|
|
"fix-trustdb", |
77 |
|
|
"dearmor", |
78 |
|
|
"dearmour", |
79 |
|
|
"enarmor", |
80 |
|
|
"enarmour", |
81 |
|
|
"print-md", |
82 |
|
|
"gen-prime", |
83 |
|
|
"gen-random", |
84 |
|
|
"armor", |
85 |
|
|
"armour", |
86 |
|
|
"recipient", |
87 |
|
|
"hidden-recipient", |
88 |
|
|
"remote-user", |
89 |
|
|
"default-recipient", |
90 |
|
|
"default-recipient-self", |
91 |
|
|
"no-default-recipient", |
92 |
|
|
"temp-directory", |
93 |
|
|
"exec-path", |
94 |
|
|
"encrypt-to", |
95 |
|
|
"hidden-encrypt-to", |
96 |
|
|
"no-encrypt-to", |
97 |
|
|
"local-user", |
98 |
|
|
"textmode", |
99 |
|
|
"no-textmode", |
100 |
|
|
"expert", |
101 |
|
|
"no-expert", |
102 |
|
|
"ask-sig-expire", |
103 |
|
|
"no-ask-sig-expire", |
104 |
|
|
"ask-cert-expire", |
105 |
|
|
"no-ask-cert-expire", |
106 |
|
|
"output", |
107 |
|
|
"verbose", |
108 |
|
|
"quiet", |
109 |
|
|
"no-tty", |
110 |
|
|
"force-v3-sigs", |
111 |
|
|
"no-force-v3-sigs", |
112 |
|
|
"force-v4-certs", |
113 |
|
|
"no-force-v4-certs", |
114 |
|
|
"force-mdc", |
115 |
|
|
"no-force-mdc", |
116 |
|
|
"disable-mdc", |
117 |
|
|
"no-disable-mdc", |
118 |
|
|
"dry-run", |
119 |
|
|
"interactive", |
120 |
|
|
"use-agent", |
121 |
|
|
"no-use-agent", |
122 |
|
|
"gpg-agent-info", |
123 |
|
|
"batch", |
124 |
|
|
"yes", |
125 |
|
|
"no", |
126 |
|
|
"keyring", |
127 |
|
|
"primary-keyring", |
128 |
|
|
"secret-keyring", |
129 |
|
|
"show-keyring", |
130 |
|
|
"default-key", |
131 |
|
|
"keyserver", |
132 |
|
|
"keyserver-options", |
133 |
|
|
"import-options", |
134 |
|
|
"export-options", |
135 |
|
|
"list-options", |
136 |
|
|
"verify-options", |
137 |
|
|
"charset", |
138 |
|
|
"options", |
139 |
|
|
"debug", |
140 |
|
|
"debug-all", |
141 |
|
|
"status-fd", |
142 |
|
|
"attribute-fd", |
143 |
|
|
"no-sk-comments", |
144 |
|
|
"sk-comments", |
145 |
|
|
"completes-needed", |
146 |
|
|
"marginals-needed", |
147 |
|
|
"max-cert-depth", |
148 |
|
|
"trusted-key", |
149 |
|
|
"load-extension", |
150 |
|
|
"gnupg", |
151 |
|
|
"no-pgp2", |
152 |
|
|
"no-pgp6", |
153 |
|
|
"no-pgp7", |
154 |
|
|
"no-pgp8", |
155 |
|
|
"rfc1991", |
156 |
|
|
"rfc2440", |
157 |
|
|
"openpgp", |
158 |
|
|
"pgp2", |
159 |
|
|
"pgp6", |
160 |
|
|
"pgp7", |
161 |
|
|
"pgp8", |
162 |
|
|
"s2k-mode", |
163 |
|
|
"s2k-digest-algo", |
164 |
|
|
"s2k-cipher-algo", |
165 |
|
|
"simple-sk-checksum", |
166 |
|
|
"cipher-algo", |
167 |
|
|
"digest-algo", |
168 |
|
|
"cert-digest-algo", |
169 |
|
|
"compress-algo", |
170 |
|
|
"throw-keyid", |
171 |
|
|
"no-throw-keyid", |
172 |
|
|
"show-photos", |
173 |
|
|
"no-show-photos", |
174 |
|
|
"photo-viewer", |
175 |
|
|
"set-notation", |
176 |
|
|
"notation-data", |
177 |
|
|
"sig-notation", |
178 |
|
|
"cert-notation", |
179 |
|
|
"list-ownertrust", |
180 |
|
|
"compression-algo", |
181 |
|
|
"print-mds", |
182 |
|
|
"list-trustdb", |
183 |
|
|
"pipemode", |
184 |
|
|
"passphrase-fd", |
185 |
|
|
"command-fd", |
186 |
|
|
"quick-random", |
187 |
|
|
"no-verbose", |
188 |
|
|
"trustdb-name", |
189 |
|
|
"no-secmem-warning", |
190 |
|
|
"no-permission-warning", |
191 |
|
|
"no-mdc-warning", |
192 |
|
|
"no-armor", |
193 |
|
|
"no-armour", |
194 |
|
|
"no-default-keyring", |
195 |
|
|
"no-greeting", |
196 |
|
|
"no-options", |
197 |
|
|
"homedir", |
198 |
|
|
"no-batch", |
199 |
|
|
"with-colons", |
200 |
|
|
"with-key-data", |
201 |
|
|
"list-key", |
202 |
|
|
"list-sig", |
203 |
|
|
"check-sig", |
204 |
|
|
"skip-verify", |
205 |
|
|
"compress-keys", |
206 |
|
|
"compress-sigs", |
207 |
|
|
"default-cert-check-level", |
208 |
|
|
"always-trust", |
209 |
|
|
"trust-model", |
210 |
|
|
"force-ownertrust", |
211 |
|
|
"emulate-checksum-bug", |
212 |
|
|
"run-as-shm-coprocess", |
213 |
|
|
"set-filename", |
214 |
|
|
"for-your-eyes-only", |
215 |
|
|
"no-for-your-eyes-only", |
216 |
|
|
"set-policy-url", |
217 |
|
|
"sig-policy-url", |
218 |
|
|
"cert-policy-url", |
219 |
|
|
"show-policy-url", |
220 |
|
|
"no-show-policy-url", |
221 |
|
|
"sig-keyserver-url", |
222 |
|
|
"show-notation", |
223 |
|
|
"no-show-notation", |
224 |
|
|
"comment", |
225 |
|
|
"default-comment", |
226 |
|
|
"no-comments", |
227 |
|
|
"emit-version", |
228 |
|
|
"no-emit-version", |
229 |
|
|
"no-version", |
230 |
|
|
"not-dash-escaped", |
231 |
|
|
"escape-from-lines", |
232 |
|
|
"no-escape-from-lines", |
233 |
|
|
"lock-once", |
234 |
|
|
"lock-multiple", |
235 |
|
|
"lock-never", |
236 |
|
|
"logger-fd", |
237 |
|
|
"use-embedded-filename", |
238 |
|
|
"utf8-strings", |
239 |
|
|
"no-utf8-strings", |
240 |
|
|
"with-fingerprint", |
241 |
|
|
"disable-cipher-algo", |
242 |
|
|
"disable-pubkey-algo", |
243 |
|
|
"allow-non-selfsigned-uid", |
244 |
|
|
"no-allow-non-selfsigned-uid", |
245 |
|
|
"allow-freeform-uid", |
246 |
|
|
"no-allow-freeform-uid", |
247 |
|
|
"no-literal", |
248 |
|
|
"set-filesize", |
249 |
|
|
"honor-http-proxy", |
250 |
|
|
"fast-list-mode", |
251 |
|
|
"fixed-list-mode", |
252 |
|
|
"list-only", |
253 |
|
|
"ignore-time-conflict", |
254 |
|
|
"ignore-valid-from", |
255 |
|
|
"ignore-crc-error", |
256 |
|
|
"ignore-mdc-error", |
257 |
|
|
"show-session-key", |
258 |
|
|
"override-session-key", |
259 |
|
|
"no-random-seed-file", |
260 |
|
|
"auto-key-retrieve", |
261 |
|
|
"no-auto-key-retrieve", |
262 |
|
|
"no-sig-cache", |
263 |
|
|
"no-sig-create-check", |
264 |
|
|
"auto-check-trustdb", |
265 |
|
|
"no-auto-check-trustdb", |
266 |
|
|
"merge-only", |
267 |
|
|
"allow-secret-key-import", |
268 |
|
|
"try-all-secrets", |
269 |
|
|
"enable-special-filenames", |
270 |
|
|
"no-expensive-trust-checks", |
271 |
|
|
"delete-secret-and-public-keys", |
272 |
|
|
"rebuild-keydb-caches", |
273 |
|
|
"preserve-permissions", |
274 |
|
|
"default-preference-list", |
275 |
|
|
"personal-cipher-preferences", |
276 |
|
|
"personal-digest-preferences", |
277 |
|
|
"personal-compress-preferences", |
278 |
|
|
"emulate-md-encode-bug", |
279 |
|
|
"display", |
280 |
|
|
"ttyname", |
281 |
|
|
"ttytype", |
282 |
|
|
"lc-ctype", |
283 |
|
|
"lc-messages", |
284 |
|
|
"group", |
285 |
|
|
"no-groups", |
286 |
|
|
"strict", |
287 |
|
|
"no-strict", |
288 |
|
|
"mangle-dos-filenames", |
289 |
|
|
"no-mangle-dos-filenames", |
290 |
|
|
"enable-progress-filter", |
291 |
|
|
"multifile", |
292 |
|
|
"reader-port", |
293 |
|
|
"ctapi-driver", |
294 |
|
|
"pcsc-driver", |
295 |
|
|
"disable-ccid", |
296 |
|
|
"dump-options", |
297 |
|
|
"help", |
298 |
|
|
"version", |
299 |
|
|
"warranty", |
300 |
|
|
NULL |
301 |
|
|
}; |
302 |
|
|
|
303 |
|
|
#endif /* WPT_GPG_COMMANDS_H_ */ |