feat: add encrypted backup with password protection

Implement encrypted export/import with password dialogs and AES encryption for data security.

Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com>
This commit is contained in:
v0
2026-03-21 11:45:34 +00:00
parent 756a0c5be1
commit 2a97c30530
4 changed files with 840 additions and 712 deletions

View File

@@ -102,8 +102,8 @@ const translations = {
extractedInfo: "已从 URI 中提取信息",
parseFailed: "解析失败",
invalidUri: "无效的 otpauth URI",
exportSuccess: "导出成功",
exportedJson: "令牌已导出为 JSON 文件",
exportSuccess: "导出成功",
exportedJson: "令牌已导出为加密备份文件",
importSuccess: "导入成功",
importedTokens: "个令牌",
importFailed: "导入失败",
@@ -213,8 +213,8 @@ const translations = {
extractedInfo: "Extracted info from URI",
parseFailed: "Parse failed",
invalidUri: "Invalid otpauth URI",
exportSuccess: "Export successful",
exportedJson: "Tokens exported as JSON file",
exportSuccess: "Export successful",
exportedJson: "Tokens exported as encrypted backup file",
importSuccess: "Import successful",
importedTokens: "tokens",
importFailed: "Import failed",