summaryrefslogtreecommitdiffstats
path: root/sq/sq-subplot.md
diff options
context:
space:
mode:
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 56e8442b..d75a8e74 100644
--- a/sq/sq-subplot.md
+++ b/sq/sq-subplot.md
@@ -486,6 +486,18 @@ when I run sq inspect new.pgp
then stdout contains "UserID: Juliet"
~~~
+### Update a key by removing a User ID
+
+_Requirement: We must be able to generate a key with a User ID, and then strip the User ID._
+
+~~~scenario
+given an installed sq
+when I run sq key generate --userid "<juliet@example.org>" --export key.pgp
+when I run sq key userid strip --userid "<juliet@example.org>" --output new.pgp key.pgp
+when I run sq inspect new.pgp
+then stdout doesn't contain "UserID:"
+~~~
+
## Certificate extraction: `sq key extract-cert`