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
Address PR comments
Carlos Monastyrski71bd11ffe6ae
diff --git a/backend/src/ee/services/pki-scep/pki-scep-fns.ts b/backend/src/ee/services/pki-scep/pki-scep-fns.tsindex abf2fd5abe..ecabfbec79 100644--- a/backend/src/ee/services/pki-scep/pki-scep-fns.ts+++ b/backend/src/ee/services/pki-scep/pki-scep-fns.ts@@ -141,7 +141,7 @@ export type TScepRenewalAuthResult = { authorized: true } | { authorized: false;const DN_WHITESPACE_RE = new RE2("\\s+", "g");-export const normalizeX500Name = (name: x509.Name): string => {+const normalizeX500Name = (name: x509.Name): string => {const rdns = name.toJSON();const canonicalRdns = rdns.map((rdn) => {@@ -160,7 +160,7 @@ export const normalizeX500Name = (name: x509.Name): string => {};// SANs are an unordered set in RFC 5280; normalize each entry and sort for comparison.-export const normalizeSubjectAltNames = (ext: x509.SubjectAlternativeNameExtension | null | undefined): string => {+const normalizeSubjectAltNames = (ext: x509.SubjectAlternativeNameExtension | null | undefined): string => {if (!ext) return "";const pairs: string[] = [];for (const item of ext.names.items) {diff --git a/backend/src/services/certificate-profile/certificate-profile-service.ts b/backend/src/services/certificate-profile/certificate-profile-service.tsindex 7f54dc1456..3d01589139 100644--- a/backend/src/services/certificate-profile/certificate-profile-service.ts+++ b/backend/src/services/certificate-profile/certificate-profile-service.ts@@ -321,7 +321,7 @@ const convertDalToService = (dalResult: Record<string, unknown>): TCertificatePr} as TCertificateProfile;};-export const requiresIssueCertForEnrollmentConfig = (data: {+const requiresIssueCertForEnrollmentConfig = (data: {enrollmentType?: EnrollmentType;estConfig?: unknown;acmeConfig?: unknown;@@ -996,9 +996,6 @@ export const certificateProfileServiceFactory = ({}}- if (profile.estConfig) {- profile.estConfig.passphrase = "";- }if (profile.enrollmentType === EnrollmentType.ACME && profile.acmeConfig) {profile.acmeConfig.directoryUrl = buildUrl(profile.id, "/directory");if (profile.acmeConfig.encryptedEabSecret) {