fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Fabian Boehmcompletions: More shortening5dc07c9e7

master
7.5 KiB83 linesraw
1# Completions for qubes-gpg-client.
2# These completions are mostly taken from fish's completions for gpg.
3#
4# Functions to generate completion options through gpg invocations
5# are not implemented for this tool, as they are incompatible with
6# Qubes's qrexec authorization prompts for split GPG (even if this worked,
7# the resulting behavior would be quite annoying)
8#
9# Completions for nearly all of qubes-gpg-client's command line options
10# are implemented-- the few that are excluded are not intended for
11# interactive usage or are poorly documented.
12
13complete -c qubes-gpg-client -s b -l detach-sign -d "Make a detached signature"
14complete -c qubes-gpg-client -s a -l armor -d "Create ASCII armored output"
15complete -c qubes-gpg-client -s c -l symmetric -d "Encrypt with a symmetric cipher using a passphrase"
16complete -c qubes-gpg-client -l decrypt -d "Decrypt specified file or stdin"
17complete -c qubes-gpg-client -s e -l encrypt -d "Encrypt data"
18complete -c qubes-gpg-client -s k -l list-keys -d "List all keys from the public keyrings, or just the ones given on the command line"
19complete -c qubes-gpg-client -s K -l list-secret-keys -d "List all keys from the secret keyrings, or just the ones given on the command line"
20complete -c qubes-gpg-client -s n -l dry-run -d "Don't make any changes (this is not completely implemented)"
21complete -c qubes-gpg-client -s o -l output -r -d "Write output to specified file"
22complete -c qubes-gpg-client -s q -l quiet -d "Quiet mode"
23complete -c qubes-gpg-client -s r -l recipient -x -d "Encrypt for specified user id"
24complete -c qubes-gpg-client -s R -l hidden-recipient -x -d "Encrypt for specified user id, but hide the keyid of the key"
25complete -c qubes-gpg-client -s s -l sign -d "Make a signature"
26complete -c qubes-gpg-client -s t -l textmode -d "Treat input files as text and store them in the OpenPGP canonical text form with standard 'CRLF' line endings"
27complete -c qubes-gpg-client -s u -l local-user -x -d "Use specified key as the key to sign with"
28complete -c qubes-gpg-client -s v -l verbose -d "Give more information during processing"
29complete -c qubes-gpg-client -l always-trust -d "Skip key validation and assume that used keys are always valid"
30complete -c qubes-gpg-client -l batch -d "Batch mode"
31complete -c qubes-gpg-client -l cert-digest-algo -x -d "Use specified message digest algorithm when signing a key"
32complete -c qubes-gpg-client -l charset -l display-charset -xa " iso-8859-1 iso-8859-2 iso-8859-15 koi8-r utf-8 " -d "Set the native character set"
33complete -c qubes-gpg-client -l cipher-algo -x -d "Use specified cipher algorithm"
34complete -c qubes-gpg-client -l clearsign -d "Make a clear text signature"
35complete -c qubes-gpg-client -l command-fd -x -d "Read user input from specified file descriptor"
36complete -c qubes-gpg-client -l comment -x -d "Use specified string as comment string"
37complete -c qubes-gpg-client -l compress-algo -x -d "Use specified compression algorithm"
38complete -c qubes-gpg-client -l digest-algo -x -d "Use specified message digest algorithm"
39complete -c qubes-gpg-client -l disable-cipher-algo -x -d "Never allow the use of specified cipher algorithm"
40complete -c qubes-gpg-client -l disable-mdc -d "Disable the use of the modification detection code"
41complete -c qubes-gpg-client -l disable-pubkey-algo -x -d "Never allow the use of specified public key algorithm"
42complete -c qubes-gpg-client -l emit-version -d "Include the version string in ASCII armored output"
43complete -c qubes-gpg-client -l export -x -d 'Export all or the given keys from all keyrings'
44complete -c qubes-gpg-client -l fingerprint -d "List all keys with their fingerprints"
45complete -c qubes-gpg-client -l fixed-list-mode -d "Do not merge primary user ID/key in --with-colons listing mode and make timestamps UNIX time"
46complete -c qubes-gpg-client -l force-mdc -d "Force the use of encryption with a modification detection code"
47complete -c qubes-gpg-client -l force-v3-sigs -d "Force v3 signatures for signatures on data"
48complete -c qubes-gpg-client -l force-v4-certs -d "Always use v4 key signatures even on v3 keys"
49complete -c qubes-gpg-client -l gnupg -d "Use standard GnuPG behavior"
50complete -c qubes-gpg-client -l list-options -d "Display various internal configuration parameters of GnuPG"
51complete -c qubes-gpg-client -l list-only -d "Changes the behaviour of some commands. This is like --dry-run but different"
52complete -c qubes-gpg-client -l list-public-keys -x -d "List all keys from the public keyrings, or just the ones given on the command line"
53complete -c qubes-gpg-client -l list-sigs -d "Same as --list-keys, but the signatures are listed too"
54complete -c qubes-gpg-client -l max-output -x -d "Sets a limit on the number of bytes that will be generated when processing a file"
55complete -c qubes-gpg-client -l no-comments -d "Don't use a comment string"
56complete -c qubes-gpg-client -l no-emit-version -d "Don't include the version string in ASCII armored output"
57complete -c qubes-gpg-client -l no-force-v3-sigs -d "Do not force v3 signatures for signatures on data"
58complete -c qubes-gpg-client -l no-force-v4-certs -d "Don't use v4 key signatures on v3 keys"
59complete -c qubes-gpg-client -l no-greeting -d "Suppress the initial copyright message"
60complete -c qubes-gpg-client -l no-secmem-warning -d "Suppress the warning about 'using insecure memory'"
61complete -c qubes-gpg-client -l no-tty -d "Never write output to terminal"
62complete -c qubes-gpg-client -l no-verbose -d "Reset verbose level to 0"
63complete -c qubes-gpg-client -l openpgp -d "Reset all packet, cipher, and digest options to strict OpenPGP behavior"
64complete -c qubes-gpg-client -l personal-cipher-preferences -x -d "Set the list of personal cipher preferences to the specified string"
65complete -c qubes-gpg-client -l personal-compress-preferences -x -d "Set the list of personal compression preferences to the specified string"
66complete -c qubes-gpg-client -l personal-digest-preferences -x -d "Set the list of personal digest preferences to the specified string"
67complete -c qubes-gpg-client -l s2k-cipher-algo -x -d "Use specified cipher algorithm to protect secret keys"
68complete -c qubes-gpg-client -l s2k-digest-algo -x -d "Use specified digest algorithm to mangle the passphrases"
69complete -c qubes-gpg-client -l s2k-count -x -d "Specify how many times the passphrase mangling for symmetric encryption is repeated"
70complete -c qubes-gpg-client -l s2k-mode -xa "0\t'Plain passphrase' 1\t'Salted passphrase' 3\t'Repeated salted mangling'" -d "Selects how passphrases are mangled"
71complete -c qubes-gpg-client -l status-fd -x -d "Write special status strings to the specified file descriptor"
72complete -c qubes-gpg-client -l store -d "Store only (make a simple RFC1991 packet)"
73complete -c qubes-gpg-client -l trust-model -xa "pgp classic direct always" -d "Specify trust model"
74complete -c qubes-gpg-client -l use-agent -d "Try to use the GnuPG-Agent"
75complete -c qubes-gpg-client -l verify -r -d "Assume specified file or stdin is sigfile and verify it"
76complete -c qubes-gpg-client -l version -d "Display version and supported algorithms, and exit"
77complete -c qubes-gpg-client -l with-colons -d "Print key listings delimited by colons"
78complete -c qubes-gpg-client -l with-fingerprint -d "Like --fingerprint but only change the output format"
79complete -c qubes-gpg-client -l with-keygrip -d "Include the keygrip in the key listings"
80
81# qubes-gpg-client-wrapper wraps qubes-gpg-client and qubes-gpg-import-key, but the latter needs no
82# completions (only takes a file as an argument)
83complete -c qubes-gpg-client-wrapper -w qubes-gpg-client