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

Fix an error showing the key not being set on the DES cypher #41

Merged
merged 2 commits into from
Jan 26, 2021

Conversation

Castone22
Copy link

As of ruby 3.0, calling encrypt each iteration of the loop when appending the keys for our des-cbc cypher clears the key on that loop, causing open ssl to raise an error about the key not being set.

@Castone22
Copy link
Author

This change is tested compatible with 2.6-2.7, i didn't go much further back than that.

Copy link
Member

@mwrock mwrock left a comment

Choose a reason for hiding this comment

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

For sanity I tested this in the winrm appveyor pipeline as well.

@mwrock mwrock merged commit 9be18a5 into WinRb:master Jan 26, 2021
@Castone22
Copy link
Author

Thanks for the quick merge, any idea when we'll see the release?

@mwrock
Copy link
Member

mwrock commented Jan 27, 2021

just released an 0.6.3 now

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.

3 participants