{"id":21049441,"url":"https://github.com/wp-cli/checksum-command","last_synced_at":"2025-05-16T12:01:47.261Z","repository":{"id":45035458,"uuid":"88057326","full_name":"wp-cli/checksum-command","owner":"wp-cli","description":"Verifies file integrity by comparing to published checksums.","archived":false,"fork":false,"pushed_at":"2025-05-07T08:15:46.000Z","size":8759,"stargazers_count":32,"open_issues_count":6,"forks_count":25,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-05-07T09:26:09.684Z","etag":null,"topics":["checksum","cli","hacktoberfest","integrity","security","wordpress","wp-cli","wp-cli-package"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wp-cli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-04-12T13:51:47.000Z","updated_at":"2025-04-26T13:10:40.000Z","dependencies_parsed_at":"2023-02-16T11:16:08.889Z","dependency_job_id":"aeb0a5c6-a8cf-478d-a615-70cdb6c49d3d","html_url":"https://github.com/wp-cli/checksum-command","commit_stats":{"total_commits":486,"total_committers":52,"mean_commits":9.346153846153847,"dds":0.7551440329218106,"last_synced_commit":"1a44dfbd3f962283a93ba547142300c98956d811"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Fchecksum-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Fchecksum-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Fchecksum-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-cli%2Fchecksum-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp-cli","download_url":"https://codeload.github.com/wp-cli/checksum-command/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254527071,"owners_count":22085917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["checksum","cli","hacktoberfest","integrity","security","wordpress","wp-cli","wp-cli-package"],"created_at":"2024-11-19T15:12:15.451Z","updated_at":"2025-05-16T12:01:47.202Z","avatar_url":"https://github.com/wp-cli.png","language":"PHP","readme":"wp-cli/checksum-command\n=======================\n\nVerifies file integrity by comparing to published checksums.\n\n[![Testing](https://github.com/wp-cli/checksum-command/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/checksum-command/actions/workflows/testing.yml)\n\nQuick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing) | [Support](#support)\n\n## Using\n\nThis package implements the following commands:\n\n### wp core verify-checksums\n\nVerifies WordPress files against WordPress.org's checksums.\n\n~~~\nwp core verify-checksums [--include-root] [--version=\u003cversion\u003e] [--locale=\u003clocale\u003e] [--insecure] [--exclude=\u003cfiles\u003e]\n~~~\n\nDownloads md5 checksums for the current version from WordPress.org, and\ncompares those checksums against the currently installed files.\n\nFor security, avoids loading WordPress when verifying checksums.\n\nIf you experience issues verifying from this command, ensure you are\npassing the relevant `--locale` and `--version` arguments according to\nthe values from the `Dashboard-\u003eUpdates` menu in the admin area of the\nsite.\n\n**OPTIONS**\n\n\t[--include-root]\n\t\tVerify all files and folders in the root directory, and warn if any non-WordPress items are found.\n\n\t[--version=\u003cversion\u003e]\n\t\tVerify checksums against a specific version of WordPress.\n\n\t[--locale=\u003clocale\u003e]\n\t\tVerify checksums against a specific locale of WordPress.\n\n\t[--insecure]\n\t\tRetry downloads without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack.\n\n\t[--exclude=\u003cfiles\u003e]\n\t\tExclude specific files from the checksum verification. Provide a comma-separated list of file paths.\n\n**EXAMPLES**\n\n    # Verify checksums\n    $ wp core verify-checksums\n    Success: WordPress installation verifies against checksums.\n\n    # Verify checksums for given WordPress version\n    $ wp core verify-checksums --version=4.0\n    Success: WordPress installation verifies against checksums.\n\n    # Verify checksums for given locale\n    $ wp core verify-checksums --locale=en_US\n    Success: WordPress installation verifies against checksums.\n\n    # Verify checksums for given locale\n    $ wp core verify-checksums --locale=ja\n    Warning: File doesn't verify against checksum: wp-includes/version.php\n    Warning: File doesn't verify against checksum: readme.html\n    Warning: File doesn't verify against checksum: wp-config-sample.php\n    Error: WordPress installation doesn't verify against checksums.\n\n    # Verify checksums and exclude files\n    $ wp core verify-checksums --exclude=\"readme.html\"\n    Success: WordPress installation verifies against checksums.\n\n\n\n### wp plugin verify-checksums\n\nVerifies plugin files against WordPress.org's checksums.\n\n~~~\nwp plugin verify-checksums [\u003cplugin\u003e...] [--all] [--strict] [--version=\u003cversion\u003e] [--format=\u003cformat\u003e] [--insecure] [--exclude=\u003cname\u003e]\n~~~\n\n**OPTIONS**\n\n\t[\u003cplugin\u003e...]\n\t\tOne or more plugins to verify.\n\n\t[--all]\n\t\tIf set, all plugins will be verified.\n\n\t[--strict]\n\t\tIf set, even \"soft changes\" like readme.txt changes will trigger\n\t\tchecksum errors.\n\n\t[--version=\u003cversion\u003e]\n\t\tVerify checksums against a specific plugin version.\n\n\t[--format=\u003cformat\u003e]\n\t\tRender output in a specific format.\n\t\t---\n\t\tdefault: table\n\t\toptions:\n\t\t  - table\n\t\t  - json\n\t\t  - csv\n\t\t  - yaml\n\t\t  - count\n\t\t---\n\n\t[--insecure]\n\t\tRetry downloads without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack.\n\n\t[--exclude=\u003cname\u003e]\n\t\tComma separated list of plugin names that should be excluded from verifying.\n\n**EXAMPLES**\n\n    # Verify the checksums of all installed plugins\n    $ wp plugin verify-checksums --all\n    Success: Verified 8 of 8 plugins.\n\n    # Verify the checksums of a single plugin, Akismet in this case\n    $ wp plugin verify-checksums akismet\n    Success: Verified 1 of 1 plugins.\n\n## Installing\n\nThis package is included with WP-CLI itself, no additional installation necessary.\n\nTo install the latest version of this package over what's included in WP-CLI, run:\n\n    wp package install git@github.com:wp-cli/checksum-command.git\n\n## Contributing\n\nWe appreciate you taking the initiative to contribute to this project.\n\nContributing isn’t limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation.\n\nFor a more thorough introduction, [check out WP-CLI's guide to contributing](https://make.wordpress.org/cli/handbook/contributing/). This package follows those policy and guidelines.\n\n### Reporting a bug\n\nThink you’ve found a bug? We’d love for you to help us get it fixed.\n\nBefore you create a new issue, you should [search existing issues](https://github.com/wp-cli/checksum-command/issues?q=label%3Abug%20) to see if there’s an existing resolution to it, or if it’s already been fixed in a newer version.\n\nOnce you’ve done a bit of searching and discovered there isn’t an open or fixed issue for your bug, please [create a new issue](https://github.com/wp-cli/checksum-command/issues/new). Include as much detail as you can, and clear steps to reproduce if possible. For more guidance, [review our bug report documentation](https://make.wordpress.org/cli/handbook/bug-reports/).\n\n### Creating a pull request\n\nWant to contribute a new feature? Please first [open a new issue](https://github.com/wp-cli/checksum-command/issues/new) to discuss whether the feature is a good fit for the project.\n\nOnce you've decided to commit the time to seeing your pull request through, [please follow our guidelines for creating a pull request](https://make.wordpress.org/cli/handbook/pull-requests/) to make sure it's a pleasant experience. See \"[Setting up](https://make.wordpress.org/cli/handbook/pull-requests/#setting-up)\" for details specific to working on this package locally.\n\n## Support\n\nGitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support\n\n\n*This README.md is generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). To suggest changes, please submit a pull request against the corresponding part of the codebase.*\n","funding_links":[],"categories":["Programming Languages"],"sub_categories":["PHP"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-cli%2Fchecksum-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp-cli%2Fchecksum-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-cli%2Fchecksum-command/lists"}