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:
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