diff --git a/Commander/Commands.cs b/Commander/Commands.cs index ff12da3..a2d57f6 100644 --- a/Commander/Commands.cs +++ b/Commander/Commands.cs @@ -284,7 +284,7 @@ public NotConnectedCliContext(bool autologin) _auth = new Auth(ui, storage) { - Endpoint = {DeviceName = "Commander C#", ClientVersion = "c15.0.0"} + Endpoint = {DeviceName = "Commander C#", ClientVersion = "c16.0.0"} }; Commands.Add("login", new ParsableCommand diff --git a/KeeperSdk/vault/VaultOnlineFunctions.cs b/KeeperSdk/vault/VaultOnlineFunctions.cs index 5498f6f..ae30ea1 100644 --- a/KeeperSdk/vault/VaultOnlineFunctions.cs +++ b/KeeperSdk/vault/VaultOnlineFunctions.cs @@ -150,7 +150,7 @@ public static async Task AddRecordToFolder(this VaultOnline vault, recordAddProto.FolderUid = ByteString.CopyFrom(folderUid.Base64UrlDecode()); if (folderKey != null) { - recordAddProto.RecordKey = + recordAddProto.FolderKey = ByteString.CopyFrom(CryptoUtils.EncryptAesV2(record.RecordKey, folderKey)); } }