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
test(secret-rotation): drop the FIPS assertion from the Stripe JWE test
Calvin13fab39cb4f2
diff --git a/backend/src/ee/services/secret-rotation-v2/stripe-api-key/stripe-api-key-jwe.test.ts b/backend/src/ee/services/secret-rotation-v2/stripe-api-key/stripe-api-key-jwe.test.tsindex bbbc149698..97b63de42b 100644--- a/backend/src/ee/services/secret-rotation-v2/stripe-api-key/stripe-api-key-jwe.test.ts+++ b/backend/src/ee/services/secret-rotation-v2/stripe-api-key/stripe-api-key-jwe.test.ts@@ -40,11 +40,7 @@ const encryptJwe = (};describe("decryptStripeJwe", () => {- it("round-trips both algorithms Stripe may use, under FIPS", async () => {- // The unit suite runs with --force-fips. OAEP with SHA-1 is the algorithm Stripe returns as- // `RSA-OAEP`, and this assertion is what stops a toolchain bump from breaking live mode silently.- expect(crypto.getFips()).toBe(1);-+ it("round-trips both algorithms Stripe may use", async () => {const { publicKey, privateKey } = await generateStripeEncryptionKeyPair();for (const alg of ["RSA-OAEP", "RSA-OAEP-256"]) {