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

(chocolatey-packages) Update security protocol handling in test_all.ps1 for PowerShell 6+ #2593

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robmoss2k
Copy link
Contributor

@robmoss2k robmoss2k commented Dec 10, 2024

Description

The test_all.ps1 script fails to set the appropriate security protocols for PowerShell versions earlier than 6. This pull request backports a fix from chocolatey-au.

Motivation and Context

This change fixes a problem I experienced when testing locally.

How Has this Been Tested?

I tested this locally. Making the change made the error go away and set the security protocols correctly.

Screenshot (if appropriate, usually isn't needed):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Migrated package (a package has been migrated from another repository)

Checklist:

  • My code follows the code style of this repository.
  • My change requires a change to documentation (this usually means the notes in the description of a package).
  • I have updated the documentation accordingly (this usually means the notes in the description of a package).
  • I have updated the package description and it is less than 4000 characters.
  • All files are up to date with the latest Contributing Guidelines
  • The added/modified package passed install/uninstall in the Chocolatey Test Environment(https://github.com/chocolatey-community/chocolatey-test-environment/). Note that we don't support the use of any other environment.
  • The changes only affect a single package (not including meta package).

@AppVeyorBot
Copy link

✅ Package verification completed without issues. PR is now pending human review

@robmoss2k robmoss2k changed the title Update security protocol handling in test_all.ps1 for PowerShell 6+ (chocolatey-packages) Update security protocol handling in test_all.ps1 for PowerShell 6+ Dec 10, 2024
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