mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-09 22:32:25 +00:00
feat: copy portable export to secondary backup
This commit is contained in:
1 parent
4c17d12762
commit
03561ce970
2 files changed
+36
-6
No files matched your search
@@ -82,6 +82,7 @@ def export_backup(
|
||||
json_bytes = json.dumps(wrapper, indent=2).encode("utf-8")
|
||||
dest_path.write_bytes(json_bytes)
|
||||
os.chmod(dest_path, 0o600)
|
||||
backup_manager._create_additional_backup(dest_path)
|
||||
|
||||
if publish:
|
||||
encrypted = vault.encryption_manager.encrypt_data(json_bytes)
|
||||
|
||||
Reference in new issue
Block a user