mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
feat: move step-ca into a plugin (C4)
This commit is contained in:
1 parent
98d367d7e2
commit
b027717c46
128 files changed
+3805
-1781
No files matched your search
@@ -1490,6 +1490,12 @@ export interface PluginFetchInit {
|
||||
allowPrivateHosts?: readonly string[];
|
||||
/** Aborts the request, and a streamed body, when the caller gives up. */
|
||||
signal?: AbortSignal;
|
||||
/**
|
||||
* TLS for a private CA. `ca` trusts this PEM bundle instead of the system
|
||||
* store. `rejectUnauthorized: false` skips verification, only for fetching
|
||||
* a CA root by fingerprint, where the caller checks the answer itself.
|
||||
*/
|
||||
tls?: { ca?: string; rejectUnauthorized?: boolean };
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -878,7 +878,7 @@ export function createFakeContext(
|
||||
requiresSecret: (authType) =>
|
||||
["password", "key", "credential", "agent"].includes(authType),
|
||||
supportsBackground: (authType) =>
|
||||
!["none", "stepca"].includes(authType) &&
|
||||
authType !== "none" &&
|
||||
!auth.sshAuthProviders.some(
|
||||
(provider) =>
|
||||
provider.type === authType && provider.supportsBackground === false,
|
||||
|
||||
Reference in new issue
Block a user