Skip to content

Commit 7e54773

Browse files
authored
Add summary comments for MasterKeyWrappedUserKey in response models (#6531)
1 parent b4d6f3c commit 7e54773

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/Core/KeyManagement/Models/Api/Response/MasterPasswordUnlockResponseModel.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ namespace Bit.Core.KeyManagement.Models.Api.Response;
77
public class MasterPasswordUnlockResponseModel
88
{
99
public required MasterPasswordUnlockKdfResponseModel Kdf { get; init; }
10+
/// <summary>
11+
/// The user's symmetric key encrypted with their master key.
12+
/// Also known as "MasterKeyWrappedUserKey"
13+
/// </summary>
1014
[EncryptedString] public required string MasterKeyEncryptedUserKey { get; init; }
1115
[StringLength(256)] public required string Salt { get; init; }
1216
}

src/Core/KeyManagement/Models/Data/MasterPasswordUnlockAndAuthenticationData.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ public class MasterPasswordUnlockAndAuthenticationData
1313

1414
public required string Email { get; set; }
1515
public required string MasterKeyAuthenticationHash { get; set; }
16+
/// <summary>
17+
/// The user's symmetric key encrypted with their master key.
18+
/// Also known as "MasterKeyWrappedUserKey"
19+
/// </summary>
1620
public required string MasterKeyEncryptedUserKey { get; set; }
1721
public string? MasterPasswordHint { get; set; }
1822

0 commit comments

Comments
 (0)