sequoia-sq/tests
David Runge 82a866c18d
Consolidate sq revoke commands as sq key subcommands
- Move the `sq revoke certificate`, `sq revoke subkey` and `sq revoke
  userid` subcommands below the `sq key` namespace as `sq key revoke`,
  `sq key subkey revoke` and `sq key userid revoke` (respectively). This
  consolidates commands relevant to key management below `sq key`, which
  is in line with already existing subcommands (e.g. `sq key generate`,
  `sq key subkey add` or `sq key userid add`).
- Replace the use of a common `revoke()` with `CertificateRevocation`,
  `SubkeyRevocation` and `UserIDRevocation` to reduce complexity and
  allow for easier per target (i.e., certificate, subkey or userid)
  command modification.
- Allow specifying an output file using `--output`/ `-o` for all
  revocation subcommands (i.e., `sq key revoke`, `sq key subkey revoke`,
  `sq key userid revoke`). If unspecified, output goes to stdout as
  before.
- Add common test facilities to create a default certificate in a
  temporary directory.
- Add common test function to compare a set of notations with those in
  a `Signature`.
- Replace the integration tests which used to test a combined `sq
  revoke` subcommand with integration tests for `sq key subkey revoke`,
  `sq key userid revoke` and `sq key revoke` using direct and third
  party revocation.

Fixes #93
2023-07-03 16:04:51 +02:00
..
common Consolidate sq revoke commands as sq key subcommands 2023-07-03 16:04:51 +02:00
data Rename sq keyring linter to sq keyring lint 2023-07-03 14:23:17 +02:00
sq-certify.rs Rename --export option of sq key generate to the generic --output 2023-06-17 15:51:25 +02:00
sq-decrypt.rs Add support for a persistant certificate store 2023-03-16 13:46:50 +01:00
sq-encrypt.rs Rename --export option of sq key generate to the generic --output 2023-06-17 15:51:25 +02:00
sq-export.rs Rename --export option of sq key generate to the generic --output 2023-06-17 15:51:25 +02:00
sq-import.rs Rename --export option of sq key generate to the generic --output 2023-06-17 15:51:25 +02:00
sq-key-adopt.rs Add support for a persistant certificate store 2023-03-16 13:46:50 +01:00
sq-key-generate.rs Rename --export option of sq key generate to the generic --output 2023-06-17 15:51:25 +02:00
sq-key-revoke.rs Consolidate sq revoke commands as sq key subcommands 2023-07-03 16:04:51 +02:00
sq-key-subkey.rs Consolidate sq revoke commands as sq key subcommands 2023-07-03 16:04:51 +02:00
sq-key-userid.rs Consolidate sq revoke commands as sq key subcommands 2023-07-03 16:04:51 +02:00
sq-keyring-lint.rs Rename sq keyring linter to sq keyring lint 2023-07-03 14:23:17 +02:00
sq-link.rs Rename --export option of sq key generate to the generic --output 2023-06-17 15:51:25 +02:00
sq-packet-decrypt.rs Add support for a persistant certificate store 2023-03-16 13:46:50 +01:00
sq-packet-dump.rs Add support for a persistant certificate store 2023-03-16 13:46:50 +01:00
sq-sign.rs Rename --export option of sq key generate to the generic --output 2023-06-17 15:51:25 +02:00
sq-subplot.rs Move subplot tests to a feature so subplot doesn't affect most builds 2023-04-19 10:54:05 +02:00
sq-wot.rs Add sq wot 2023-03-30 16:03:48 +02:00