PyOxidizer icon indicating copy to clipboard operation
PyOxidizer copied to clipboard

Cannot pass `-fips` parameter to candle.exe

Open dantebben opened this issue 2 years ago • 0 comments

On a Window 10 system that is FIPS enabled, I cannot use pyoxidizer to create the MSI file.

Steps to reproduce:

  1. create new Python virtual environment
  2. Install pyoxidizer into virtual environment
  3. create a new pyoxidizer project with pyoxidizer init-config-file test
  4. Switch to the test folder
  5. Try to build the MSI with pyoxidizer build msi-installer
  6. Fails with an error generated by candle.exe that the -fips parameter must be passed, or the <FipsCompliant>true</FipsComplaint> property should be added to the .wixproj file.

How can I get pyoxidizer to set/pass this parameter? Note, these steps succeed on a system that is not FIPS enabled, but our environment requires FIPS.

dantebben avatar Feb 20 '23 21:02 dantebben