From 2fd8837970dc9bfc3ca13c1b30132f0eea3fd5b7 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 1 Apr 2023 02:45:50 +0200 Subject: Show modal dialog to select default encryption if unknown --- main/data/default_encryption_dialog.ui | 78 ++++++++++++++++++++++++++++++++++ main/data/gresource.xml | 1 + 2 files changed, 79 insertions(+) create mode 100644 main/data/default_encryption_dialog.ui (limited to 'main/data') diff --git a/main/data/default_encryption_dialog.ui b/main/data/default_encryption_dialog.ui new file mode 100644 index 00000000..60149e06 --- /dev/null +++ b/main/data/default_encryption_dialog.ui @@ -0,0 +1,78 @@ + + + + + + True + True + 320 + 260 + + + + + + False + vertical + + + True + False + vertical + + + True + False + No default end-to-end encryption method has been previously selected for this conversation. XMPP defines some XEP for end-to-end encryption that Dino supports. + +It is strongly recommended that one of the following end-to-end encryption methods below is selected before sending a message. + +TAKE INTO ACCOUNT UNENCRYPTED CONVERSATIONS COULD BE READ BY THIRD PARTIES. + +These settings can be later changed from the Settings menu. + True + + + + + OMEMO (XEP-0384) + True + True + False + False + + + + + OpenPGP (XEP-0027) + True + True + False + False + omemo + + + + + Unencrypted (not recommended) + True + True + False + False + omemo + + + + + Accept + True + True + True + + + + + + + + diff --git a/main/data/gresource.xml b/main/data/gresource.xml index 6d9febab..c8a3b014 100644 --- a/main/data/gresource.xml +++ b/main/data/gresource.xml @@ -16,6 +16,7 @@ conversation_list_titlebar_csd.ui conversation_row.ui conversation_view.ui + default_encryption_dialog.ui dino-conversation-list-placeholder-arrow.svg file_default_widget.ui file_send_overlay.ui -- cgit v1.2.3