about summary refs log tree commit diff
path: root/Completion/BSD/Command/_signify
diff options
context:
space:
mode:
authorMatthew Martin <phy1729@gmail.com>2018-04-06 20:08:40 -0500
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-04-07 11:06:24 +0200
commita2cb9bbed3b0787cbea62d6a04083ff24e4f5a27 (patch)
treed07b5a43366f491e127928cd0617bdbf0015ef81 /Completion/BSD/Command/_signify
parent5e10acca9812df07cc5f02bcbfea22ca7092c1ad (diff)
downloadzsh-a2cb9bbed3b0787cbea62d6a04083ff24e4f5a27.tar.gz
zsh-a2cb9bbed3b0787cbea62d6a04083ff24e4f5a27.tar.xz
zsh-a2cb9bbed3b0787cbea62d6a04083ff24e4f5a27.zip
42604: new completions for OpenBSD's signify and vmctl
Diffstat (limited to 'Completion/BSD/Command/_signify')
-rw-r--r--Completion/BSD/Command/_signify31
1 files changed, 31 insertions, 0 deletions
diff --git a/Completion/BSD/Command/_signify b/Completion/BSD/Command/_signify
new file mode 100644
index 000000000..26571aa2a
--- /dev/null
+++ b/Completion/BSD/Command/_signify
@@ -0,0 +1,31 @@
+#compdef signify
+
+_arguments -s -S -A "-*" : \
+  - checksum \
+  '-C[verify a signed checksum list and the checksum for each file]' \
+  '-p[public key]:public key:_files' \
+  '-q[quiet mode]' \
+  '-x[signature file]:signature file:_files' \
+  '*:file:_files' \
+  - generate \
+  '-G[generate a new key pair]' \
+  '-c[specify comment]:comment:' \
+  '-n[do not ask for passphrase]' \
+  '-p[public key]:public key:_files' \
+  '-s[secret key]:secret key:_files' \
+  - sign \
+  '-S[sign a message and create a signature]' \
+  '-e[embed the message after the signature]' \
+  '-m[file containing message]:message file:_files' \
+  '-s[secret key]:secret key:_files' \
+  '-x[signature file]:signature file:_files' \
+  '-z[embed signature in gzip header]' \
+  - verify \
+  '-V[verify the message and signature match]' \
+  '-e[extract the message from the signature]' \
+  '-m[file containing message to verify or destination to extract]:message file:_files' \
+  '-p[public key]:public key:_files' \
+  '-q[quiet mode]' \
+  '-t[restrict verification to specified key type]:key type:((base\:"base sets" fw\:firmware pkg\:packages syspatch\:syspatches))' \
+  '-x[signature file]:signature file:_files' \
+  '-z[verify signature in gzip header]'