diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-03-14 17:59:22 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-03-15 03:00:05 +0100 |
commit | d2213e7eba2ec8b478c879397dc0de64d293f367 (patch) | |
tree | 5e32ece325fa11f13117b2c9e5966d7142826af4 /packages/shared/src/index.ts | |
parent | feat(renderer): Back and forward mouse buttons (diff) | |
download | sophie-d2213e7eba2ec8b478c879397dc0de64d293f367.tar.gz sophie-d2213e7eba2ec8b478c879397dc0de64d293f367.tar.zst sophie-d2213e7eba2ec8b478c879397dc0de64d293f367.zip |
feat: Temporary certificate acceptance backend
We use the 'certificate-error' event of webContents to detect
certificate verification errors and display a message to manually trust
the certificate.
Certificates are trusted per profile and only until Sophie is restarted.
We still need to build the associated UI, the current one is just a
rough prototype for debugging.
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/shared/src/index.ts')
-rw-r--r-- | packages/shared/src/index.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/shared/src/index.ts b/packages/shared/src/index.ts index fa3fbfd..f7c5bcf 100644 --- a/packages/shared/src/index.ts +++ b/packages/shared/src/index.ts | |||
@@ -30,6 +30,9 @@ export { ServiceAction } from './schemas/ServiceAction'; | |||
30 | 30 | ||
31 | export { ThemeSource } from './schemas/ThemeSource'; | 31 | export { ThemeSource } from './schemas/ThemeSource'; |
32 | 32 | ||
33 | export type { CertificateSnapshotIn } from './stores/Certificate'; | ||
34 | export { default as Certificate } from './stores/Certificate'; | ||
35 | |||
33 | export type { | 36 | export type { |
34 | GlobalSettingsSnapshotIn, | 37 | GlobalSettingsSnapshotIn, |
35 | GlobalSettingsSnapshotOut, | 38 | GlobalSettingsSnapshotOut, |
@@ -61,6 +64,9 @@ export { | |||
61 | defineServiceSettingsModel, | 64 | defineServiceSettingsModel, |
62 | } from './stores/ServiceSettingsBase'; | 65 | } from './stores/ServiceSettingsBase'; |
63 | 66 | ||
67 | export type { ServiceStateSnapshotIn } from './stores/ServiceState'; | ||
68 | export { default as ServiceState } from './stores/ServiceState'; | ||
69 | |||
64 | export type { | 70 | export type { |
65 | SharedStoreListener, | 71 | SharedStoreListener, |
66 | SharedStoreSnapshotIn, | 72 | SharedStoreSnapshotIn, |