mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-16 20:56:03 +00:00
Add SRP password recovery and E2EE reset
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.
This commit is contained in:
@@ -8,6 +8,10 @@ public class User
|
||||
public string Username {get; set;}
|
||||
public string Description {get; set;}
|
||||
public string PasswordHash {get; set;}
|
||||
public string? SrpSalt { get; set; }
|
||||
public string? SrpIdentity { get; set; }
|
||||
public string? SrpVerifier { get; set; }
|
||||
public long CredentialVersion { get; set; }
|
||||
public Guid IconId {get; set;}
|
||||
public DateOnly CreatedOn {get; set;}
|
||||
public DateTime WasOnline {get; set;}
|
||||
@@ -22,4 +26,4 @@ public class User
|
||||
|
||||
return Id == user.Id;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user