Debian Codegraph @

NEWS

raw
1 -*- org -*-
2 #+TITLE: sequoia-sq NEWS – history of user-visible changes
3 #+STARTUP: content hidestars
4
5 * Changes in 1.3.1
6 - This is a bugfix release, fixing and improving displayed hints,
7 improving test vectors so that the tests work fine years into the
8 future, improving some documentation. No new functionality.
9 * Changes in 1.3.0
10 ** New functionality
11 - This release adds support for RFC 9580.
12
13 * Changes in 1.2.0
14 ** New functionality
15 - `sq pki vouch list` lists certifications made by a particular
16 certificate or made on a particular certificate.
17 - `sq pki vouch replay` replays the certifications made by one
18 certificate using another certificate.
19 - `sq key rotate` generates a new certificate based on an existing
20 one. It also copies links, recreates certifications, and retires
21 the old certificate.
22 ** Notable fixes
23 - `sq packet dump` no longer duplicates the PKESK or SKESK packet
24 immediately preceding the SEIPD packet.
25 - `sq key export` and `sq key subkey export` no longer export
26 non-exportable signatures and cert components.
27 - `sq --cli-version` was broken. The check was reversed. That is,
28 instead of `sq` 1.1.0 saying that `sq --cli-version 1.0.0` is
29 compatible, it said it is incompatible, and instead of saying
30 that `sq --cli-version 1.2.0` is incompatible, it said that it is
31 compatible. In terms of the API, this should be considered a new
32 feature.
33 - `sq cert lint`, `sq inspect`, `sq packet dump`, and `sq pki link
34 list` didn't check that certificates designated by user ID using
35 e.g., `--cert-email`, are actually authenticated. They are now
36 correctly checked.
37
38 * Changes in 1.1.0
39 ** New functionality
40 - New argument `--unusable` for `sq cert list`, `sq pki identify`,
41 `sq pki lookup`, and `sq pki authenticate`. This option causes
42 these commands to also show unusable bindings and certificates
43 (i.e., those that are not valid according to the current policy,
44 are revoked, or are expired). Requires `--gossip`.
45 ** Notable changes
46 - Fix `--gossip`. The `--gossip` option for `sq cert list`, `sq
47 pki identify`, `sq pki lookup`, and `sq pki authenticate` was
48 broken. It is now fixed, and works as documented. In terms of
49 the API, this should be considered a new feature, as although the
50 option was present, it did not work.
51 - `sq cert list --cert FPR` incorrectly failed if all of a
52 certificate's bindings are invalid (i.e., the bindings are
53 invalid according to the cryptographic policy, or the user ID is
54 revoked). `sq cert list --cert FPR` now only considers the
55 validity of the certificate. Note: this command correctly
56 succeeded when the certificate had no bindings.
57 - `sq cert list` showed certificates with no user IDs, but it should
58 only show authenticated bindings. Certificates with no user IDs
59 are no only shown when `--gossip` is provided.
60 * Changes in 1.0.0
61 ** New functionality
62 - `sq encrypt --for-self` now adds the certs configured under
63 `encrypt.for-self` to the list of recipients.
64 - `sq sign --signer-self` and `sq encrypt --signer-self` now add
65 the keys configured under `sign.signer-self` to the list of
66 signers.
67 - `sq pki vouch add --certifier-self` and `sq pki vouch authorize
68 --certifier-self` now use the key configured under
69 `pki.vouch.certifier-self` as certification key.
70 - `sq` now automatically imports certificates from GnuPG's
71 certificate store. Note: we only do this for the default Sequoia
72 and GnuPG state directories. Further, We don't parse the GnuPG
73 configuration file, we just scan GnuPG's default cert stores.
74
75 ** Notable changes
76 - `sq pki link add`, `sq pki link authorize`, and `sq pki link
77 retract` gain a new parameter, `--cert-special`, which allows
78 addressing shadow CAs by symbolic names. For instance, `sq pki
79 link authorize --cert-special keys.openpgp.org --all
80 --unconstrained` can be used to fully trust the keys.openpgp.org
81 key server. This also creates the shadow CA if it doesn't exist
82 yet.
83 - `sq sign --signature-file` now takes a value specifying where the
84 signature should be written to. It conflicts with `--output`.
85 - `sq cert list` now takes cert designators, like `--cert-email`
86 instead of `--email`.
87 - `sq encrypt` now requires explicit opt-out for signing in the
88 form of the `--without-signature` flag.
89 - Remove the `--name` argument from `sq key approvals list`, `sq
90 key approvals update`, `sq key userid revoke` and `sq pki path`,
91 and remove the `--name-or-add` argument from `sq key userid
92 revoke`.
93 - The arguments `--userid-or-add`, and `--email-or-add` have
94 respectively been renamed to `--add-userid`, and `--add-email`.
95 - Change `sq pki link add --email` and `sq pki link authorize
96 --email` to use a user ID with just the specified email address,
97 if the email address is part of a self-signed user ID. That is,
98 if the certificate has the self-signed user ID "Alice
99 <[email protected]>", then `--email [email protected]` would have
100 selected "Alice <[email protected]>" to link, but now it selects
101 "<[email protected]>".
102 - Add `sq pki link add --userid-by-email`, and `sq pki link
103 authorize --userid-by-email`, which use the self-signed user ID
104 with the specified email address. That is, if the certificate
105 has the self-signed user ID "Alice <[email protected]>", then
106 `--userid-by-email [email protected]` selects "Alice
107 <[email protected]>" to link.
108 - Add `sq pki link retract --userid-by-email`, which selects a
109 self-signed user ID with the specified email address.
110 - Change `sq pki vouch add --email` and `sq pki vouch authorize
111 --email` to use a user ID with just the specified email address,
112 if the email address is part of a self-signed user ID. That is,
113 if the certificate has the self-signed user ID "Alice
114 <[email protected]>", then `--email [email protected]` would have
115 selected "Alice <[email protected]>" for certification, but now
116 it selects "<[email protected]>".
117 - Add `sq pki vouch add --userid-by-email`, and `sq pki vouch
118 authorize --userid-by-email`, which use the self-signed user ID
119 with the specified email address. That is, if the certificate
120 has the self-signed user ID "Alice <[email protected]>", then
121 `--userid-by-email [email protected]` selects "Alice
122 <[email protected]>" for certification.
123 - Change `sq key userid revoke --email` to use a user ID with just
124 the specified email address, if the email address is part of a
125 self-signed user ID. That is, if the certificate has the
126 self-signed user ID "Alice <[email protected]>", then `--email
127 [email protected]` would have selected "Alice
128 <[email protected]>" for revocation, but now it selects
129 "<[email protected]>".
130 - Add `sq key userid revoke --userid-by-email`, which uses the
131 self-signed user ID with the specified email address. That is,
132 if the certificate has the self-signed user ID "Alice
133 <[email protected]>", then `--userid-by-email [email protected]`
134 selects "Alice <[email protected]>" for revocation.
135 - When writing to a file output, we first write to a temporary
136 file, then rename the file at the end of the operation so that it
137 has its desired name. There are two benefits: no one sees
138 partially written files, and one can safely use the same file as
139 input and output.
140 - `sq download --signature` is now called `sq download
141 --signature-url`.
142 - `sq download` now requires one of `--signature-url`, `--message`,
143 or `--cleartext` like `sq verify`.
144
145 * Changes in 0.40.0
146 ** New functionality
147 - New subcommand `sq download`, which downloads a file and a
148 signature file, and then authenticates the file.
149 ** Notable changes
150 - `sq toolbox keyring merge` now supports merging bare revocation
151 certificates.
152 - `sq verify` now deletes the output file on failure.
153 - `sq decrypt` now deletes the output file on failure.
154 - Add a global option, `--policy-as-of`, that selects the
155 cryptographic policy as of the specified time.
156 - `sq key subkey export` takes an additional argument, `--cert`,
157 which is required. The specified keys must be attached to that
158 certificate. This ensures that if a key is attached to multiple
159 certificates, the correct certificate is exported.
160 - Add a new argument, `--cli-version`, which requests a particular
161 semver-compatible version of the CLI. This enables breaking
162 changes to the CLI in the future.
163 - The `help` subcommand has been removed everywhere except at the
164 top-level (`--help` still works).
165 - If designated signers are specified for `sq verify`, `sq
166 decrypt`, and `sq download`, they are now the only certificates
167 that are considered when verifying signatures. If no signers are
168 specified, the certificate store is consulted.
169 - The argument `sq cert lint --list-keys` has been removed.
170 - `sq key list` now has a DWIM search parameter.
171 - The flag `sq sign --detached` is now called `sq sign
172 --signature-file`.
173 - The flag `sq sign --clearsign` is now called `sq sign
174 --cleartext`.
175 - Both `sq sign` and `sq verify` now require an explicit mode,
176 one of `--signature-file`, `--message`, or `--cleartext`.
177 - The flag `sq --no-cert-store` has been replaced with `sq
178 --cert-store=none`.
179 - The flag `sq --no-key-store` has been replaced with `sq
180 --key-store=none`.
181 - Similarly, `sq --home=none` disables all state, unless explicitly
182 re-enabled using `--cert-store` or `--key-store`.
183 - `sq pki link add`, `sq pki link authorize`, `sq pki vouch
184 certify`, and `sq pki vouch authorize` have a `--userid-or-add`
185 flag. Replace it with an `--userid-or-add` argument, and an
186 `--email-or-add` argument.
187 - The `--email` and `--email-or-add` arguments to `sq pki link add`,
188 etc. cannot be used to designate a self-signed user ID, if
189 multiple self-signed user IDs include the specified email
190 address. Previously, the arguments would designate all
191 self-signed user IDs with the specified email address.
192 - The new argument `sq sign --mode` can be used to create text
193 signatures in addition to binary signatures.
194 - The argument `sq network wkd publish --create` has been split
195 into two arguments, `--create` and `--method`, avoiding an
196 ambiguity when parsing the arguments.
197 - `sq key userid revoke` no longer accepts the `--userid-or-add` flag
198 to indicate that a user ID specified using `--userid`, an email
199 specified using `--email`, or a name specified using `--name`
200 should be used even if there is no corresponding self-signed user
201 ID. This functionality is replaced by the `--userid-or-add`,
202 `--email-or-add` and `--name-or-add` arguments.
203 - `sq pki path` previously interpreted the last positional argument
204 as the user ID to authenticate. Make it a named argument
205 instead, `--userid`.
206 - Add `sq pki path --email` and `sq pki path --name` as additional
207 ways to specify the user ID to authenticate.
208 - The argument `sq encrypt --set-metadata-time` has been removed.
209 - The argument `sq encrypt --set-metadata-filename` now takes a
210 string that specifies the file name to be set.
211 - `sq pki authenticate`'s positional argument for specifying the
212 certificate to authenticate must now be specified using a named
213 argument, `--cert`.
214 - `sq pki identify`'s positional argument for specifying the
215 certificate to identify must now be specified using a named
216 argument, `--cert`.
217 - Drop `sq cert list --email`'s flag, and replace it with the
218 `--userid` and `--email` positional arguments, which match on
219 user IDs.
220 - Drop `sq pki authenticate --email`'s flag, and replace it with
221 the `--userid` and `--email` positional arguments, which match on
222 user IDs.
223 - Drop `sq pki lookup --email`'s flag, and replace it with the
224 `--userid` and `--email` positional arguments, which match on
225 user IDs.
226 - `sq toolbox keyring` is now just `sq keyring`.
227 - `sq toolbox packet` is now just `sq packet`.
228 - `sq toolbox armor` is now `sq packet armor`.
229 - `sq toolbox dearmor` is now `sq packet dearmor`.
230 - `sq key userid revoke`, `sq pki link add`, `sq pki link
231 authorize`, `sq pki vouch certify`, and `sq pki vouch authorize`
232 now check that user IDs that are not self-signed are in canonical
233 form. Add a flag, `--allow-non-canonical-userids`, to disable
234 this check.
235 - `sq key approvals update` now requires an action, like
236 `--add-authenticated`.
237 - `sq key approvals --add-authenticated` is now a simple flag, and
238 we always require full authentication.
239 - `sq toolbox strip-userid` has been removed.
240 - All cert designators now use the `--cert-` prefix, e.g. `sq key
241 export --email` has been changed to `sq key export --cert-email`
242 for consistency reasons, and to free `--name`, `--email`, and
243 `--userid` for user ID designators.
244 - The `--binary` argument has been removed from all commands but
245 those that emit signed and or encrypted messages.
246 - The command `sq toolbox extract-cert` has been removed in favor
247 of `sq key delete` and `sq key subkey delete`.
248 - The command `sq packet split` now writes to stdout by default.
249 - The argument `sq packets split --prefix` is now called
250 `--output-prefix`.
251 - `sq pki vouch certify` is now called `sq pki vouch add`.
252 - We now certify newly generated keys with a per-host shadow CA.
253 - The argument `sq encrypt --signature-notation` has been added.
254 - All arguments to add signature notations have been renamed from
255 `--notation` to `--signature-notation`.
256 - When generating keys, either `--own-key` or `--shared-key` has to
257 be given. The former marks the key's user IDs as authenticated
258 and makes it a trusted introducer. The latter marks the key's
259 user IDs as authenticated, and marks the key as a group key.
260 - The argument `sq cert lint --export-secret-keys` has been
261 removed: if a secret key is provided as file input, it will be
262 emitted.
263 - The argument `sq key subkey export --cert-file` has been removed.
264 - `sq` now reads a configuration file that can be used to tweak a
265 number of defaults, like the cipher suite to generate new keys,
266 the set of key servers to query, and the cryptographic policy.
267 - The command `sq keyring filter` is now considered experimental
268 and may change in the future. To acknowledge this, it has to be
269 invoked with the `--experimental` flag.
270
271 * Changes in 0.39.0
272 ** Notable changes
273 - Subcommand `sq key userid strip` has been moved to `sq toolbox
274 strip-userid`.
275 - `sq key adopt` supports adopting bare keys (i.e., a primary key
276 without any signatures).
277 - `sq key adopt` add options (`--can-sign`, `--cannot-sign`,
278 `--can-authenticate`, `--cannot-authenticate`, `--can-encrypt`,
279 `--cannot-encrypt`) to allow overriding the key flags.
280 - `sq key adopt` now accepts the option `--creation-time` to allow
281 the user to override the key's creation time.
282 - `sq key adopt` sets the key's creation time to the current time
283 (while respecting `--time`) if `--creation-time` is not
284 specified, and the key's time is the Unix epoch.
285 - To select the type of generated DNS resource records a new switch
286 has been introduced. `sq network dane generate --type generic`
287 replaces the old `--generic` flag.
288 - `sq key adopt` is now called `sq key subkey bind`.
289 - The option to verify a detached signature has been renamed from
290 `--detached` to `--signature-file`: `sq verify --signature-file
291 foo.sig foo.txt`.
292 - `sq key userid revoke` has a new flag `--add-userid` that adds
293 missing user IDs, analogous to the flag in `sq pki certify`.
294 Previously, the global `--force` was used for this.
295 - `sq pki link add` and `sq pki link retract` have a new flag
296 `--recreate` that forces a signature to be created even if it
297 should not be necessary because the parameters did not change.
298 Previously, the global `--force` was used for this.
299 - The global `--force` flag has been renamed to `--overwrite` and
300 now controls whether existing files are overwritten.
301 - The argument `--signer-key` is now just called `--signer`.
302 - The arguments to name recipients for encryption now use the
303 `--for` prefix, as in `sq encrypt --for-email [email protected]`.
304 Further, `--recipient-cert` is now just called `--for`
305 - The environment variables to override the default cert store and
306 key store location have been renamed from SQ_CERT_STORE to
307 SEQUOIA_CERT_STORE, and SQ_KEY_STORE to SEQUOIA_KEY_STORE,
308 respectively.
309 - `sq toolbox packet split` now requires an explicit output
310 parameter.
311 - `sq pki certify` no longer supports using expired or revoked
312 certificates; the options `--allow-not-alive-certifier` and
313 `--allow-revoked-certifier` have been removed.
314 - `sq toolbox keyring filter --handle` has been made more robust by
315 splitting `--handle` into `--cert` and `--key`, where the former
316 only matches on primary keys, and the latter matches on both
317 primary keys and subkeys.
318 - The argument `sq network keyserver publish --require-all` is the
319 default now and has been removed.
320 - The argument `sq key generate --rev-cert ...` is now mandatory if
321 `--output` has been given.
322 - `sq network fetch` has been renamed to `sq network search` to
323 emphasize that this is key discovery, and may return related or
324 even wrong results. Likewise for the key server, WKD, and DANE
325 methods.
326 - `sq pki certify`'s positional argument for specifying the user ID
327 to certify must now be specified using a named argument,
328 `--userid`, or `--email`. The `--email` argument no longer
329 changes the meaning of how `--userid` is interpreted, but takes
330 an email address. The `--userid` and `--email` arguments may be
331 given multiple times to certify multiple user IDs at once.
332 - `sq pki certify`'s positional argument for specifying the
333 certificate to certify must now be specified using a named
334 argument, `--cert` or `--cert-file`.
335 - Previously `sq pki certify` could create certifications, and mark
336 a certificate as a trusted introducer (when the user set
337 `--depth` to be greater than zero). The latter functionality has
338 been split off to the new subcommand `sq pki authorize`.
339 - Add the `--domain` argument to `sq pki authorize` so the user
340 doesn't have to manually convert a domain to a regular
341 expression.
342 - `sq pki link add`'s positional argument for specifying the
343 certificate to link must now be specified using a named
344 argument, `--cert`.
345 - `sq pki link retract`'s positional argument for specifying the
346 certificate to unlink must now be specified using a named
347 argument, `--cert`.
348 - Removed `sq pki link add`'s positional argument for specifying a
349 user ID directly or by email address. Use the named arguments,
350 `--userid` or `--email` instead.
351 - Add `--add-userid` to `sq pki link add`. This aligns it with `sq
352 pki certify`.
353 - Removed `sq pki link add`'s `--petname` argument. Use `--userid`
354 in conjunction with `--add-userid` instead.
355 - Previously `sq pki link certify` could create certifications, and
356 mark a certificate as a trusted introducer (when the user set
357 `--depth` to be greater than zero). The latter functionality has
358 been split off to the new subcommand `sq pki link authorize`.
359 - Move `sq pki certify` to `sq pki vouch certify`.
360 - Move `sq pki authorize` to `sq pki vouch authorize`.
361 - Move `sq pki list` to `sq cert list`.
362 - Add a new flag `--all` to `sq network wkd publish` and `sq
363 network dane generate` that adds all certificates with a user ID
364 in the target domain that can be authenticated.
365 - The argument `sq verify --signer-cert` is now called `--signer`.
366 - The argument `sq network wkd --rsync` which previously had an
367 optional value argument has been split into two arguments, a
368 boolean `--rsync` to enable the use of rsync, and `--rsync-path`,
369 which implies `--rsync`, to specify a path to the local rsync
370 executable.
371 - When exporting certificates selected by user IDs (i.e. --email,
372 --userid, --domain, or --grep), the bindings are authenticated and
373 only those certificates that can be authenticated are exported.
374 - The do-what-I-mean query parameter has been removed from `sq cert
375 export`.
376 - `sq autocrypt import` has been merged into `sq cert import`.
377 - `sq autocrypt decode` and `sq autocrypt encode-sender` are
378 removed without substitute.
379 - `--cert` now only looks up by primary key fingerprint.
380 - The argument `sq key delete --cert-file` has been renamed to
381 `--file`.
382 - The argument `sq key delete --file` now requires `--output`.
383 - The argument `sq cert lint --cert-file` has been renamed to
384 `--file`.
385 - The argument `sq key password --cert-file` has been renamed to
386 `--file`.
387 - The argument `sq key password --file` now requires `--output`.
388 - The argument `sq key expire --cert-file` has been renamed to
389 `--file`.
390 - The argument `sq key expire --file` now requires `--output`.
391 - The argument `sq key revoke --cert-file` has been renamed to
392 `--file`.
393 - The argument `sq key revoke --file` now requires `--output`.
394 - The argument `sq key userid add --cert-file` now requires
395 `--output`.
396 - The argument `sq key userid revoke --cert-file` now requires
397 `--output`.
398 - The argument `sq key subkey add --cert-file` has been renamed to
399 `--file`.
400 - The argument `sq key subkey add --file` now requires `--output`.
401 - The argument `sq key subkey delete --cert-file` has been renamed
402 to `--file`.
403 - The argument `sq key subkey delete --file` now requires
404 `--output`.
405 - The argument `sq key subkey password --cert-file` has been
406 renamed to `--file`.
407 - The argument `sq key subkey password --file` now requires
408 `--output`.
409 - The argument `sq key subkey expire --cert-file` has been renamed
410 to `--file`.
411 - The argument `sq key subkey expire --file` now requires
412 `--output`.
413 - The argument `sq key subkey revoke --cert-file` has been renamed
414 to `--file`.
415 - The argument `sq key subkey revoke --file` now requires
416 `--output`.
417 - The argument `sq key subkey bind --cert-file` has been renamed to
418 `--file`.
419 - The argument `sq key subkey bind --file` now requires `--output`.
420 - The argument `sq key approvals update --cert-file` now requires
421 `--output`.
422 - The pEp store integration has been removed.
423 - Removed `sq pki path`'s `--gossip` argument, it didn't actually do
424 anything.
425 - Changed `sq key subkey expire`'s expiration argument from a
426 positional argument to a named argument, `--expiration`.
427 - Changed `sq key expire`'s expiration argument from a positional
428 argument to a named argument, `--expiration`.
429 - Changed `sq key revoke`'s reason and message arguments from
430 positional arguments to named arguments, `--reason`, and
431 `--message`, respectively.
432 - Changed `sq key subkey revoke`'s reason and message arguments from
433 positional arguments to named arguments, `--reason`, and
434 `--message`, respectively.
435 - Changed `sq key userid revoke`'s reason and message arguments from
436 positional arguments to named arguments, `--reason`, and
437 `--message`, respectively.
438 - `sq cert import` now supports importing bare revocation
439 certificates.
440
441 * Changes in 0.38.0
442 ** Notable changes
443 - New subcommand `sq key subkey delete` to delete secret key
444 material.
445 - New subcommand `sq network wkd publish` that publishes
446 certificates in a WKD over rsync.
447 - Removed now obsolete `sq network wkd generate`.
448 - Removed `sq network wkd url` and `sq network wkd direct-url`.
449 - Renamed subcommand `sq key attest-certifications` to `sq key
450 approvals update` to reflect the new name in the draft, and to
451 make room for introspection commands.
452 - New subcommand `sq key subkey password` to change the password
453 protecting secret key material.
454 - The subcommand `sq network keyserver publish` can now publish
455 certs from the certificate store using the `--cert` parameter.
456 - The subcommands `sq key generate` and `sq key userid add` gained
457 the options `--name` and `--email` as a more user-friendly way to
458 specify user IDs.
459 - All short options with the exception of `-v` have been removed.
460 We will judiciously add some back before releasing 1.0.
461 - The dot output has been removed. Those relying on it can use the
462 standalone sq-wot tool.
463 - New subcommand `sq key subkey export` to export individual keys.
464 This functionality was split off from `sq key export`.
465 - `sq key generate` and `sq key subkey add` now prompt for a
466 password by default. This can be disabled by passing
467 `--without-password`.
468 - New subcommand `sq key approvals list` that lists approved
469 third-party certifications and those pending approval.
470 - Remove `sq cert export`'s `--key` argument. Change `--cert` to
471 match both primary keys and subkeys.
472 * Changes in 0.37.0
473 ** Notable changes
474 - Remove PKS support.
475 - `sq key userid add` can now use the certificate store and the
476 keystore.
477 - `sq key userid add` no longer accepts positional arguments. The
478 user ID is provided by the `--userid` argument, and the
479 certificate by `--cert` or `--cert-file`.
480 - Drop the `--certificate-file` argument from `sq key revoke`, `sq
481 key subkey revoke`, and `sq key userid revoke` drop the
482 `--certificate-file`. (The certificate can still be specified
483 using `--cert-file`.)
484 - Rename the `--revocation-file` argument to `--revoker-file` in
485 `sq key revoke`, `sq key subkey revoke`, and `sq key userid
486 revoke`.
487 - `sq key revoke --cert-file`, `sq key revoke --revoker-file` `sq
488 key subkey revoke --cert-file`, `sq key subkey revoke
489 --revoker-file`, `sq key userid revoke --cert-file`, and `sq key
490 userid revoke --revoker-file` now accept `-`, which means to read
491 from stdin.
492 - `sq key revoke`, `sq key subkey revoke`, and `sq key userid
493 revoke` now reads from the certificate store when using `--cert`
494 or --revoker`. When `--cert` is used, and `--output` is not
495 specified, the resulting revocation certificate is saved to the
496 certificate store.
497 - The user ID argument to `sq key userid revoke` is no longer a
498 positional argument, but must be specified with `--userid`.
499 - Change `sq cert lint` to not read from stdin by default.
500 - In `sq cert lint`, change the certificate file parameter from a
501 positional parameter to a named parameter, `--cert-file`.
502 - `sq cert lint` can now use the certificate store and the
503 keystore.
504 - In `sq key subkey add`, change the certificate file parameter
505 from a positional parameter to a named parameter, `--cert-file`.
506 - `sq key subkey add` now reads from the certificate store when
507 using `--cert`. When `--cert` is used, and `--output` is not
508 specified, the new subkey is saved to the key store.
509 - In `sq key expire`, change the certificate file parameter from a
510 positional parameter to a named parameter, `--cert-file`.
511 - Split the functionality to update a subkey's expiration time off
512 of `sq key expire` and into `sq key subkey expire`.
513 - Rename `sq key subkey expire`'s `--subkey` argument to `--key`.
514 - `sq key expire` and `sq key subkey expire` can now use the
515 cert store and the key store.
516 - Add the `--password-file` argument to the `sq sign` command to
517 allow the user to prefill the password cache with a password from
518 a file.
519 - In `sq key password`, change the certificate file parameter from a
520 positional parameter to a named parameter, `--cert-file`.
521 - `sq pki certify`'s certifier parameter interprets `-` as meaning
522 it should read the certificate from stdin.
523 - In `sq pki certify`, change the certifier file parameter from a
524 positional parameter to a named parameter, `--certifier-file`.
525 - `sq pki certify` can now use the cert store and the key store.
526 - In `sq key adopt`, change the certificate file parameter from a
527 positional parameter to a named parameter, `--cert-file`.
528 - `sq key adopt` can now use the cert store and the key store.
529 - In `sq key attest-certifications`, change the certificate file
530 parameter from a positional parameter to a named parameter,
531 `--cert-file`.
532 - In `sq key attest-certifications`, don't make `--all` the
533 default, but require the user to specify it (or `--none`)
534 explicitly.
535 - `sq key attest-certifications` can now use the cert store and the
536 key store.
537 - Rename the `--expiry` argument to `--expiration`.
538 - Rename `sq key password`'s `--clear` argument to `--clear-password`.
539 - Add a top-level `--password-file` argument to seed the password
540 cache. Remove `sq key password`'s `--old-password-file`, and `sq
541 sign`'s `--password-file` local arguments in favor of this
542 argument.
543 * Changes in 0.36.0
544 - Missing
545 * Changes in 0.35.0
546 - Missing
547 * Changes in 0.34.0
548 ** Notable changes
549 - `sq` now uses `sequoia-keystore` for secret key operations.
550
551 When decrypting a message, `sq` will automatically ask the
552 keystore to decrypt the message. `sq sign --signer-key` can be
553 used to specify a signing key managed by the key store.
554
555 - New top-level option: `sq --no-key-store`: A new switch to
556 disable the use of the key store.
557
558 - New top-level option: `sq --key-store`: A new option to use an
559 alternate key store.
560
561 - New subcommand `sq key list` to list keys managed by the key
562 store.
563
564 - New subcommand `sq key import` to import a key into the key
565 store.
566
567 - When showing a user ID for a certificate, choose the one that is
568 most authenticated.
569
570 - `sq network wkd publish` publishes and updates WKD hierarchies
571 via rsync.
572 * Changes in 0.33.0
573 ** Notable changes
574 - The command line interface has been restructured. Please consult
575 the manual pages and review any code and documents using the
576 interface. Notably:
577
578 - `sq import` and `sq export` have been moved to `sq cert`.
579 - `sq wot` has been renamed to `sq pki`.
580 - `sq link` and `sq certify` have been moved to `sq pki`.
581 - `sq lookup, `sq keyserver`, `sq wkd`, and `sq dane` have been
582 moved to `sq network`.
583 - All commands retrieving certificates from network services are
584 now called `fetch`, e.g. `sq network fetch` and `sq network
585 dane fetch`. The command for publishing certs on key servers
586 is now called `sq network keyserver publish`.
587 - `sq armor`, `sq dearmor`, and `sq packet` have been moved to
588 `sq toolbox`.
589 - `sq --version` is now `sq version`, and `sq output-versions`
590 has been integrated with that command.
591
592 - The manual page generation has been improved, and manual pages
593 and shell completions are generated during the build process. To
594 write the assets to a predictable location, set the environment
595 variable `ASSET_OUT_DIR` to a suitable location.
596 * Changes in 0.32.0
597 ** New functionality
598 - Support for password-encrypted keys has been improved. For
599 example, a newly generated subkey can be password protected.
600
601 - When encrypting a message with a password, or creating a new
602 password-protected key or subkey, or changing passwords on a key,
603 sq now prompts you to repeat the password to catch typos.
604
605 - Literal data metadata can now be set using
606 `--set-metadata-filename` and `--set-metadata-time`.
607
608 - sq now reads the file
609
610 /etc/crypto-policies/back-ends/sequoia.config
611
612 to configure its cryptographic policy. The file to load can be
613 overridden using the SEQUOIA_CRYPTO_POLICY environment variable.
614 For more information on the format, see:
615
616 https://docs.rs/sequoia-policy-config/latest/sequoia_policy_config/#format
617
618 - New subcommand: `sq dane generate`.
619
620 Generates DANE records for the given domain and certificates. DANE is a
621 way to distribute OpenPGP certificates via DNS.
622
623 https://www.rfc-editor.org/rfc/rfc7929.html
624
625 - When querying network resources via `sq keyserver get`, `sq wkd
626 get`, or `sq dane get`, multiple queries can be given that are
627 executed simultaneously.
628
629 - When querying key servers via `sq keyserver get` or `sq keyserver
630 send`, multiple servers are queried simultaneously.
631
632 - There are now four default keyservers:
633
634 - hkps://keys.openpgp.org
635 - hkps://mail-api.proton.me
636 - hkps://keys.mailvelope.com
637 - hkps://keyserver.ubuntu.com
638
639 - New subcommand: `sq lookup`.
640
641 Searches for certificates using all supported network services.
642
643 ** Notable changes
644 - Padding has been disabled to increase compatibility with other
645 implementations.
646
647 The padding method we previously used relies on a compressed data
648 packet to pad the message. However, some implementations do not
649 gracefully process these padded encryption containers, so until
650 we get proper padding support from the next revision of OpenPGP,
651 we disable padding.
652
653 - Message notarization has been disabled.
654
655 Message notarization and their semantics are not well defined,
656 and there is no consensus on how to do that.
657
658 - When doing a userid, subkey, or third-party certificate
659 revocation, with the cert given to --certificate-file containing
660 secret key material, we previously emitted a revocation
661 certificate containing secret key material. This has been fixed,
662 and tests have been added to ensure secret key material is only
663 emitted where we expect it to be.
664 * Changes in 0.31.0
665 ** New functionality
666 - `sq key subkey add` allows to create and add a new subkey to an
667 existing certificate.
668 - The functionality of `sq-keyring-linter` is now available as
669 `sq keyring lint`.
670 - The new subcommands `sq key revoke`, `sq key subkey revoke` and
671 `sq key userid revoke`, allow writing to a file using the
672 `--output` option.
673 ** Notable changes
674 - The `--keyring` option is now global and can be specified anywhere
675 when calling `sq`.
676 ** Deprecated functionality
677 - The `--expires` and `--expires-in` options used in various
678 subcommands are deprecated in favor of the unifying `--expiry`.
679 - `sq key generate --export FILE` is deprecated in favor of the more
680 generic `sq key generate --output FILE`.
681 - The `sq revoke certificate` command has been renamed to `sq key
682 revoke`.
683 - The `sq revoke subkey` command has been renamed to `sq key subkey
684 revoke`.
685 - The `sq revoke userid` command has been renamed to `sq key userid
686 revoke`.
687 * Changes in 0.30.1
688 ** Notable changes
689 - The `crypto-botan` feature now selects Botan's v3 interface. Use
690 the new `crypto-botan2` feature to continue using Botan's v2
691 interface.
692 ** Notable fixes
693 - Several parser bugs were fixed in sequoia-openpgp 1.16.0 and
694 buffered-reader 1.2.0. These are all low-severity as Rust
695 correctly detects the out of bounds access and panics. Update
696 Cargo.lock to make sure we use these versions.
697 * Changes in 0.30
698 ** New functionality
699 - `sq key adopt` now honors `--time`.
700 - Add `sq key adopt --expire` to allow setting an adopted key's
701 expiration time.
702 - Add support for using pEp's certificate store. A pEp certificate
703 store can be used by specifying `sq --pep-cert-store PATH` or
704 setting the environment variable `PEP_CERT_STORE`.
705 * Changes in 0.29
706 ** New functionality
707 - `sq` now supports and implicitly uses a certificate store. By
708 default, `sq` uses the standard OpenPGP certificate directory.
709 This is located at `$HOME/.local/share/pgp.cert.d` on XDG
710 compliant systems.
711 - `sq --no-cert-store`: A new switch to disable the use of the
712 certificate store.
713 - `sq --cert-store`: A new option to use an alternate certificate
714 store. Currently, only OpenPGP certificate directories are
715 supported.
716 - `sq import`: A new command to import certificates into the
717 certificate store.
718 - `sq export`: A new command to export certificates from the
719 certificate store.
720 - `sq encrypt --recipient-cert`: A new option to specify a
721 recipient's certificate by fingerprint or key ID, which is then
722 looked up in the certificate store.
723 - `sq verify --signer-cert`: A new option to specify a signer's
724 certificate by fingerprint or key ID, which is then looked up in
725 the certificate store.
726 - `sq verify` now also implicitly looks for missing certificates in
727 the certificate store. But, unless they are explicitly named
728 using `--signer-cert`, they are not considered authenticated and
729 the verification will always fail.
730 - `sq certify`: If the certificate to certify is a fingerprint or
731 Key ID, then the corresponding certificate is looked up in the
732 certificate store.
733 - Add a global option, `--time`, to set the reference time. This
734 option replaces the various subcommand's `--time` argument as
735 well as `sq key generate` and `sq key userid add`'s
736 `--creation-time` arguments.
737 - Add top-level option, `--trust-root`, to allow the user to
738 specify trust roots.
739 - Extend `sq encrypt` to allow addressing recipients by User ID
740 (`--recipient-userid`) or email address (`--recipient-email`).
741 Only User IDs that can be fully authenticated are considered.
742 - Extend `sq verify` to verify certificates looked up from the
743 certificate store using the web of trust. If the signature
744 includes a Signer's User ID packet, and the binding can be fully
745 authenticated, consider the signature to be authenticated. If
746 there is no Signer's User ID packet, consider the signature to be
747 authenticated if any binding can fully be authenticated.
748 - Add `sq link add`, which uses the local trust root to
749 certify the specified bindings.
750 - Add `sq link retract`, which retracts certifications made by the
751 local trust root on the specified bindings.
752 - Add `sq link list`, which lists the links.
753 - Add a top-level option, `--keyring`, to allow the user to specify
754 additional keyrings to search for certificates.
755 - Import web of trust subcommands from sq-wot. Specifically, add:
756 - `sq wot authenticate` to authenticate a binding.
757 - `sq wot lookup` to find a certificate with a particular User ID.
758 - `sq wot identify` to list authenticated bindings for a
759 certificate.
760 - `sq wot list` to list authenticated bindings.
761 - `sq wot path` to authenticate and lint a path in a web of trust.
762 - `sq keyserver get`, `sq wkd get`, and `sq dane get` now import any
763 certificates into the certificate store by default instead of
764 exporting them on stdout. It is still possible to export them
765 using the `--output` option.
766 - When `sq keyserver get` (for verifying key servers), `sq wkd get`,
767 or `sq dane get` saves a certificate to the local certificate
768 store, `sq` certifies the validated User IDs (all returned User
769 IDs in the case of verifying key servers; User IDs that contain
770 the looked up email address in the case of WKD and DANE) using a
771 local service-specific proxy CA. If the proxy key doesn't exist,
772 it is created, and certified as a minimally trusted CA (trust
773 amount 1 of 120) by the local trust root. The proxy certificates
774 can be managed in the usual way using `sq link add` and `sq link
775 retract`.
776 - Extend `sq inspect` to inspect certificates from the certificate
777 store using the `--cert` option.
778 ** Deprecated functionality
779 - `sq key generate --creation-time TIME` is deprecated in favor of
780 `sq key generate --time TIME`.
781 - `sq key user id --creation-time TIME` is deprecated in favor of
782 `sq user id --time TIME`.
783 * Started the NEWS file.