Skip to content

Commit

Permalink
Record types: add typed record to shared folder
Browse files Browse the repository at this point in the history
  • Loading branch information
sk-keeper committed Dec 15, 2021
1 parent 1e7aa22 commit aebb29d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Commander/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<LoginOptions>
Expand Down
2 changes: 1 addition & 1 deletion KeeperSdk/vault/VaultOnlineFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public static async Task<KeeperRecord> AddRecordToFolder(this VaultOnline vault,
recordAddProto.FolderUid = ByteString.CopyFrom(folderUid.Base64UrlDecode());
if (folderKey != null)
{
recordAddProto.RecordKey =
recordAddProto.FolderKey =
ByteString.CopyFrom(CryptoUtils.EncryptAesV2(record.RecordKey, folderKey));
}
}
Expand Down

0 comments on commit aebb29d

Please sign in to comment.