feat(server::db): add share_salt column to operator table

Each operator row now stores a 32-byte random salt used to derive the
per-operator share encryption key from their passphrase (Argon2 KDF).
This commit is contained in:
CleverWild
2026-06-12 19:42:49 +02:00
committed by Skipper
parent 928799fa07
commit 8159902027
3 changed files with 3 additions and 0 deletions

View File

@@ -285,6 +285,7 @@ pub struct Operator {
pub id: OperatorId,
pub share: Vec<u8>,
pub share_nonce: Vec<u8>,
pub share_salt: Vec<u8>,
pub created_at: SqliteTimestamp,
pub updated_at: SqliteTimestamp,
}