Released libzip 1.8.0

  • Add support for zstd (Zstandard) compression.
  • Add support for lzma (ID 14) compression.
  • Add zip_source_window_create().
  • Add zip_source_zip_create() variant to zip_source_zip().
  • Allow method specific comp_flags in zip_set_file_compression().
  • Allow zip_source_tell() on sources that don’t support seeking and zip_ftell() on compressed data.
  • Provide more details for consistency check errors.
  • Improve output of zipcmp.
  • In zipcmp, don’t ignore empty directories when comparing directory listing.
  • Treat empty string as no password given in zip_file_set_encryption(), zip_fopen_encrypted(), and zip_set_default_password().

Download release:

Released libzip 1.7.0

  • Add support for encrypting using traditional PKWare encryption.
  • Add zip_compression_method_supported().
  • Add zip_encryption_method_supported().
  • Add the ZIP_SOURCE_GET_FILE_ATTRIBUTES source command.
  • Refactor stdio file backend.
  • Add CMake find_project() support.

Download release:

Released libzip 1.6.0

  • Avoid using umask() since it’s not thread-safe.
  • Set close-on-exec flag when opening files.
  • Do not accept empty files as valid zip archives any longer.
  • Add support for XZ compressed files (using liblzma).
  • Add support for cancelling while closing zip archives.
  • Add support for setting the time in the on-disk format.

Download release:

Released libzip 1.5.2

  • Fix bug in AES encryption affecting certain file sizes
  • Keep file permissions when modifying zip archives
  • Support systems with small stack size.
  • Support mbed TLS as crypto backend.
  • Add nullability annotations.

Download release:

Released libzip 1.5.1

  • Choose format of installed documentation based on available tools.
  • Fix visibility of symbols.
  • Fix zipcmp directory support.
  • Don’t set RPATH on Linux.
  • Use Libs.private for link dependencies in pkg-config file.
  • Fix build with LibreSSL.
  • Various bugfixes.

Download release:

Released libzip 1.4.0

  • Improve build with cmake
  • Retire autoconf/automake build system
  • Add zip_source_buffer_fragment().
  • Add support to clone unchanged beginning of archive (instead of rewriting it). Supported for buffer sources and on Apple File System.
  • Add support for Microsoft Universal Windows Platform.

Download release:

Official Repository Moved to GitHub

We have moved the libzip repository from our own Mercurial server to GitHub: nih-at/libzip.

This makes it easier to contribute to libzip. Feel free to use the issue tracker to report bugs, or submit fixes via pull requests. For questions or to propose possible enhancements, continue using the libzip-discuss mailing list. has been retired. If you have a Mercurial checkout, please check out a fresh copy of libzip from github:

git clone

Released libzip 1.3.2

  • Fix bug introduced in last: zip_t was erroneously freed if zip_close() failed.

Released libzip 1.3.1

  • Install zipconf.h into ${PREFIX}/include
  • Add zip_libzip_version()
  • Fix AES tests on Linux

New Website

libzip has moved to its own site at We’ve used the opportunity to completely overhaul the layout and structure of the site.

URLs pointing to will be redirected to the corresponding page on the new site.