proxmox-backup/src
Thomas Lamprecht ea86e2697d sync: pull: remove encrypted client log temp file after decrypt
The remote source reader's encrypted client-log path writes the
decrypted output to to_path through decrypt_encrypted_data_blob()
(which uses its own atomic replace_file), but never removes the
encrypted bytes left at <snapshot>/client.log.blob.tmp. The
non-encrypted path consumes the same tmp_path via std::fs::rename().

Bail out (matching the surrounding error handling style) if the
cleanup fails, so the leftover doesn't go unnoticed.

Fixes: e5b191109 ("sync: decrypt client log on pull with matching decryption key")
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2026-04-25 21:04:37 +02:00
..
api2 api: add /nodes/localhost/identity 2026-04-24 22:05:04 +02:00
backup tools: move ParallelHandler to new proxmox-parallel-handler crate 2026-04-22 21:09:25 +02:00
bin manager: add 'server-identity' subcommand 2026-04-24 22:37:22 +02:00
config config: move node config into pbs-config, including helper tools 2026-04-05 10:53:09 +02:00
server sync: pull: remove encrypted client log temp file after decrypt 2026-04-25 21:04:37 +02:00
tape tools: move ParallelHandler to new proxmox-parallel-handler crate 2026-04-22 21:09:25 +02:00
tools tools: move ParallelHandler to new proxmox-parallel-handler crate 2026-04-22 21:09:25 +02:00
auth_helpers.rs api/proxy: set auth cookie name in rest server api config 2025-07-25 17:25:55 +02:00
auth.rs tree-wide: fix clippy warnings needless borrow 2026-01-13 14:53:32 +01:00
client_helpers.rs provide separate helpers for pub/priv auth keyring access 2023-03-29 14:37:45 +02:00
lib.rs acme: remove unused src/acme and plugin code 2026-01-29 13:02:09 +01:00
traffic_control_cache.rs traffic control: use factored out shared rate limiter 2025-11-21 19:44:26 +01:00