From edcc58383a30a0e1b9f6252ab2c56e3b04b8df71 Mon Sep 17 00:00:00 2001 From: Kenneth Jenkins <51246568+kenjenkins@users.noreply.github.com> Date: Wed, 17 Apr 2024 16:07:46 -0700 Subject: [PATCH] show new client cert UI only on macOS and Windows (#407) Rework the connection page so that the new OS certificate store client cert options show only in macOS and Windows builds. (The underlying CLI options are not supported on Linux.) --- src/renderer/pages/ConnectForm.tsx | 359 ++++++++++++++--------------- 1 file changed, 176 insertions(+), 183 deletions(-) diff --git a/src/renderer/pages/ConnectForm.tsx b/src/renderer/pages/ConnectForm.tsx index 51e3bfd..5873b18 100644 --- a/src/renderer/pages/ConnectForm.tsx +++ b/src/renderer/pages/ConnectForm.tsx @@ -345,6 +345,181 @@ const ConnectForm: FC = () => { const clientCertFromStoreEnabled = connection?.clientCertFromStore !== undefined; + const manualClientCertSection = ( + <> + {showCertInput && ( + + + + )} + {showCertInput && ( + + Client Certificate Text +