mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 13:27:46 +00:00
Fix import
This commit is contained in:
@@ -183,8 +183,9 @@ def x509_cert_to_dict(cert: x509.Certificate) -> dict:
|
|||||||
"key_agreement",
|
"key_agreement",
|
||||||
"key_cert_sign",
|
"key_cert_sign",
|
||||||
"crl_sign",
|
"crl_sign",
|
||||||
"encipher_only",
|
# TODO: deal with error: "ValueError: encipher_only is undefined unless key_agreement is true"
|
||||||
"decipher_only",
|
# "encipher_only",
|
||||||
|
# "decipher_only",
|
||||||
]
|
]
|
||||||
if getattr(ext.value, field) is not None
|
if getattr(ext.value, field) is not None
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ import { triggerAutoSyncForSubscriber } from "@app/services/pki-sync/pki-sync-ut
|
|||||||
import { TProjectDALFactory } from "@app/services/project/project-dal";
|
import { TProjectDALFactory } from "@app/services/project/project-dal";
|
||||||
import { getProjectKmsCertificateKeyId } from "@app/services/project/project-fns";
|
import { getProjectKmsCertificateKeyId } from "@app/services/project/project-fns";
|
||||||
|
|
||||||
|
import { getConfig } from "@app/lib/config/env";
|
||||||
import { Knex } from "knex";
|
import { Knex } from "knex";
|
||||||
import { TCertificateAuthorityDALFactory } from "../certificate-authority-dal";
|
import { TCertificateAuthorityDALFactory } from "../certificate-authority-dal";
|
||||||
import { CaStatus, CaType } from "../certificate-authority-enums";
|
import { CaStatus, CaType } from "../certificate-authority-enums";
|
||||||
@@ -43,7 +44,6 @@ import {
|
|||||||
} from "./acme-certificate-authority-types";
|
} from "./acme-certificate-authority-types";
|
||||||
import { cloudflareDeleteTxtRecord, cloudflareInsertTxtRecord } from "./dns-providers/cloudflare";
|
import { cloudflareDeleteTxtRecord, cloudflareInsertTxtRecord } from "./dns-providers/cloudflare";
|
||||||
import { route53DeleteTxtRecord, route53InsertTxtRecord } from "./dns-providers/route54";
|
import { route53DeleteTxtRecord, route53InsertTxtRecord } from "./dns-providers/route54";
|
||||||
import { getConfig } from "@app/lib/config/env";
|
|
||||||
|
|
||||||
type TAcmeCertificateAuthorityFnsDeps = {
|
type TAcmeCertificateAuthorityFnsDeps = {
|
||||||
appConnectionDAL: Pick<TAppConnectionDALFactory, "findById">;
|
appConnectionDAL: Pick<TAppConnectionDALFactory, "findById">;
|
||||||
|
|||||||
Reference in New Issue
Block a user