Ensure application settings in tests adhere to FIPS requirements
What does this MR do and why?
When running tests in FIPS mode, ApplicationSetting
by default has
invalid SSH key size restrictions. We now ensure the FactoryBot
creates a ApplicationSetting
that conforms to FIPS requirements.
This can be tested via:
FIPS_MODE=true bundle exec rspec spec/services/application_settings/update_service_spec.rb spec/models/application_setting_spec.rb
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Stan Hu