summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Wirzenius <liw@sequoia-pgp.org>2022-01-19 12:43:27 +0200
committerLars Wirzenius <liw@sequoia-pgp.org>2022-01-19 16:14:21 +0200
commit1e57a6592acfd2c15467311dcbaa0e12830b27fc (patch)
tree28d9e7c3c78a56798d1b699ae903589cc8732ec8
parent9d04c9781e9c7bb7d120bc8e23be244ddfdb40e9 (diff)
sq: add placeholder scenario for "sq keyring split"
Sponsored-by: NLnet Foundation; NGI Assure; European Commission
-rw-r--r--sq/sq-subplot.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/sq/sq-subplot.md b/sq/sq-subplot.md
index fa943319..ec0059a4 100644
--- a/sq/sq-subplot.md
+++ b/sq/sq-subplot.md
@@ -729,6 +729,24 @@ This isn't implemented yet, because Subplot needs to add support for
redirecting stdin to come from a file first.
+## Split a keyring: `sq keyring split`
+
+The scenarios in this section verify that splitting a keyring into
+individual files, one per key: the `sq keyring split` subcommand.
+
+Or rather, there will be such scenarios here when Subplot provides
+tools for dealing with randomly named files. Until then, this section
+is a placeholder.
+
+~~~
+given an installed sq
+when I run sq key generate --userid Alice --export alice.pgp
+when I run sq key generate --userid Bob --export bob.pgp
+when I run sq keyring join alice.pgp bob.pgp -o ring.pgp
+when I run sq keyring split ring.pgp
+then the resulting files match alice,pgp and bob.pgp
+~~~
+
# Encrypt and decrypt a file using public keys
_Requirement: We must be able to encrypt a file using a certificate,