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
Minor doc improvement
Carlos Monastyrski36d49865239d
diff --git a/docs/documentation/platform/pki/concepts/pqc-algorithms.mdx b/docs/documentation/platform/pki/concepts/pqc-algorithms.mdxindex b5bf60b7fe..bae68912ba 100644--- a/docs/documentation/platform/pki/concepts/pqc-algorithms.mdx+++ b/docs/documentation/platform/pki/concepts/pqc-algorithms.mdx@@ -62,6 +62,4 @@ You can create a Certificate Authority with a PQC key algorithm through the InfiWhen using PQC algorithms, keep the following constraints in mind:- **Signature-only**: PQC algorithms are digital signature algorithms. Key usages like `keyEncipherment`, `keyAgreement`, and `dataEncipherment` are not valid for PQC certificates. Requesting these usages will return an error.-- **No PKCS#12 export**: PQC certificates cannot be exported in PKCS#12 (.p12/.pfx) format. Use PEM format instead.- **Larger keys and signatures**: PQC keys and signatures are significantly larger than RSA/ECDSA equivalents. Plan for increased certificate sizes in bandwidth-constrained environments.-- **OpenSSL 3.5+ required**: PQC operations require OpenSSL 3.5 or later. Infisical ships with a dedicated PQC-capable OpenSSL installation for these operations.diff --git a/frontend/src/pages/cert-manager/CertificatesPage/components/useCertificatePolicy.ts b/frontend/src/pages/cert-manager/CertificatesPage/components/useCertificatePolicy.tsindex 10d50e88b2..f654532e13 100644--- a/frontend/src/pages/cert-manager/CertificatesPage/components/useCertificatePolicy.ts+++ b/frontend/src/pages/cert-manager/CertificatesPage/components/useCertificatePolicy.ts@@ -2,8 +2,10 @@ import { useEffect, useMemo, useState } from "react";import { UseFormSetValue, UseFormWatch } from "react-hook-form";import {+ certKeyAlgorithms,EXTENDED_KEY_USAGES_OPTIONS,- KEY_USAGES_OPTIONS+ KEY_USAGES_OPTIONS,+ SIGNATURE_ALGORITHMS_OPTIONS} from "@app/hooks/api/certificates/constants";import {CertPolicyState,@@ -107,23 +109,20 @@ export const useCertificatePolicy = (}, [constraints.allowedExtendedKeyUsages]);const availableSignatureAlgorithms = useMemo(() => {- return constraints.allowedSignatureAlgorithms.map((templateAlgorithm) => {- const apiAlgorithm = mapPolicySignatureAlgorithmToApi(templateAlgorithm);- return {- value: apiAlgorithm,- label: apiAlgorithm- };- });+ const allowed = new Set(+ constraints.allowedSignatureAlgorithms.map(mapPolicySignatureAlgorithmToApi)+ );+ return SIGNATURE_ALGORITHMS_OPTIONS.filter((opt) => allowed.has(opt.value)).map((opt) => ({+ value: opt.value as string,+ label: opt.label+ }));}, [constraints.allowedSignatureAlgorithms]);const availableKeyAlgorithms = useMemo(() => {- return constraints.allowedKeyAlgorithms.map((templateAlgorithm) => {- const apiAlgorithm = mapPolicyKeyAlgorithmToApi(templateAlgorithm);- return {- value: apiAlgorithm,- label: apiAlgorithm- };- });+ const allowed = new Set(constraints.allowedKeyAlgorithms.map(mapPolicyKeyAlgorithmToApi));+ return certKeyAlgorithms+ .filter((opt) => allowed.has(opt.value))+ .map((opt) => ({ value: opt.value as string, label: opt.label }));}, [constraints.allowedKeyAlgorithms]);const resetConstraints = () => {