Skip to content

CipherSuites: Draft fix issue #33#34

Draft
holentommy wants to merge 8 commits intodsccommunity:mainfrom
holentommy:master
Draft

CipherSuites: Draft fix issue #33#34
holentommy wants to merge 8 commits intodsccommunity:mainfrom
holentommy:master

Conversation

@holentommy
Copy link

@holentommy holentommy commented Sep 28, 2023

Attempting to resolve issue 'CipherSuites: Using 'Absent' for named CipherSuites on default installations does not work. #33'

Pull Request (PR) description

Utilizing Get-TlsCiperSuite, Enable-TlsCiperSuite, and Disable-TlsCipherSuite for Windows Server 2016 and newer.
For Windows Server 2012 R2 and older, using registry but if 'HKLM:\SOFTWARE\Policies\Microsoft\Cryptography\Configuration\SSL\00010002:Functions' isn't set utilize 'HKLM:\SYSTEM\CurrentControlSet\Control\Cryptography\Configuration\Local\SSL\00010002:Functions' for Get-TargetResource.

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry to the change log under the Unreleased section of the file CHANGELOG.md.
    Entry should say what was changed and how that affects users (if applicable), and
    reference the issue being resolved (if applicable).
  • Resource documentation added/updated in README.md.
  • Resource parameter descriptions added/updated in README.md, schema.mof and comment-based
    help.
  • Comment-based help added/updated.
  • Localization strings added/updated in all localization files as appropriate.
  • Examples appropriately added/updated.
  • Unit tests added/updated. See DSC Community Testing Guidelines.
  • Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
  • New/changed code adheres to DSC Community Style Guidelines.

This change is Reviewable

Attempting to resolve issue 'CipherSuites: Using 'Absent' for named CipherSuites on default installations does not work. dsccommunity#33'
@johlju
Copy link
Member

johlju commented Sep 29, 2023

I can send in a PR this weekend that resolves the build pipeline. It is using the wrong VM image.

@johlju johlju changed the title Draft fix issue #33 CipherSuites: Draft fix issue #33 Sep 30, 2023
@johlju
Copy link
Member

johlju commented Sep 30, 2023

The build and test pipeline should work now.

@johlju
Copy link
Member

johlju commented Sep 30, 2023

The tests are failing for CipherSuites.

@holentommy
Copy link
Author

The tests are failing for CipherSuites.

I'll have a look.

Including 'Absent' for Windows Server 2012 R2 and older.
@ykuijs
Copy link
Member

ykuijs commented Oct 2, 2023

There are two issues:

  • The High Quality Resource Module (HQRM) tests are failing because you aren't following the code guidelines. Check this log and search for "[-]" to see the failing rules
  • The unit tests are failing for the Cipher Suite resource. You can run these tests locally as well, by running the following command in the root of your local clone .\build.ps1 -Tasks Test

@ykuijs
Copy link
Member

ykuijs commented Oct 3, 2023

Almost there with the HQRM tests, there are a few open braces that are placed behind the statement but should be placed on a new line: Log file

@ykuijs
Copy link
Member

ykuijs commented Oct 9, 2023

@holentommy All failing HQRM tests are now resolved. That just leaves the failing unit tests. Please the this log and search for "[-]" to see which tests are failing and fix them.

FYI: You can run (and troubleshoot) the tests locally by running the following command in your local clone: .\build.ps1 -ResolveDependency -Tasks Build, Test

@holentommy
Copy link
Author

I have not had the time to follow this up, will do as soon as there is more time.

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.

CipherSuites: Using 'Absent' for named CipherSuites on default installations does not work.

3 participants