dsccommunity / SChannelDsc

MIT License
12 stars 6 forks source link

CipherSuites: Draft fix issue #33 #34

Open holentommy opened 1 year ago

holentommy commented 1 year ago

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


This change is Reviewable

johlju commented 1 year ago

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

johlju commented 1 year ago

The build and test pipeline should work now.

johlju commented 1 year ago

The tests are failing for CipherSuites.

holentommy commented 1 year ago

The tests are failing for CipherSuites.

I'll have a look.

ykuijs commented 1 year ago

There are two issues:

ykuijs commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

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