-
Notifications
You must be signed in to change notification settings - Fork 88
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
(PE-36348) Enable legacy openssl algos in PE Installer runtime to support Bolt's WinRM transport #699
Merged
Merged
(PE-36348) Enable legacy openssl algos in PE Installer runtime to support Bolt's WinRM transport #699
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
039c2ed
(PE-36348) Set use_legacy_openssl_algos in pe-installer-runtime-main …
justinstoller b85bf0f
(PE-36348) Honor use_legacy_openssl_algos in openssl 3 configure flags
justinstoller c7ddc67
(PE-36348) Activate legacy section in openssl.cnf if needed
justinstoller d993409
Revert "(PE-36078) Use fork of ntlm with md4 ruby algo"
justinstoller 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 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
This file contains 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
24 changes: 24 additions & 0 deletions
24
resources/patches/openssl/openssl-3-activate-legacy-algos.patch
This file contains 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,24 @@ | ||
diff --git a/apps/openssl.cnf b/apps/openssl.cnf | ||
index 12bc408..8ab8aa7 100644 | ||
--- a/apps/openssl.cnf | ||
+++ b/apps/openssl.cnf | ||
@@ -56,6 +56,7 @@ providers = provider_sect | ||
# List of providers to load | ||
[provider_sect] | ||
default = default_sect | ||
+legacy = legacy_sect | ||
# The fips section name should match the section name inside the | ||
# included fipsmodule.cnf. | ||
# fips = fips_sect | ||
@@ -69,7 +70,10 @@ default = default_sect | ||
# OpenSSL may not work correctly which could lead to significant system | ||
# problems including inability to remotely access the system. | ||
[default_sect] | ||
-# activate = 1 | ||
+activate = 1 | ||
+ | ||
+[legacy_sect] | ||
+activate = 1 | ||
|
||
|
||
#################################################################### |
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.
This ticket (https://tickets.puppetlabs.com/browse/PE-36078) enumerates the changes need, and it says "no-des" should be included when legacy algos are not enabled, but.... it wasn't included before.
I added it thinking it might have been an oversight in the original Puppet 8 work, but would love to know if this is overkill and/or actively not wanted in the puppet-runtime. /cc @joshcooper
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.
It like you read my mind 😁 We had plans on adding
no-des
in https://tickets.puppetlabs.com/browse/PA-5587, but put it on hold when PE started failing due tono-md4
. But now that you've detangled that, I'm 👍 to this PR