implement patches
This commit is contained in:
+2
-2
@@ -25,8 +25,8 @@ class User(db.Model, UserMixin):
|
||||
totp_secret = db.Column(db.String(64), nullable=True)
|
||||
totp_enabled = db.Column(db.Boolean, default=False, nullable=False)
|
||||
# ECDH P-256 sharing keypair
|
||||
# Public key: raw uncompressed point (65 bytes), base64-encoded, stored plaintext
|
||||
sharing_public_key = db.Column(db.Text, nullable=True)
|
||||
# Public key: raw uncompressed point (65 bytes), base64-encoded (~88 chars), stored plaintext
|
||||
sharing_public_key = db.Column(db.String(128), nullable=True)
|
||||
# Private key: JWK, AES-256-GCM encrypted with the user's vault key
|
||||
sharing_private_key_enc = db.Column(db.Text, nullable=True)
|
||||
sharing_private_key_iv = db.Column(db.String(64), nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user