Merge pull request #4245 from Infisical/daniel/fips-improvements

fix(fips): increased image size and migrations
This commit is contained in:
Daniel Hougaard
2025-07-25 23:40:27 +04:00
committed by GitHub
4 changed files with 20 additions and 13 deletions
@@ -53,7 +53,7 @@ export const getMigrationEnvConfig = async (superAdminDAL: TSuperAdminDALFactory
let envCfg = Object.freeze(parsedEnv.data);
const fipsEnabled = await crypto.initialize(superAdminDAL);
const fipsEnabled = await crypto.initialize(superAdminDAL, envCfg);
// Fix for 128-bit entropy encryption key expansion issue:
// In FIPS it is not ideal to expand a 128-bit key into 256-bit. We solved this issue in the past by creating the ROOT_ENCRYPTION_KEY.