mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-16 20:56:03 +00:00
a049a80e04
Add signed, encrypted recovery archives with revision checks, account-certified device enrollment and key rotation, and historical signer lookup. Include the database migration, API endpoints, tests, and updated E2EE documentation.
19 lines
573 B
C#
19 lines
573 B
C#
namespace Govor.Domain.Models.Users.Crypto;
|
|
|
|
public class UserCryptoSession
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
public Guid UserSessionId { get; set; }
|
|
public UserSession UserSession { get; set; }
|
|
|
|
public byte[] PublicIdentityKey { get; set; }
|
|
public string? AccountIdentityKey { get; set; }
|
|
public string? AccountSignature { get; set; }
|
|
public long Generation { get; set; }
|
|
public string? PreviousFingerprint { get; set; }
|
|
|
|
public SignedPreKey SignedPreKey { get; set; }
|
|
public ICollection<OneTimePreKey> OneTimePreKeys { get; set; }
|
|
}
|