mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-16 20:56:03 +00:00
a3401ceedf
Add proof-based password registration, login, enrollment, and change flows, with rate limiting and encrypted recovery-key envelopes. Support explicit E2EE identity resets while preserving historical signer verification, and document and test the new recovery workflows.
13 lines
413 B
C#
13 lines
413 B
C#
namespace Govor.Domain.Models.Users.Crypto;
|
|
|
|
public sealed class E2eeIdentityChange
|
|
{
|
|
public Guid UserId { get; set; }
|
|
public long Epoch { get; set; }
|
|
public string PreviousIdentityKey { get; set; } = "";
|
|
public string IdentityKey { get; set; } = "";
|
|
public long ChangedAt { get; set; }
|
|
public Guid? PreviousSessionId { get; set; }
|
|
public string? PreviousDeviceKeyJson { get; set; }
|
|
}
|