[PR #1945] Feat: file password protection #2605

Open
opened 2026-10-14 21:03:24 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/1945
Author: @MrMirDan
Created: 10/22/2025
Status: 🔄 Open

Base: dev ← Head: feat/file-password-protection


📝 Commits (10+)

  • b926477 feat: file password protection v1
  • 0ed3ae1 removed unnecessary method
  • 00b91e3 update: changed logic, added to settingsController
  • d1aca85 update: changed password and hint saving
  • 45f5d82 update: ui to set/change password and hint
  • 1d8dd3f update: encryption/decryption logic, backup encryption on save and decryption on restore
  • 16078b9 update: files encrypt on export and files data decrypt on import
  • f7aa69c update: logging page text
  • 9db1bb5 update: added encryption indicator on backup, share and api configs pages
  • e3b9cf1 fix: correctly save password on set or change

📊 Changes

35 files changed (+1469 additions, -24 deletions)

View changed files

📝 client/android/src/org/amnezia/vpn/AmneziaActivity.kt (+12 -3)
📝 client/core/controllers/coreController.cpp (+1 -1)
📝 client/core/controllers/settingsController.cpp (+25 -0)
📝 client/core/controllers/settingsController.h (+8 -0)
📝 client/core/repositories/secureAppSettingsRepository.cpp (+23 -0)
📝 client/core/repositories/secureAppSettingsRepository.h (+6 -0)
➕ client/images/controls/lock-locked.svg (+3 -0)
➕ client/images/controls/lock-unlocked.svg (+3 -0)
📝 client/images/images.qrc (+2 -0)
📝 client/platforms/android/android_controller.cpp (+15 -0)
📝 client/platforms/android/android_controller.h (+1 -0)
📝 client/secureQSettings.cpp (+63 -2)
📝 client/secureQSettings.h (+10 -0)
📝 client/ui/controllers/api/subscriptionUiController.cpp (+10 -0)
📝 client/ui/controllers/selfhosted/exportUiController.cpp (+18 -2)
📝 client/ui/controllers/selfhosted/exportUiController.h (+5 -1)
📝 client/ui/controllers/settingsUiController.cpp (+49 -1)
📝 client/ui/controllers/settingsUiController.h (+17 -0)
📝 client/ui/controllers/systemController.cpp (+306 -1)
📝 client/ui/controllers/systemController.h (+9 -0)

...and 15 more files

📄 Description

Encrypt and decrypt files with password using AES


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/1945 **Author:** [@MrMirDan](https://github.com/MrMirDan) **Created:** 10/22/2025 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `feat/file-password-protection` --- ### 📝 Commits (10+) - [`b926477`](https://github.com/amnezia-vpn/amnezia-client/commit/b926477ade1f0a43df1b8711d3fe63a1210951f2) feat: file password protection v1 - [`0ed3ae1`](https://github.com/amnezia-vpn/amnezia-client/commit/0ed3ae1f639a475c414307a630dd5d0d3da3a6bf) removed unnecessary method - [`00b91e3`](https://github.com/amnezia-vpn/amnezia-client/commit/00b91e3a0b3dbde7d75af0c8a55be6170caff0fc) update: changed logic, added to settingsController - [`d1aca85`](https://github.com/amnezia-vpn/amnezia-client/commit/d1aca856b6d5808e24e2d33b64ac340e8bfdd733) update: changed password and hint saving - [`45f5d82`](https://github.com/amnezia-vpn/amnezia-client/commit/45f5d82bbba24b9c52c5a24721564e925f51d151) update: ui to set/change password and hint - [`1d8dd3f`](https://github.com/amnezia-vpn/amnezia-client/commit/1d8dd3f17ff1763f302e07366587f74d856b4fef) update: encryption/decryption logic, backup encryption on save and decryption on restore - [`16078b9`](https://github.com/amnezia-vpn/amnezia-client/commit/16078b9b3e05af41cf34eb10354d96eb717af5d1) update: files encrypt on export and files data decrypt on import - [`f7aa69c`](https://github.com/amnezia-vpn/amnezia-client/commit/f7aa69c4bff56b28a66fc8d20ab3f1399505cd14) update: logging page text - [`9db1bb5`](https://github.com/amnezia-vpn/amnezia-client/commit/9db1bb5af770075594fccdd59d2782b77ba91b07) update: added encryption indicator on backup, share and api configs pages - [`e3b9cf1`](https://github.com/amnezia-vpn/amnezia-client/commit/e3b9cf10f9d76d0d746a0cfbe0c0feda99bc9483) fix: correctly save password on set or change ### 📊 Changes **35 files changed** (+1469 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `client/android/src/org/amnezia/vpn/AmneziaActivity.kt` (+12 -3) 📝 `client/core/controllers/coreController.cpp` (+1 -1) 📝 `client/core/controllers/settingsController.cpp` (+25 -0) 📝 `client/core/controllers/settingsController.h` (+8 -0) 📝 `client/core/repositories/secureAppSettingsRepository.cpp` (+23 -0) 📝 `client/core/repositories/secureAppSettingsRepository.h` (+6 -0) ➕ `client/images/controls/lock-locked.svg` (+3 -0) ➕ `client/images/controls/lock-unlocked.svg` (+3 -0) 📝 `client/images/images.qrc` (+2 -0) 📝 `client/platforms/android/android_controller.cpp` (+15 -0) 📝 `client/platforms/android/android_controller.h` (+1 -0) 📝 `client/secureQSettings.cpp` (+63 -2) 📝 `client/secureQSettings.h` (+10 -0) 📝 `client/ui/controllers/api/subscriptionUiController.cpp` (+10 -0) 📝 `client/ui/controllers/selfhosted/exportUiController.cpp` (+18 -2) 📝 `client/ui/controllers/selfhosted/exportUiController.h` (+5 -1) 📝 `client/ui/controllers/settingsUiController.cpp` (+49 -1) 📝 `client/ui/controllers/settingsUiController.h` (+17 -0) 📝 `client/ui/controllers/systemController.cpp` (+306 -1) 📝 `client/ui/controllers/systemController.h` (+9 -0) _...and 15 more files_ </details> ### 📄 Description Encrypt and decrypt files with password using AES --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#2605
No description provided.