Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to extract a single file from ENC backup downloaded? #1135

Open
bob454522 opened this issue Jan 18, 2025 · 0 comments
Open

how to extract a single file from ENC backup downloaded? #1135

bob454522 opened this issue Jan 18, 2025 · 0 comments

Comments

@bob454522
Copy link

bob454522 commented Jan 18, 2025

i need to extract a single file, the backup is encrypted (with my PW), how do i extract this so i can get the single file?

(thanks to HACS repo update bug).

7zip and winrar fail on the tar.gz (As expected since they're encrypted)
thanks

tried this as well , but it did not work (i did input the correct password):

# openssl enc -d -aes-256-cbc -in homeassistant.tar.gz -out decrypted_backup.tar.gz
enter aes-256-cbc decryption password:
bad magic number

edit i can see in the .json that aes128 is used, however still failing:

enc -d -aes-128-cbc -salt -in homeassistant.tar.gz -out decrypted_backup.tar.gz
or
enc -d -aes-128-cbc -in homeassistant.tar.gz -out decrypted_backup.tar.gz

bad magic number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant