Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Fix 20260701120200_add-mfa-recovery-codes to use skipHsmLicenseCheck
Carlos Monastyrskib6c94ebec4dd
diff --git a/backend/src/db/migrations/20260701120200_add-mfa-recovery-codes.ts b/backend/src/db/migrations/20260701120200_add-mfa-recovery-codes.tsindex eb966f25b0..be2562617d 100644--- a/backend/src/db/migrations/20260701120200_add-mfa-recovery-codes.ts+++ b/backend/src/db/migrations/20260701120200_add-mfa-recovery-codes.ts@@ -24,7 +24,12 @@ const startRootEncryptor = async (knex: Knex) => {const kmsRootConfigDAL = kmsRootConfigDALFactory(knex);const envConfig = await getMigrationEnvConfig(superAdminDAL, hsmService, kmsRootConfigDAL);const keyStore = inMemoryKeyStore();- const { kmsService } = await getMigrationEncryptionServices({ envConfig, keyStore, db: knex });+ const { kmsService } = await getMigrationEncryptionServices({+ envConfig,+ keyStore,+ db: knex,+ skipHsmLicenseCheck: true+ });return kmsService.encryptWithRootKey();};