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

private_key: Fix cipher comparison to ignore case #137

Merged
merged 1 commit into from
Nov 14, 2018
Merged

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Nov 14, 2018

It turns out that different releases of Ruby and openssl present the ciphers differently and according to the Ruby docs the case doesn't matter. Lets downcase the available ciphers and what they user provides so we can properly compare them.

Signed-off-by: Tim Smith tsmith@chef.io

It turns out that different releases of Ruby and openssl present the ciphers differently and according to the Ruby docs the case doesn't matter. Lets downcase the available ciphers and what they user provides so we can properly compare them.

Signed-off-by: Tim Smith <tsmith@chef.io>
Copy link
Contributor

@tyler-ball tyler-ball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tas50 tas50 merged commit 3ffb049 into master Nov 14, 2018
@chef-ci chef-ci deleted the cipher_fix branch November 14, 2018 21:42
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.

2 participants