Skip to content

Commit

Permalink
Uses the Title of the entry as key Comment if key Comment is not avai…
Browse files Browse the repository at this point in the history
…lable.
  • Loading branch information
KuttKatrea committed Aug 24, 2022
1 parent 0f52680 commit 1d59e9b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions KeeAgent/KeeAgentExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,11 @@ public ISshKey AddEntry(PwEntry entry,

try {
var key = entry.GetSshKey();

if (String.IsNullOrEmpty(key.Comment)) {
key.Comment = entry.Strings.GetSafe("Title").ReadString();
}

string db_name = "<Unknown database>";

try {
Expand Down

0 comments on commit 1d59e9b

Please sign in to comment.