aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/src/index.ts
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-03-14 17:59:22 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-03-15 03:00:05 +0100
commitd2213e7eba2ec8b478c879397dc0de64d293f367 (patch)
tree5e32ece325fa11f13117b2c9e5966d7142826af4 /packages/shared/src/index.ts
parentfeat(renderer): Back and forward mouse buttons (diff)
downloadsophie-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.ts6
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
31export { ThemeSource } from './schemas/ThemeSource'; 31export { ThemeSource } from './schemas/ThemeSource';
32 32
33export type { CertificateSnapshotIn } from './stores/Certificate';
34export { default as Certificate } from './stores/Certificate';
35
33export type { 36export 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
67export type { ServiceStateSnapshotIn } from './stores/ServiceState';
68export { default as ServiceState } from './stores/ServiceState';
69
64export type { 70export type {
65 SharedStoreListener, 71 SharedStoreListener,
66 SharedStoreSnapshotIn, 72 SharedStoreSnapshotIn,