Save SSH credentials with keyring module

The keyring module will save the username and password of the SSH
connection to the operating system password storage.
This commit is contained in:
2023-01-10 01:12:45 +01:00
parent 2039f6cfe2
commit 7a7741e60b
13 changed files with 165 additions and 69 deletions

View File

@@ -9,8 +9,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>275</width>
<height>170</height>
<width>363</width>
<height>163</height>
</rect>
</property>
<property name="windowTitle">
@@ -48,10 +48,17 @@
</widget>
</item>
<item>
<widget class="QWidget" name="wid_keys" native="true"/>
<widget class="QCheckBox" name="cbx_save_password">
<property name="toolTip">
<string>Username and password will be saved in secured operating systems's password storage.</string>
</property>
<property name="text">
<string>Save username and password</string>
</property>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<widget class="QDialogButtonBox" name="btn_box">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -65,7 +72,7 @@
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<sender>btn_box</sender>
<signal>accepted()</signal>
<receiver>diag_sshauth</receiver>
<slot>accept()</slot>
@@ -81,7 +88,7 @@
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<sender>btn_box</sender>
<signal>rejected()</signal>
<receiver>diag_sshauth</receiver>
<slot>reject()</slot>