summaryrefslogtreecommitdiffstats
path: root/sq/sq-subplot.md
diff options
context:
space:
mode:
authorHeiko Schaefer <heiko@schaefer.name>2022-07-04 18:04:10 +0200
committerHeiko Schaefer <heiko@schaefer.name>2022-07-08 17:44:46 +0200
commit0f4b13505f7257aab32150864aa36ef3ffbccb6d (patch)
treefb11935b668154ecd097ad5f41654331967687d9 /sq/sq-subplot.md
parent3e95c56ee010d91968d23df1e5eafbce601803b5 (diff)
sq: Implement 'key userid add'.
Diffstat (limited to 'sq/sq-subplot.md')
-rw-r--r--sq/sq-subplot.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/sq/sq-subplot.md b/sq/sq-subplot.md
index 269716f4..56e8442b 100644
--- a/sq/sq-subplot.md
+++ b/sq/sq-subplot.md
@@ -474,6 +474,18 @@ when I run sq inspect key.pgp
then stdout contains "Secret key: Encrypted"
~~~
+### Update a key by adding a User ID
+
+_Requirement: We must be able to generate a key and add a User ID to it._
+
+~~~scenario
+given an installed sq
+when I run sq key generate --export key.pgp
+when I run sq key userid add --userid "Juliet" --output new.pgp key.pgp
+when I run sq inspect new.pgp
+then stdout contains "UserID: Juliet"
+~~~
+
## Certificate extraction: `sq key extract-cert`