aboutsummaryrefslogtreecommitdiff
path: root/data/ui/options_dialog.ui
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-03-22 18:51:12 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-03-29 22:22:25 +0000
commitb1ad938c37f4e175e5509f727d1033b074b134d4 (patch)
tree702b41a851550c14104599905907fa659c0d39b7 /data/ui/options_dialog.ui
parent4274f5036004ae6d3db0e88c8e28eb78c6e37d27 (diff)
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.
Diffstat (limited to 'data/ui/options_dialog.ui')
-rw-r--r--data/ui/options_dialog.ui41
1 files changed, 41 insertions, 0 deletions
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.</string>
</item>
</layout>
</widget>
+ <widget class="QWidget" name="keyring_tab">
+ <attribute name="title">
+ <string>Keyring</string>
+ </attribute>
+ <layout class="QVBoxLayout" name="verticalLayout_8">
+ <item>
+ <widget class="QLabel" name="keyring_info">
+ <property name="text">
+ <string>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. </string>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="key_buttons_layout">
+ <item>
+ <widget class="QPushButton" name="key_generate">
+ <property name="text">
+ <string>Generate new key</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="key_delete">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Delete key</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QTableView" name="keyring_table"/>
+ </item>
+ </layout>
+ </widget>
</widget>
</item>
<item>