-
Notifications
You must be signed in to change notification settings - Fork 9
Add completion spec: OpenSSL (openssl) — top-level subcommands + global flags #304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,228 @@ | ||
| { | ||
| "name": "openssl", | ||
| "description": "OpenSSL cryptography and SSL/TLS toolkit", | ||
| "options": [ | ||
| { | ||
| "name": "-help", | ||
| "description": "Display a summary of standard commands and options" | ||
| } | ||
| ], | ||
| "subcommands": [ | ||
| { | ||
| "name": "asn1parse", | ||
| "description": "Parse an ASN.1 sequence" | ||
| }, | ||
| { | ||
| "name": "ca", | ||
| "description": "Certificate authority management" | ||
| }, | ||
| { | ||
| "name": "ciphers", | ||
| "description": "Display or check SSL/TLS cipher suites" | ||
| }, | ||
| { | ||
| "name": "cmp", | ||
| "description": "Certificate Management Protocol (CMP, RFC 4210) client" | ||
| }, | ||
| { | ||
| "name": "cms", | ||
| "description": "Cryptographic Message Syntax (CMS) utility" | ||
| }, | ||
| { | ||
| "name": "crl", | ||
| "description": "Certificate revocation list (CRL) management" | ||
| }, | ||
| { | ||
| "name": "crl2pkcs7", | ||
| "description": "Create a PKCS#7 structure from a CRL and certificates" | ||
| }, | ||
| { | ||
| "name": "dgst", | ||
| "description": "Message digest calculation and signing" | ||
| }, | ||
| { | ||
| "name": "dhparam", | ||
| "description": "DH parameter manipulation and generation" | ||
| }, | ||
| { | ||
| "name": "dsa", | ||
| "description": "DSA key processing" | ||
| }, | ||
| { | ||
| "name": "dsaparam", | ||
| "description": "DSA parameter manipulation and generation" | ||
| }, | ||
| { | ||
| "name": "ec", | ||
| "description": "EC key processing" | ||
| }, | ||
| { | ||
| "name": "ecparam", | ||
| "description": "EC parameter manipulation and generation" | ||
| }, | ||
| { | ||
| "name": "enc", | ||
| "description": "Symmetric cipher encryption and decryption" | ||
| }, | ||
| { | ||
| "name": "engine", | ||
| "description": "Engine (loadable module) information and manipulation" | ||
| }, | ||
| { | ||
| "name": "errstr", | ||
| "description": "Look up OpenSSL error codes" | ||
| }, | ||
| { | ||
| "name": "fipsinstall", | ||
| "description": "Perform FIPS module installation and configuration" | ||
| }, | ||
| { | ||
| "name": "gendsa", | ||
| "description": "Generate a DSA key from a set of parameters" | ||
| }, | ||
| { | ||
| "name": "genpkey", | ||
| "description": "Generate a private key" | ||
| }, | ||
| { | ||
| "name": "genrsa", | ||
| "description": "Generate an RSA private key" | ||
| }, | ||
| { | ||
| "name": "help", | ||
| "description": "Display a list of commands or help for a command" | ||
| }, | ||
| { | ||
| "name": "info", | ||
| "description": "Print OpenSSL built-in information" | ||
| }, | ||
| { | ||
| "name": "kdf", | ||
| "description": "Perform key derivation function (KDF) operations" | ||
| }, | ||
| { | ||
| "name": "list", | ||
| "description": "List algorithms, commands, and capabilities" | ||
| }, | ||
| { | ||
| "name": "mac", | ||
| "description": "Perform message authentication code (MAC) operations" | ||
| }, | ||
| { | ||
| "name": "nseq", | ||
| "description": "Create or examine a Netscape certificate sequence" | ||
| }, | ||
| { | ||
| "name": "ocsp", | ||
| "description": "Online Certificate Status Protocol (OCSP) utility" | ||
| }, | ||
| { | ||
| "name": "passwd", | ||
| "description": "Compute password hashes" | ||
| }, | ||
| { | ||
| "name": "pkcs12", | ||
| "description": "PKCS#12 file management" | ||
| }, | ||
| { | ||
| "name": "pkcs7", | ||
| "description": "PKCS#7 data management" | ||
| }, | ||
| { | ||
| "name": "pkcs8", | ||
| "description": "PKCS#8 format private key conversion" | ||
| }, | ||
| { | ||
| "name": "pkey", | ||
| "description": "Public or private key management" | ||
| }, | ||
| { | ||
| "name": "pkeyparam", | ||
| "description": "Public key algorithm parameter processing" | ||
| }, | ||
| { | ||
| "name": "pkeyutl", | ||
| "description": "Public key algorithm cryptographic operation" | ||
| }, | ||
| { | ||
| "name": "prime", | ||
| "description": "Compute prime numbers" | ||
| }, | ||
| { | ||
| "name": "rand", | ||
| "description": "Generate pseudo-random bytes" | ||
| }, | ||
| { | ||
| "name": "rehash", | ||
| "description": "Create symbolic links to certificate and CRL files named by their hash values" | ||
| }, | ||
| { | ||
| "name": "req", | ||
| "description": "PKCS#10 certificate request and certificate generation" | ||
| }, | ||
| { | ||
| "name": "rsa", | ||
| "description": "RSA key processing" | ||
| }, | ||
| { | ||
| "name": "rsautl", | ||
| "description": "RSA utility for signing, verification, encryption, and decryption (deprecated; use pkeyutl)" | ||
| }, | ||
| { | ||
| "name": "s_client", | ||
| "description": "SSL/TLS client program for testing and debugging" | ||
| }, | ||
| { | ||
| "name": "s_server", | ||
| "description": "SSL/TLS server program for testing and debugging" | ||
| }, | ||
| { | ||
| "name": "s_time", | ||
| "description": "SSL/TLS performance timing program" | ||
| }, | ||
| { | ||
| "name": "sess_id", | ||
| "description": "SSL/TLS session handling" | ||
| }, | ||
| { | ||
| "name": "skeyutl", | ||
| "description": "Perform opaque symmetric key (EVP_SKEY) operations" | ||
| }, | ||
| { | ||
| "name": "smime", | ||
| "description": "S/MIME message processing" | ||
| }, | ||
| { | ||
| "name": "speed", | ||
| "description": "Algorithm speed measurement" | ||
| }, | ||
| { | ||
| "name": "spkac", | ||
| "description": "Netscape SPKAC (signed public key and challenge) utility" | ||
| }, | ||
| { | ||
| "name": "srp", | ||
| "description": "Maintain an SRP password file" | ||
| }, | ||
| { | ||
| "name": "storeutl", | ||
| "description": "List and display objects in a URI store (certificates, keys, CRLs)" | ||
| }, | ||
| { | ||
| "name": "ts", | ||
| "description": "Time Stamping Authority (TSA) client and server tool" | ||
| }, | ||
| { | ||
| "name": "verify", | ||
| "description": "Certificate verification" | ||
| }, | ||
| { | ||
| "name": "version", | ||
| "description": "Print OpenSSL version information" | ||
| }, | ||
| { | ||
| "name": "x509", | ||
| "description": "X.509 certificate handling" | ||
| } | ||
| ] | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
skeyutl, which appears in current OpenSSL 3.x output fromopenssl list -1 -commands; add it here soopenssl <Tab>is complete for those installations.