1 |
static const char *valid_gpg_args[] = { |
2 |
"sign", |
3 |
"clearsign", |
4 |
"detach-sign", |
5 |
"encrypt", |
6 |
"encrypt-files", |
7 |
"symmetric", |
8 |
"store", |
9 |
"decrypt", |
10 |
"decrypt-files", |
11 |
"verify", |
12 |
"verify-files", |
13 |
"list-keys", |
14 |
"list-public-keys", |
15 |
"list-sigs", |
16 |
"check-sigs", |
17 |
"fingerprint", |
18 |
"list-secret-keys", |
19 |
"gen-key", |
20 |
"delete-keys", |
21 |
"delete-secret-keys", |
22 |
"sign-key", |
23 |
"lsign-key", |
24 |
"nrsign-key", |
25 |
"nrlsign-key", |
26 |
"edit-key", |
27 |
"gen-revoke", |
28 |
"desig-revoke", |
29 |
"export", |
30 |
"send-keys", |
31 |
"recv-keys", |
32 |
"search-keys", |
33 |
"refresh-keys", |
34 |
"export-all", |
35 |
"export-secret-keys", |
36 |
"export-secret-subkeys", |
37 |
"import", |
38 |
"fast-import", |
39 |
"list-packets", |
40 |
"export-ownertrust", |
41 |
"import-ownertrust", |
42 |
"update-trustdb", |
43 |
"check-trustdb", |
44 |
"fix-trustdb", |
45 |
"dearmor", |
46 |
"dearmour", |
47 |
"enarmor", |
48 |
"enarmour", |
49 |
"print-md", |
50 |
"gen-prime", |
51 |
"gen-random", |
52 |
"armor", |
53 |
"armour", |
54 |
"recipient", |
55 |
"remote-user", |
56 |
"default-recipient", |
57 |
"default-recipient-self", |
58 |
"no-default-recipient", |
59 |
"temp-directory", |
60 |
"exec-path", |
61 |
"encrypt-to", |
62 |
"no-encrypt-to", |
63 |
"local-user", |
64 |
"textmode", |
65 |
"expert", |
66 |
"no-expert", |
67 |
"ask-sig-expire", |
68 |
"no-ask-sig-expire", |
69 |
"ask-cert-expire", |
70 |
"no-ask-cert-expire", |
71 |
"output", |
72 |
"verbose", |
73 |
"quiet", |
74 |
"no-tty", |
75 |
"force-v3-sigs", |
76 |
"no-force-v3-sigs", |
77 |
"force-v4-certs", |
78 |
"no-force-v4-certs", |
79 |
"force-mdc", |
80 |
"no-force-mdc", |
81 |
"disable-mdc", |
82 |
"no-disable-mdc", |
83 |
"dry-run", |
84 |
"interactive", |
85 |
"use-agent", |
86 |
"no-use-agent", |
87 |
"gpg-agent-info", |
88 |
"batch", |
89 |
"yes", |
90 |
"no", |
91 |
"keyring", |
92 |
"secret-keyring", |
93 |
"show-keyring", |
94 |
"default-key", |
95 |
"keyserver", |
96 |
"keyserver-options", |
97 |
"import-options", |
98 |
"export-options", |
99 |
"charset", |
100 |
"options", |
101 |
"debug", |
102 |
"debug-all", |
103 |
"status-fd", |
104 |
"attribute-fd", |
105 |
"no-comment", |
106 |
"no-sk-comments", |
107 |
"sk-comments", |
108 |
"completes-needed", |
109 |
"marginals-needed", |
110 |
"max-cert-depth", |
111 |
"trusted-key", |
112 |
"load-extension", |
113 |
"rfc1991", |
114 |
"openpgp", |
115 |
"pgp2", |
116 |
"no-pgp2", |
117 |
"pgp6", |
118 |
"no-pgp6", |
119 |
"pgp7", |
120 |
"no-pgp7", |
121 |
"s2k-mode", |
122 |
"s2k-digest-algo", |
123 |
"s2k-cipher-algo", |
124 |
"simple-sk-checksum", |
125 |
"cipher-algo", |
126 |
"digest-algo", |
127 |
"cert-digest-algo", |
128 |
"compress-algo", |
129 |
"throw-keyid", |
130 |
"show-photos", |
131 |
"no-show-photos", |
132 |
"photo-viewer", |
133 |
"notation-data", |
134 |
"sig-notation", |
135 |
"cert-notation", |
136 |
"list-ownertrust", |
137 |
"print-mds", |
138 |
"list-trustdb", |
139 |
"list-trust-path", |
140 |
"pipemode", |
141 |
"passphrase-fd", |
142 |
"command-fd", |
143 |
"quick-random", |
144 |
"no-verbose", |
145 |
"trustdb-name", |
146 |
"no-secmem-warning", |
147 |
"no-permission-warning", |
148 |
"no-mdc-warning", |
149 |
"no-armor", |
150 |
"no-armour", |
151 |
"no-default-keyring", |
152 |
"no-greeting", |
153 |
"no-options", |
154 |
"homedir", |
155 |
"no-batch", |
156 |
"with-colons", |
157 |
"with-key-data", |
158 |
"list-key", |
159 |
"list-sig", |
160 |
"check-sig", |
161 |
"skip-verify", |
162 |
"compress-keys", |
163 |
"compress-sigs", |
164 |
"default-cert-check-level", |
165 |
"always-trust", |
166 |
"emulate-checksum-bug", |
167 |
"run-as-shm-coprocess", |
168 |
"set-filename", |
169 |
"for-your-eyes-only", |
170 |
"no-for-your-eyes-only", |
171 |
"set-policy-url", |
172 |
"sig-policy-url", |
173 |
"cert-policy-url", |
174 |
"show-policy-url", |
175 |
"no-show-policy-url", |
176 |
"show-notation", |
177 |
"no-show-notation", |
178 |
"comment", |
179 |
"default-comment", |
180 |
"no-version", |
181 |
"emit-version", |
182 |
"not-dash-escaped", |
183 |
"escape-from-lines", |
184 |
"no-escape-from-lines", |
185 |
"lock-once", |
186 |
"lock-multiple", |
187 |
"lock-never", |
188 |
"logger-fd", |
189 |
"use-embedded-filename", |
190 |
"utf8-strings", |
191 |
"no-utf8-strings", |
192 |
"with-fingerprint", |
193 |
"disable-cipher-algo", |
194 |
"disable-pubkey-algo", |
195 |
"allow-non-selfsigned-uid", |
196 |
"no-allow-non-selfsigned-uid", |
197 |
"allow-freeform-uid", |
198 |
"no-allow-freeform-uid", |
199 |
"no-literal", |
200 |
"set-filesize", |
201 |
"honor-http-proxy", |
202 |
"fast-list-mode", |
203 |
"fixed-list-mode", |
204 |
"list-only", |
205 |
"ignore-time-conflict", |
206 |
"ignore-valid-from", |
207 |
"ignore-crc-error", |
208 |
"ignore-mdc-error", |
209 |
"show-session-key", |
210 |
"override-session-key", |
211 |
"no-random-seed-file", |
212 |
"auto-key-retrieve", |
213 |
"no-auto-key-retrieve", |
214 |
"no-sig-cache", |
215 |
"no-sig-create-check", |
216 |
"auto-check-trustdb", |
217 |
"no-auto-check-trustdb", |
218 |
"merge-only", |
219 |
"allow-secret-key-import", |
220 |
"try-all-secrets", |
221 |
"enable-special-filenames", |
222 |
"no-expensive-trust-checks", |
223 |
"delete-secret-and-public-keys", |
224 |
"rebuild-keydb-caches", |
225 |
"preserve-permissions", |
226 |
"default-preference-list", |
227 |
"personal-cipher-preferences", |
228 |
"personal-digest-preferences", |
229 |
"personal-compress-preferences", |
230 |
"emulate-md-encode-bug", |
231 |
"display", |
232 |
"ttyname", |
233 |
"ttytype", |
234 |
"lc-ctype", |
235 |
"lc-messages", |
236 |
"group", |
237 |
"dump-options", |
238 |
"help", |
239 |
"version", |
240 |
"warranty", |
241 |
NULL |
242 |
}; |