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

[SUPPORT] Does not work on MacOS? #41

Open
sasanikolic90 opened this issue Dec 6, 2020 · 3 comments
Open

[SUPPORT] Does not work on MacOS? #41

sasanikolic90 opened this issue Dec 6, 2020 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@sasanikolic90
Copy link

It seems like the app needs 7-Zip to work (7za x -aoa ... command), but that does not exist for MacOS, from what I can see. MacOS is mentioned a few times in the readme, but there are no clear instructions how to use it properly there. I also tried with the tar.gz file, but didn't get any output generated there.

Can we please update the documentation with some clearer instructions in regards to that?

@CTHRU CTHRU self-assigned this Dec 7, 2020
@CTHRU CTHRU added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 7, 2020
@CTHRU
Copy link
Owner

CTHRU commented Dec 7, 2020

I would be glad to add ZIP support for macOS, unfortunately I don't own or have access to a macOS system.
But maybe you could help me out?

  • From what I already read, the standard Archiver app in macOS doesn't support AES encrypted ZIP files (such as the one from Huawei).
  • I think an alternative tool on macOS for 7zip could be Keka.

If you could pass me a valid Terminal command for Keka to extract the following file from the Huawei ZIP, I will add support to unzip the file on macOS using Keka and add the installation instructions for it.

Motion path detail data & description/motion path detail data.json

CTHRU added a commit that referenced this issue Dec 14, 2020
CTHRU added a commit that referenced this issue Dec 14, 2020
@sasanikolic90
Copy link
Author

Sorry for the late response.

Based on https://nextleveltricks.net/open-password-protected-zip-mac, I think we can simply use this command: unzip -P password ZIP_FILE -d DESTINATION_FOLDER. Tested it locally with the encoded zip file from Huawei and worked for me.

@CTHRU
Copy link
Owner

CTHRU commented Jan 14, 2021

Dear macOS users,

I prepared a test version with support to unzip encrypted Huawei ZIP files based on the information in the comments above.
Since I can not test it myself, I put the code in a separate development branch.

You can use the command with the --password argument to test, like below

Hitrava.py --zip HiZip.zip --password your_password_goes_here --json_export

If you tried it out, I would be happy to hear your feedback whether it works or not.

@CTHRU CTHRU added the help wanted Extra attention is needed label Jan 18, 2021
@CTHRU CTHRU pinned this issue Mar 16, 2021
@CTHRU CTHRU unpinned this issue Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants