I cannot unzip the qsv prebuilt zip archives on macOS. #1668
jqnatividad
started this conversation in
FAQ
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On macOS, when you double click on the qsv prebuilt archive (e.g. qsv-0.123.0-aarch64-apple-darwin-zip archive for macOS Apple Silicon), you get this error:
![image](https://private-user-images.githubusercontent.com/1980690/312200348-fa476012-8e4d-403a-a300-fb3d600d8b6d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5MjAyNjksIm5iZiI6MTcxOTkxOTk2OSwicGF0aCI6Ii8xOTgwNjkwLzMxMjIwMDM0OC1mYTQ3NjAxMi04ZTRkLTQwM2EtYTMwMC1mYjNkNjAwZDhiNmQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDJUMTEzMjQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTQ3Yzg5NGYzZGVlMTdmNDI2MjQxODUwZGZiYTQxOGE2ZDFmMmE1ZWVlYWM4YmNhYjJkODNlMWRlMmUwMjJlNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.6NZGXVCriRGmgdimy2dyK2Y1Zz1XKpAME8gQzOx9xfg)
This is because all prebuilt zip archives are zipsigned to ensure their authenticity.
Zipsign takes advantage of the zip standard which allows prepending any data to a zip file. This allows it to store the zipsign private key in the header of the archive, and so long as the relative addresses are fixed up afterwards, a standards-compliant zip unarchiver should be able to unzip the archive (see https://github.com/Kijewski/zipsign?tab=readme-ov-file#how-does-it-work).
However, macOS's Archive Utility apparently doesn't follow the zip standard (see Kijewski/zipsign#27).
To unzip a zipsigned qsv archive on macOS, you'll need to decompress it using the
unzip
command line utility - which does recognize the zip standard.So after opening Terminal, just run this command to unzip the archive:
unzip qsv-0.123.0-aarch64-apple-darwin-zip
This will uncompress the archive, and create all the qsv binary variants in the current working directory.
Beta Was this translation helpful? Give feedback.
All reactions