SSH Agent: Support old unencrypted DSA and RSA keys

This commit is contained in:
Toni Spets committed 2018-02-04 15:59:08 +02:00
1 parent 90eea14b8c
commit cbb70cdc7c
9 files changed
+413 -54

No files matched your search

+4
View File
@@ -444,6 +444,10 @@ bool EditEntryWidget::getOpenSSHKey(OpenSSHKey& key)
return false;
}
if (key.comment().isEmpty()) {
key.setComment(m_entry->username());
}
return true;
}