Update models (#2159)

This commit is contained in:
Leendert de Borst
2026-08-01 21:32:02 +02:00
parent df9d4e1678
commit ecff15a384
2 changed files with 7 additions and 1 deletions
@@ -65,7 +65,7 @@ public static class EmailAccessHelper
return [];
}
// Holding any access key on the manifest is proof of access: AccountKey on a root manifest, GrantKey on a shared folder
// Holding any access key on the manifest is proof of access: AccountKey on a root manifest, GrantKey on a shared folder
// (owner self-grant and recipient alike).
var manifestIds = claims.Select(c => c.ManifestId).Distinct().ToList();
var keyedManifestIds = (await context.VaultManifestAccessKeys
@@ -18,6 +18,12 @@ public class VaultKeyResponse
/// <summary>Gets or sets the Account Key encrypted with the KEK derived from the unlock method.</summary>
public required string EncryptedAccountKey { get; set; }
/// <summary>Gets or sets the account private key encrypted with the Account Key.</summary>
public string? EncryptedAccountPrivateKey { get; set; }
/// <summary>Gets or sets the account public key.</summary>
public string? AccountPublicKey { get; set; }
/// <summary>
/// Gets or sets the encrypted VEK.
/// </summary>