Skip to content
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

feat(openssl): openssl list -commands, not help #1325

Closed
wants to merge 1 commit into from

Conversation

yedayak
Copy link
Collaborator

@yedayak yedayak commented Feb 5, 2025

In #1256 we started parsing the help output. Get the list instead from the openssl list -commands command.

This also stops completing the encryption and digest algorithms, since those are usually used with the enc and dgst subcommands.

Suggested-By: Michael Newton
Fixes: #1324

In scop#1256 we started parsing
the help output. Get the list instead from the `openssl list -commands`
command.

This also stops completing the encryption and digest algorithms, since
those are usually used with the `enc` and `dgst` subcommands.

Suggested-By: Michael Newton
Fixes: scop#1324
@yedayak
Copy link
Collaborator Author

yedayak commented Feb 8, 2025

The openssl list subcommand doesn't seem to exist in the version shipping with centos7, OpenSSL 1.0.2k-fips 26 Jan 2017

@miken32
Copy link

miken32 commented Feb 10, 2025

It doesn't exist in the version that shipped with CentOS 4, 5, or 6 either? CentOS 7 is long EOL and anyone still using openssl 1.0 likely aren't keeping their bash-completion on the bleeding edge.

But hey if you're willing to fight with sed to make it work, I won't complain!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bash error since openssl updates
2 participants