about summary refs log tree commit diff
path: root/Completion/BSD/Command/_signify
blob: 6a786e2e14cba496c24bc87584bd171c4b07371b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#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+[specify signature file]:signature file:_files' \
  '*:file:_files' \
  - generate \
  '-G[generate a new key pair]' \
  '-c+[specify comment]:comment' \
  "-n[don't ask for passphrase]" \
  '-p+[specify public key file]:public key:_files' \
  '-s+[specify secret key file]:secret key:_files' \
  - sign \
  '-S[sign a message and create a signature]' \
  '-e[embed the message after the signature]' \
  '-n[store a zero time stamp in the gzip(1) header (with -z)]' \
  '-m+[specify file containing message to sign]:message file:_files' \
  '-s+[specify secret key file]:secret key:_files' \
  '-x+[specify 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+[specify file containing message to verify or destination to extract]:message file:_files' \
  '-p+[specify public key file]: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+[specify signature file]:signature file:_files' \
  '-z[verify signature in gzip header]'