mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-18 13:24:59 +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:
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Govor.Domain.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class PreserveResetSigners : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "PreviousDeviceKeyJson",
|
||||
table: "E2eeIdentityChanges",
|
||||
type: "character varying(10000)",
|
||||
maxLength: 10000,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "PreviousSessionId",
|
||||
table: "E2eeIdentityChanges",
|
||||
type: "uuid",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PreviousDeviceKeyJson",
|
||||
table: "E2eeIdentityChanges");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PreviousSessionId",
|
||||
table: "E2eeIdentityChanges");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user