chocolatey / choco-quickstart-scripts

C4B Quick-Start Guide - Supporting Scripts
Apache License 2.0
16 stars 9 forks source link

Account for FIPS Environments in Setup #153

Open ryanrichter94 opened 2 years ago

ryanrichter94 commented 2 years ago

Is Your Feature Request Related To A Problem? Please describe.

Currently we do not describe that if you are running in a FIPS compliant enviornment you must enable useFipsCompliantHashes in your Chocolatey config.

Describe The Solution. Why is it needed?

Anything run past Step 1 fails if this config value is not set when working in a FIPS compliant enviornment.

Ideal solution is to add a prompt during Step 1 execution to ask if you are running QSG setup in a FIPS compliant enviornment.

Additional Context.

N/A

Related Issues

imm0rtalsupp0rt commented 2 months ago

We could add a switch to Start-C4bSetup, something like -EnableFIPS, that users could run that would enable the feature and, when creating the ClientSetup.ps1 script would check if this feature is enabled and would include the code to enable this feature as part of running ClientSetup.