Désiré Werner Menrath 8c6256e94c refactor(encryption): Improve resize logic and password handling
This commit refactors the encrypted container management to significantly improve usability and robustness.

- **Reduced Password Prompts:** The entire resize operation (unmount, truncate, check, resize, mount) is now consolidated into a single script. This reduces the maximum number of password prompts during a backup with resize from four down to two.
- **Fix "No Space Left" Error:** The resize script is now more robust, including a filesystem check (`e2fsck`) before resizing to prevent the filesystem from failing to expand. This resolves the critical "No space left on device" error.
- **Session-wide Password Cache:** A simple in-memory cache for the LUKS password has been introduced. This prevents further password prompts when unmounting containers, for example, when the application is closed.
- **Improved Logging:** Privileged script execution now logs stderr output even on success, aiding future diagnostics.
2025-09-07 20:02:20 +02:00
2025-08-17 03:56:32 +02:00
2025-08-17 13:21:05 +02:00
2025-08-27 01:29:03 +02:00
Description
Py-Backup a simple GUI for rsync
Readme LGPL-3.0 1.4 MiB
Languages
Python 97.8%
Shell 2.2%