Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: revert bash mode for SPIFFE auth - SPIFFE IDs are hierarchical URIs where / is a meaningful path separator

Devin AI07c6ac144b44
diff --git a/backend/src/services/identity-spiffe-auth/identity-spiffe-auth-fns.ts b/backend/src/services/identity-spiffe-auth/identity-spiffe-auth-fns.ts
index 5887121acb..cb0a41b628 100644
--- a/backend/src/services/identity-spiffe-auth/identity-spiffe-auth-fns.ts
+++ b/backend/src/services/identity-spiffe-auth/identity-spiffe-auth-fns.ts
@@ -24,7 +24,7 @@ export const doesSpiffeIdMatchPattern = (spiffeId: string, patterns: string): bo
.map((p) => p.trim())
.filter(Boolean);
- return patternList.some((pattern) => picomatch.isMatch(spiffeId, pattern, { bash: true }));
+ return patternList.some((pattern) => picomatch.isMatch(spiffeId, pattern));
};
const BUNDLE_FETCH_TIMEOUT_MS = 10_000;