diff options
| author | Oliver Kiddle <opk@zsh.org> | 2017-10-31 00:51:42 +0100 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2017-10-31 00:51:42 +0100 |
| commit | aaa001e534bea49bbd05c6ccc0506db003e0fa0b (patch) | |
| tree | 653ffe1d50ecb8ecd165677ee91c38c2e149eb08 /Completion | |
| parent | 41939: docs: Move aliases corner case to the dangerous bends section. (after ... (diff) | |
| download | zsh-aaa001e534bea49bbd05c6ccc0506db003e0fa0b.tar zsh-aaa001e534bea49bbd05c6ccc0506db003e0fa0b.tar.gz zsh-aaa001e534bea49bbd05c6ccc0506db003e0fa0b.tar.bz2 zsh-aaa001e534bea49bbd05c6ccc0506db003e0fa0b.tar.lz zsh-aaa001e534bea49bbd05c6ccc0506db003e0fa0b.tar.xz zsh-aaa001e534bea49bbd05c6ccc0506db003e0fa0b.tar.zst zsh-aaa001e534bea49bbd05c6ccc0506db003e0fa0b.zip | |
41963: update completion for gnutls 3.6.1
Diffstat (limited to 'Completion')
| -rw-r--r-- | Completion/Unix/Command/_gnutls | 79 |
1 files changed, 52 insertions, 27 deletions
diff --git a/Completion/Unix/Command/_gnutls b/Completion/Unix/Command/_gnutls index 0b307d9b7..2cd559843 100644 --- a/Completion/Unix/Command/_gnutls +++ b/Completion/Unix/Command/_gnutls @@ -35,16 +35,21 @@ case "$service" in '--priority=[specify TLS algorithms and protocols to enable]:(NORMAL PFS SECURE128 SECURE192 SUITEB128 SUITEB192 LEGACY PERFORMANCE NONE)' '--x509cafile=[specify certificate file to use]:file:_files' '--x509crlfile=[specify CRL file to use]:file:_files' - '--pgpkeyfile=[specify PGP key file to use]:file:_files' - '--pgpkeyring=[specify PGP key ring file to use]:file:_files' - '--pgpcertfile=[specify PGP public key (certificate) file to use]:file:_files' - '--x509keyfile=[specify X.509 key file to use]:file:_files' - '--x509certfile=[specify X.509 certificate file to use]:file:_files' - '--pgpsubkey=[specify PGP subkey to use]:sub key' + '*--x509keyfile=[specify X.509 key file to use]:file:_files' + '*--x509certfile=[specify X.509 certificate file to use]:file:_files' '(-l --list -p --port)'{-l,--list}'[print list of the supported algorithms/modes]' + ) + ;| + gnutls-cli|gnutls-serv|certtool) + args+=( '--provider=[specify PKCS #11 provider library]:provider:_files' ) ;| + gnutls-cli|certtool) + args+=( + '--verify-allow-broken[allow broken algorithms, such as MD5 for certificate verification]' + ) + ;| gnutls-cli) args+=( @@ -59,10 +64,11 @@ case "$service" in '(-s --starttls)'{-s,--starttls}'[start TLS on EOF or SIGALRM]' '--crlf[send CR LF instead of LF]' '--fastopen[enable TCP Fast Open]' - '(-f --fingerprint)'{-f,--fingerprint}'[send the openpgp fingerprint instead of the key]' "--print-cert[print peer's certificate in PEM format]" "--save-cert=[save peer's certificate chain in the specified file in PEM format]:file:_files" "--save-ocsp=[save peer's OCSP status response in the provided file]:file:_files" + '--save-server-trace=[save the server-side TLS message trace in the provided file]:file:_files' + '--save-client-trace=[save the client-side TLS message trace in the provided file]:file:_files' '--dh-bits=[specify minimum number of bits allowed for DH]:bits' '--srpusername[specify SRP username to use]:username' '--srppasswd[specify SRP password to use]:password' @@ -88,6 +94,8 @@ case "$service" in gnutls-serv) args+=( '--sni-hostname-fatal[send fatal alert on sni-hostname mismatch]' + '*--alpn=[specify ALPN protocol to be enabled by the server]:protocol' + '--alpn-fatal[send fatal alert on non-matching ALPN name]' '(-g --generate)'{-g,--generate}'[generate Diffie-Hellman parameters]' '(-q --quiet)'{-q,--quiet}'[suppress some messages]' "--nodb[don't use a resumption database]" @@ -97,10 +105,6 @@ case "$service" in '(-r --require-client-cert)'{-r,--require-client-cert}'[require a client certificate]' '--verify-client-cert[if a client certificate is sent then verify it]' '--dhparams=[specify DH params file to use]:file:_files' - '--x509dsakeyfile=[specify alternative X.509 key file to use]:file:_files' - '--x509dsacertfile=[specify alternative X.509 certificate file to use]:file:_files' - '--x509ecckeyfile=[specify alternative X.509 key file to use]:file:_files' - '--x509ecccertfile=[specify alternative X.509 certificate file to use]:file:_files' '--srppasswd=[specify SRP password file to use]:file:_files' '--srppasswdconf=[specify SRP password configuration file to use]:file:_files' '--pskpasswd=[specify PSK password file to use]:file:_files' @@ -111,18 +115,31 @@ case "$service" in certtool) args+=( - '--infile:input file:_files ' + '(-q --generate-request)--infile:input file:_files ' '--outfile:output file:_files ' '(-s --generate-self-signed)'{-s,--generate-self-signed}'[generate a self-signed certificate]' '(-c --generate-certificate)'{-c,--generate-certificate}'[generate a signed certificate]' '--generate-proxy[generate a proxy certificate]' '--generate-crl[generate a CRL]' '(-u --update-certificate)'{-u,--update-certificate}'[update a signed certificate]' + '--fingerprint[print the fingerprint of the given certificate]' + '--key-id[print the key ID of the given certificate]' + '--v1[generate an X.509 version 1 certificate (with no extensions)]' + '--sign-params=[sign a certificate with a specific signature algorithm]:algorithm:(RSA-PSS)' '(-p --generate-privkey)'{-p,--generate-privkey}'[generate a private key]' - '(-q --generate-request)'{-q,--generate-request}'[generate a PKCS #10 certificate request]' + '(-q --generate-request --infile)'{-q,--generate-request}'[generate a PKCS #10 certificate request]' '(-e --verify-chain)'{-e,--verify-chain}'[verify a PEM encoded certificate chain]' '--verify[verify a PEM encoded certificate chain using a trusted list]' '--verify-crl[verify a CRL]' + '(--verify-email)--verify-hostname=[specify hostname to be used for certificate chain verification]:hostname:_hosts' + '(--verify-hostname)--verify-email=[specify email to be used for certificate chain verification]:email:_email_addresses' + '--verify-purpose=[specify a purpose OID to be used for certificate chain verification]' + '--p7-sign[sign using a PKCS #7 structure]' + '--p7-detached-sign[sign using a detached PKCS #7 structure]' + "--no-p7-include-cert[don't include signer's certificate will in the cert list]" + '--p7-time[include a timestamp in the PKCS #7 structure]' + '--p7-show-data[show embedded data in the PKCS #7 structure]' + '--p7-verify[verify the provided PKCS #7 structure]' |
