Neal H. Walfield
b3fbee9565
Upgrade sequoia-openpgp.
...
- Upgrade `sequoia-openpgp` to 1.21.1.
- Versions prior to 1.21.1 have some security vulnerabilities.
2024-07-04 22:51:46 +02:00
Neal H. Walfield
0859a02845
Upgrade zerovec and zerovec-derive.
...
- The current versions of `zerovec` and `zerovec-derive` are yanked.
Upgrade to the latest version.
2024-07-04 22:51:46 +02:00
Neal H. Walfield
4e0af86dc2
Fix sq inspect to respect the reference time.
...
- `sq inspect` used the current time. Change it to respect the
reference time set using the `--time` argument.
2024-06-21 22:07:21 +02:00
Neal H. Walfield
77a5047c6b
Display a hint when parsing an invalid timestamp.
...
- Display a hint when parsing an invalid ISO8601 timestamp.
2024-06-21 22:07:21 +02:00
Justus Winter
846d819368
Port sq verify's examples to the example framework.
...
- Port `sq verify`'s examples to the example framework and improve
them.
- See #196 .
2024-06-20 18:00:47 +02:00
Justus Winter
279cf37665
Remove odd comment.
2024-06-20 17:14:55 +02:00
Justus Winter
b014176a3e
Port sq sign's examples to the example framework.
...
- Port `sq sign`'s examples to the example framework and improve
them.
- See #196 .
2024-06-20 16:52:28 +02:00
Justus Winter
c137359f15
Port sq encrypt's examples to the example framework.
...
- Port `sq encrypt`'s examples to the example framework and improve
them.
- See #196 .
2024-06-20 16:09:25 +02:00
Justus Winter
e78bcf248f
Port sq autocrypt's examples to the example framework.
...
- Port `sq autocrypt`'s examples to the example framework.
- See #196 .
2024-06-20 15:48:43 +02:00
Justus Winter
815fd5df3b
tests: Port the autocrypt test to the common test framework.
2024-06-20 13:57:44 +02:00
Neal H. Walfield
8752cc462f
Release v0.37.0.
2024-06-14 20:53:27 +02:00
Neal H. Walfield
a57c8ad8c7
Update deny.toml.
...
- Sync `deny.toml` with the version in `common-ci`.
2024-06-14 20:52:17 +02:00
Neal H. Walfield
9667c45089
Update Cargo.lock.
2024-06-14 20:49:59 +02:00
Neal H. Walfield
9ce23340f7
Upgrade sequoia-cert-store and sequoia-wot.
...
- Upgrade `sequoia-cert-store` to 0.6.0 and `sequoia-wot` to 0.12.0.
2024-06-14 19:38:58 +02:00
Neal H. Walfield
7431a00efc
Handle result.
2024-06-14 18:30:16 +02:00
Neal H. Walfield
87eb10afff
Don't overwrite after_help_long, append to it.
...
- For subcommands, we append the message "See 'sq --help' for a
description of the global options" to the `--help` output by setting
the command's `after_help_long` attribute.
- This overwrites any existing string. In particular, we currently
use this for showing examples.
- Append the message to the existing message, if any.
2024-06-14 18:12:43 +02:00
Neal H. Walfield
ae392296f5
Add a top-level --password-file argument to seed the password cache.
...
- `sq key password`, and `sq sign --symmetric` have local arguments
to seed the password cache.
- Many commands could benefit from similar functionality.
- Add a new top-level argument, `--password-file`, to seed the
password cache.
2024-06-13 11:39:09 +02:00
Neal H. Walfield
2ed7435b63
Rename sq key password's --clear argument to --clear-password.
...
- This makes the argument's intent clearer and more closely mirrors
the other arguments, like `--new-password-file`.
2024-06-13 10:56:10 +02:00
Neal H. Walfield
02cd47c6e3
Improve sq key's --help.
2024-06-13 10:48:12 +02:00
Neal H. Walfield
61e8b8b5ff
Improve sq key userid strip's --help.
2024-06-13 10:47:02 +02:00
Neal H. Walfield
21d3fdc554
Improve sq key subkey revoke's --help.
2024-06-13 10:47:02 +02:00
Neal H. Walfield
378dec8e10
Add examples for sq key subkey revoke.
2024-06-13 10:47:02 +02:00
Neal H. Walfield
1cb06754c0
Improve sq key subkey expire's --help.
2024-06-13 10:47:01 +02:00
Neal H. Walfield
6b84d2db79
Improve examples for sq key subkey expire.
2024-06-13 10:47:01 +02:00
Neal H. Walfield
d65cb0e078
Improve sq key subkey add's --help.
2024-06-13 10:47:01 +02:00
Neal H. Walfield
786f5ec0a4
Add examples for sq key subkey add.
2024-06-13 10:47:01 +02:00
Neal H. Walfield
3b979db2c1
Improve sq key subkey's --help.
2024-06-13 10:47:00 +02:00
Neal H. Walfield
7284786d7a
Improve sq key attest-certifications's --help.
2024-06-13 10:47:00 +02:00
Neal H. Walfield
e284bcca46
Port sq key attest-certifications's examples to the example framework.
...
- Port `sq key attest-certifications`'s examples to the example
framework and improve the examples.
- See #196 .
2024-06-13 10:47:00 +02:00
Neal H. Walfield
18f4e229d0
Improve sq key subkey adopt's --help.
2024-06-13 10:47:00 +02:00
Neal H. Walfield
20d7b8ff68
Add examples for sq key subkey adopt.
2024-06-13 10:47:00 +02:00
Neal H. Walfield
78bab72166
Improve sq key userid revoke's --help.
2024-06-13 10:46:59 +02:00
Neal H. Walfield
a369d4996b
Add examples for sq key userid revoke.
2024-06-13 10:46:59 +02:00
Neal H. Walfield
122d9192d1
Improve sq key userid add's --help.
2024-06-13 10:46:59 +02:00
Neal H. Walfield
a9b400060d
Port sq key userid add's examples to the example framework.
...
- Port `sq key userid add`'s examples to the example framework and
improve the examples.
- See #196 .
2024-06-13 10:46:59 +02:00
Neal H. Walfield
acc0376b43
Improve sq key userid's --help.
2024-06-13 10:46:58 +02:00
Neal H. Walfield
cfe308a177
Improve sq key revoke's --help.
2024-06-13 10:46:58 +02:00
Neal H. Walfield
18840201ed
Add examples for sq key revoke.
2024-06-13 10:25:15 +02:00
Neal H. Walfield
8948a66df7
Improve sq key password's --help.
2024-06-13 10:25:15 +02:00
Neal H. Walfield
d42da17949
Port sq key password's examples to the example framework.
...
- Port `sq key password`'s examples to the example framework and
improve the examples.
- See #196 .
2024-06-13 10:25:00 +02:00
Neal H. Walfield
e7640521f5
Improve sq key delete's --help.
2024-06-13 09:38:10 +02:00
Neal H. Walfield
5be75a83ff
Add examples for sq key delete.
2024-06-13 09:35:43 +02:00
Neal H. Walfield
8587dd05cd
Improve sq key export's --help.
2024-06-12 18:12:38 +02:00
Neal H. Walfield
c056d41319
Improve sq key import's --help.
2024-06-12 18:12:38 +02:00
Neal H. Walfield
6f8b9074b1
When failing to get a revocation signer, show the actual error.
...
- When we fail to get a signer for `sq key revoke`, `sq key subkey
revoke`, or `sq key userid revoke` we don't print out the actual
error. This can be confusing.
- Print the actual error.
- See #250 .
2024-06-12 18:09:15 +02:00
Neal H. Walfield
0e5c58ef05
Use the null policy when creating revocation certificates.
...
- When creating a revocation certificate using, e.g., `sq key
revoke`, use the null policy.
- Even if a certificate is not valid according to the standard
policy, it can still be useful to revoke it.
- Fixes #250 .
2024-06-12 18:02:22 +02:00
Neal H. Walfield
fa835e234f
Port the sq key revoke tests to the common test framework.
...
- Add `Sq::key_revoke`, and change the `sq key revoke` integration
tests to use it.
2024-06-12 16:50:56 +02:00
Neal H. Walfield
1817c305ae
Make helper function more generic.
...
- Change `compare_notations` from taking a slice containing two
elements to taking a slice taking any number of elements.
2024-06-12 16:49:26 +02:00
Neal H. Walfield
9f09e34e36
Loosen constraints on the key used to issue a revocation.
...
- Before using a key, we check it for validity including whether it
is revoked, and whether it is live.
- Don't enforce these constraints when using a key to issue a
revocation: it may be important to issue a revocation even if the
key is no longer valid.
2024-06-12 16:49:26 +02:00
Neal H. Walfield
7228049640
When an example is too wide, indicate how wide it is.
...
- We check that examples are not too wide. When an example is too
wide, indicate how wide the line is.
2024-06-12 16:49:16 +02:00