{"id":15038563,"url":"https://github.com/zlib-ng/minizip-ng","last_synced_at":"2026-04-25T07:05:27.884Z","repository":{"id":2278507,"uuid":"3235524","full_name":"zlib-ng/minizip-ng","owner":"zlib-ng","description":"Fork of the popular zip manipulation library found in the zlib distribution.","archived":false,"fork":false,"pushed_at":"2026-04-18T01:13:52.000Z","size":7930,"stargazers_count":1443,"open_issues_count":25,"forks_count":490,"subscribers_count":40,"default_branch":"develop","last_synced_at":"2026-04-18T15:04:47.096Z","etag":null,"topics":["bzip2","c","compression","disk-splitting","encryption","linux","lzma","macos","minizip","pkware","windows","winzip-aes","xz","zip","zlib"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zlib-ng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"nmoinvaz"}},"created_at":"2012-01-21T19:17:23.000Z","updated_at":"2026-04-18T01:13:57.000Z","dependencies_parsed_at":"2023-12-06T04:23:21.163Z","dependency_job_id":"22dd6552-a09d-4dc7-b3ce-564b6b5b9f58","html_url":"https://github.com/zlib-ng/minizip-ng","commit_stats":{"total_commits":1903,"total_committers":137,"mean_commits":13.89051094890511,"dds":0.5775091960063059,"last_synced_commit":"13b01a74a44108557e00c78ffac54e4fae7f8c7f"},"previous_names":["nmoinvaz/minizip"],"tags_count":81,"template":false,"template_full_name":null,"purl":"pkg:github/zlib-ng/minizip-ng","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlib-ng%2Fminizip-ng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlib-ng%2Fminizip-ng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlib-ng%2Fminizip-ng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlib-ng%2Fminizip-ng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zlib-ng","download_url":"https://codeload.github.com/zlib-ng/minizip-ng/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlib-ng%2Fminizip-ng/sbom","scorecard":{"id":1236776,"data":{"date":"2025-08-04","repo":{"name":"github.com/zlib-ng/minizip-ng","commit":"61121abdd9e25c512457353fb113ad06651eee69"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":6.3,"checks":[{"name":"Maintained","score":10,"reason":"16 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Code-Review","score":8,"reason":"Found 21/24 approved changesets -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:15","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:16","Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: no topLevel permission defined: .github/workflows/fuzz.yml:1","Warn: no topLevel permission defined: .github/workflows/lint.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:212: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:253: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/build.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:273: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/build.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:290: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/build.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:306: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/build.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/codeql.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/codeql.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/codeql.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/codeql.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/fuzz.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/fuzz.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/fuzz.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/fuzz.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/fuzz.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/fuzz.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/zlib-ng/minizip-ng/lint.yml/develop?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/build.yml:262","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found","Info: CLibFuzzer integration found: test/fuzz/standalone.c:25","Info: CLibFuzzer integration found: test/fuzz/standalone.c:70","Info: CLibFuzzer integration found: test/fuzz/unzip_fuzzer.c:30","Info: CLibFuzzer integration found: test/fuzz/zip_fuzzer.c:29"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 4.0.10 not signed: https://api.github.com/repos/zlib-ng/minizip-ng/releases/216384381","Warn: release artifact 4.0.9 not signed: https://api.github.com/repos/zlib-ng/minizip-ng/releases/210566010","Warn: release artifact 4.0.8 not signed: https://api.github.com/repos/zlib-ng/minizip-ng/releases/193758581","Warn: release artifact 4.0.7 not signed: https://api.github.com/repos/zlib-ng/minizip-ng/releases/160637007","Warn: release artifact 4.0.6 not signed: https://api.github.com/repos/zlib-ng/minizip-ng/releases/158471176","Warn: release artifact 4.0.10 does not have provenance: https://api.github.com/repos/zlib-ng/minizip-ng/releases/216384381","Warn: release artifact 4.0.9 does not have provenance: https://api.github.com/repos/zlib-ng/minizip-ng/releases/210566010","Warn: release artifact 4.0.8 does not have provenance: https://api.github.com/repos/zlib-ng/minizip-ng/releases/193758581","Warn: release artifact 4.0.7 does not have provenance: https://api.github.com/repos/zlib-ng/minizip-ng/releases/160637007","Warn: release artifact 4.0.6 does not have provenance: https://api.github.com/repos/zlib-ng/minizip-ng/releases/158471176"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (27) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-09-02T07:11:33.825Z","repository_id":2278507,"created_at":"2025-09-02T07:11:33.825Z","updated_at":"2025-09-02T07:11:33.825Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32253252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T04:23:17.126Z","status":"ssl_error","status_checked_at":"2026-04-25T04:21:53.360Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bzip2","c","compression","disk-splitting","encryption","linux","lzma","macos","minizip","pkware","windows","winzip-aes","xz","zip","zlib"],"created_at":"2024-09-24T20:38:55.449Z","updated_at":"2026-04-25T07:05:27.873Z","avatar_url":"https://github.com/zlib-ng.png","language":"C","funding_links":["https://github.com/sponsors/nmoinvaz"],"categories":["Compression","C"],"sub_categories":[],"readme":"# minizip-ng\n\nminizip-ng is a zip manipulation library written in C that is supported on Windows, macOS, and Linux.\n\n[![Master Branch Status](https://github.com/zlib-ng/minizip-ng/workflows/Build/badge.svg)](https://github.com/zlib-ng/minizip-ng/actions)\n[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/minizip.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened\u0026can=1\u0026q=proj:minizip)\n[![License: Zlib](https://img.shields.io/badge/license-zlib-lightgrey.svg)](https://github.com/zlib-ng/minizip-ng/blob/master/LICENSE)\n[![codecov.io](https://codecov.io/github/zlib-ng/minizip-ng/coverage.svg?branch=develop)](https://codecov.io/github/zlib-ng/minizip-ng/)\n[![Packaging status](https://repology.org/badge/tiny-repos/minizip-ng.svg)](https://repology.org/project/minizip-ng/versions)\n\nDeveloped and maintained by Nathan Moinvaziri.\n\n## Branches\n\n| Name                                                          | Description                                                                                                                                                             |\n|:--------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [develop](https://github.com/zlib-ng/minizip-ng/tree/develop) | Latest development code.                                                                                                                                                |\n| [master](https://github.com/zlib-ng/minizip-ng/tree/master)   | Most recent stable release.                                                                                                                                             |\n| [1.2](https://github.com/zlib-ng/minizip-ng/tree/1.2)         | Old changes to original minizip that includes WinZip AES encryption, disk splitting, I/O buffering and some additional fixes. Not ABI compatible with original minizip. |\n| [1.1](https://github.com/zlib-ng/minizip-ng/tree/1.1)         | Original minizip as of zlib 1.2.11.                                                                                                                                     |\n\n## History\n\nMinizip was originally developed by [Gilles Vollant](https://www.winimage.com/zLibDll/minizip.html) in 1998. It was first included in the zlib distribution as an additional code contribution starting in zlib 1.1.2. Since that time, it has been continually improved upon and contributed to by many people. The original [project](https://github.com/madler/zlib/tree/master/contrib/minizip) can still be found in the zlib distribution that is maintained by Mark Adler.\n\nThe motivation behind this repository has been the need for new features and bug fixes to the original library which had\nnot been maintained for a long period of time. The code has been largely refactored and rewritten in order to help improve maintainability and readability. A compatibility layer has been provided for consumers of the original minizip library.\n\n## Features\n\n+ Creating and extracting zip archives.\n+ Adding and removing entries from zip archives.\n+ Read and write raw zip entry data.\n+ Reading and writing zip archives from memory.\n+ Support for large files with ZIP64 extension.\n+ Zlib, BZIP2, LZMA, PPMD, XZ and ZSTD compression methods.\n+ Password protection through Traditional PKWARE and [WinZIP AES](https://www.winzip.com/aes_info.htm) encryption.\n+ Buffered streaming for improved I/O performance.\n+ NTFS timestamp support for UTC last modified, last accessed, and creation dates.\n+ Disk split support for splitting zip archives into multiple files.\n+ Preservation of file attributes across file systems.\n+ Follow and store symbolic links.\n+ Unicode filename support through UTF-8 encoding.\n+ Legacy character encoding support CP437, CP932, CP936, CP950.\n+ Turn off compilation of compression, decompression, or encryption.\n+ Windows (Win32 \u0026 WinRT), macOS and Linux platform support.\n+ Streaming interface for easy implementation of additional platforms.\n+ Support for Apple's compression library ZLIB and XZ implementations.\n+ Zero out local file header information.\n+ Zip/unzip of central directory to reduce size.\n+ Recover the central directory if it is corrupt or missing.\n+ Example minizip and minigzip command line tools.\n\n## Build\n\nTo generate project files for your platform:\n\n1. [Download and install](https://cmake.org/install/) cmake (version 3.11 or later recommended).\n2. Run cmake in the minizip directory.\n\n```\ncmake -S . -B build -D MZ_BUILD_TESTS=ON\ncmake --build build\n```\n\n## Build Options\n\n| Name                | Description                                                    | Default Value |\n|:--------------------|:---------------------------------------------------------------|:-------------:|\n| MZ_COMPAT           | Enables compatibility layer                                    |      ON       |\n| MZ_ZLIB             | Enables ZLIB compression                                       |      ON       |\n| MZ_ZLIB_FLAVOR      | Select ZLIB implementation (auto, zlib-ng, zlib)               |      auto     |\n| MZ_BZIP2            | Enables BZIP2 compression                                      |      ON       |\n| MZ_LZMA             | Enables LZMA \u0026 XZ compression                                  |      ON       |\n| MZ_PPMD             | Enables PPMD compression                                       |      ON       |\n| MZ_ZSTD             | Enables ZSTD compression                                       |      ON       |\n| MZ_LIBCOMP          | Enables Apple compression                                      |     APPLE     |\n| MZ_FETCH_LIBS       | Enables fetching third-party libraries if not found            |     WIN32     |\n| MZ_FORCE_FETCH_LIBS | Enables fetching third-party libraries always                  |      OFF      |\n| MZ_PKCRYPT          | Enables PKWARE traditional encryption                          |      ON       |\n| MZ_WZAES            | Enables WinZIP AES encryption                                  |      ON       |\n| MZ_OPENSSL          | Enables OpenSSL encryption                                     |     UNIX      |\n| MZ_LIBBSD           | Builds with libbsd crypto random                               |     UNIX      |\n| MZ_ICONV            | Enables iconv encoding conversion                              |      ON       |\n| MZ_COMPRESS_ONLY    | Only support compression                                       |      OFF      |\n| MZ_DECOMPRESS_ONLY  | Only support decompression                                     |      OFF      |\n| MZ_FILE32_API       | Builds using posix 32-bit file api                             |      OFF      |\n| MZ_BUILD_TESTS      | Builds minizip test executable                                 |      OFF      |\n| MZ_BUILD_UNIT_TESTS | Builds minizip unit test project                               |      OFF      |\n| MZ_BUILD_FUZZ_TESTS | Builds minizip fuzz executables                                |      OFF      |\n| MZ_CODE_COVERAGE    | Build with code coverage flags                                 |      OFF      |\n| MZ_SANITIZER        | Build with code sanitizer (Memory, Thread, Address, Undefined) |      OFF      |\n| MZ_LIB_SUFFIX       | Library name suffix for packaging                              |               |\n\n## Third-Party Libraries\n\nThird-party libraries may be required based on the CMake options selected. If the system already has the library\ninstalled then it will be used, otherwise CMake will retrieve the source code for the library from its official git repository and compile it in when the `MZ_FETCH_LIBS` option is enabled.\n\n|Project|License|CMake Option|Comments|\n|-|-|-|-|\n[bzip2](https://www.sourceware.org/bzip2/)|[license](https://github.com/zlib-ng/minizip-ng/blob/develop/lib/bzip2/LICENSE)|`MZ_BZIP2`|Written by Julian Seward.|\n|[liblzma](https://tukaani.org/xz/)|Public domain|`MZ_LZMA`|Written by Igor Pavlov and Lasse Collin.|\n|[ppmd](https://7-zip.org/)|Public domain|`MZ_PPMD`|Written by Igor Pavlov.|\n|[zlib](https://zlib.net/)|zlib|`MZ_ZLIB`|Written by Mark Adler and Jean-loup Gailly. Or alternatively, [zlib-ng](https://github.com/zlib-ng/zlib-ng) by Hans Kristian Rosbach.|\n|[zstd](https://github.com/facebook/zstd)|[BSD](https://github.com/facebook/zstd/blob/dev/LICENSE)|`MZ_ZSTD`|Written by Facebook.|\n\nThis project uses the zlib [license](LICENSE).\n\n## Acknowledgments\n\nThanks go out to all the people who have taken the time to contribute code reviews, testing and/or patches. This project would not have been as good without you.\n\nThanks to [Gilles Vollant](https://www.winimage.com/zLibDll/minizip.html) on which this work is originally based on.\n\nThe [ZIP format](https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT) was defined by Phil Katz of PKWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzlib-ng%2Fminizip-ng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzlib-ng%2Fminizip-ng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzlib-ng%2Fminizip-ng/lists"}