mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
misc: addressed lint
This commit is contained in:
@@ -270,7 +270,11 @@ export const internalCertificateAuthorityServiceFactory = ({
|
||||
signingAlgorithm: alg,
|
||||
keys,
|
||||
extensions: [
|
||||
new x509.BasicConstraintsExtension(true, maxPathLength === -1 ? undefined : maxPathLength, true),
|
||||
new x509.BasicConstraintsExtension(
|
||||
true,
|
||||
maxPathLength === -1 || maxPathLength === null ? undefined : maxPathLength,
|
||||
true
|
||||
),
|
||||
// eslint-disable-next-line no-bitwise
|
||||
new x509.KeyUsagesExtension(x509.KeyUsageFlags.keyCertSign | x509.KeyUsageFlags.cRLSign, true),
|
||||
await x509.SubjectKeyIdentifierExtension.create(keys.publicKey)
|
||||
|
||||
Reference in New Issue
Block a user