Trouble extracting zip file in macOS I downloaded Signal desktop app from this URL:


https://updates.signal.org/desktop/signal-desktop-mac-1.24.1.zip


However, when attempting to extract the zip archive using unzip command, this is what I get:

~/Downloads$ unzip signal-desktop-mac-1.24.1.zip 
Archive:  signal-desktop-mac-1.24.1.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of signal-desktop-mac-1.24.1.zip or
        signal-desktop-mac-1.24.1.zip.zip, and cannot find signal-desktop-mac-1.24.1.zip.ZIP, period.


Should be pretty straightforward. I don't know what the problem is. unzip -t also fails with the same error.

I've tried to download this several times. Same problem. Also happens with signal-desktop-mac-1.23.2.zip. I doubt the archive is corrupted across several versions, and my system has no other known problems.
Running

file signal-desktop-mac-1.24.1.zip

in the Terminal outputs:


  signal-desktop-mac-1.24.1.zip: Zip archive data, at least v?[0x314] to extract


indicating that there's some issue with how the zip file is encoded. That explains why unzip may have failed to extract the files from the compressed archive.

However, when attempting to extract via built-in Archive Utility by double clicking, or right clicking and selecting Open, the archive extracts successfully.

I tried it, successfully extracted Signal.app and was able to run it.