From b1ad938c37f4e175e5509f727d1033b074b134d4 Mon Sep 17 00:00:00 2001 From: Osmium Sorcerer Date: Sun, 22 Mar 2026 18:51:12 +0000 Subject: Integrate the keyring into UI Add "Keyring" tab to the options dialog. The tab displays the keys from the table model (notes and certificates) and lets users create and delete keys. Key generation dialog includes passphare confirmation and a note. --- data/ui/key_generate_dialog.ui | 56 ++++++++++++++++++++++++++++++++++++++++++ data/ui/options_dialog.ui | 41 +++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 data/ui/key_generate_dialog.ui (limited to 'data') diff --git a/data/ui/key_generate_dialog.ui b/data/ui/key_generate_dialog.ui new file mode 100644 index 0000000..29c6234 --- /dev/null +++ b/data/ui/key_generate_dialog.ui @@ -0,0 +1,56 @@ + + + key_generate_dialog + + + + 0 + 0 + 394 + 200 + + + + Generate key + + + + + + Key name: + + + + + + + + + + Passphrase: + + + + + + + + + + Confirm: + + + + + + + + + + QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok + + + + + + diff --git a/data/ui/options_dialog.ui b/data/ui/options_dialog.ui index dbb6171..81f94b7 100644 --- a/data/ui/options_dialog.ui +++ b/data/ui/options_dialog.ui @@ -1117,6 +1117,47 @@ Default: 0. + + + Keyring + + + + + + Manage key pairs used for server authentication. Keys are encrypted with a passphrase that you specify and are unlocked on demand. Server admin must specify your certificate in your staff profile. Certificates don't need to be kept secret. Name can be anything, it's not tied to a staff profile and provided for convenience. + + + true + + + + + + + + + Generate new key + + + + + + + false + + + Delete key + + + + + + + + + + -- cgit