{"id":24907396,"url":"https://github.com/phellams/csverify","last_synced_at":"2025-03-27T23:15:47.998Z","repository":{"id":211197942,"uuid":"728256781","full_name":"phellams/csverify","owner":"phellams","description":"CheckSum Verification module for PowerShell","archived":false,"fork":false,"pushed_at":"2024-12-15T23:38:41.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T22:36:26.879Z","etag":null,"topics":["checksum","hash","module","powershell","powershell-core","verification"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/phellams.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"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}},"created_at":"2023-12-06T15:02:05.000Z","updated_at":"2025-01-24T08:25:30.000Z","dependencies_parsed_at":"2024-10-11T21:00:31.335Z","dependency_job_id":null,"html_url":"https://github.com/phellams/csverify","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":"0.40909090909090906","last_synced_commit":"a36f2626f9f9d491212a4bc941c71a494e5077ef"},"previous_names":["sgkens/csverify"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phellams%2Fcsverify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phellams%2Fcsverify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phellams%2Fcsverify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phellams%2Fcsverify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phellams","download_url":"https://codeload.github.com/phellams/csverify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245938230,"owners_count":20697008,"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","hash","module","powershell","powershell-core","verification"],"created_at":"2025-02-02T01:17:08.051Z","updated_at":"2025-03-27T23:15:47.969Z","avatar_url":"https://github.com/phellams.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg width=\"25\" src=\"https://raw.githubusercontent.com/sgkens/resources/main/modules/csverify/dist/v1/csverify-icon-x128.png\"/\u003e **CSVERIFY** *PowerShell Module*\r\n\r\n[TOC]\r\n\r\n\u003c!--license--\u003e\r\n\u003ca href=\"https://github.com/sgkens/csverify/\"\u003e\r\n  \u003cimg src=\"https://img.shields.io/badge/MIT-License-blue?style=\u0026logo=unlicense\u0026color=%23004481\"\u003e\u003c/a\u003e\r\n\u003c!--Code Factor--\u003e\r\n\u003ca href=\"https://www.codefactor.io/repository/github/sgkens/csverify/\"\u003e\r\n  \u003cimg src=\"https://www.codefactor.io/repository/github/sgkens/csverify/badge\"\u003e\u003c/a\u003e\r\n\u003c!--Choco--\u003e\r\n\u003ca href=\"https://community.chocolatey.org/packages/davilion.csverify\"\u003e\r\n  \u003cimg src=\"https://img.shields.io/chocolatey/dt/davilion.csverify?label=Choco\"\u003e\u003c/a\u003e\r\n\u003c!--[psgallary]--\u003e\r\n\u003ca href=\"https://www.powershellgallery.com/packages/csverify\"\u003e\r\n  \u003cimg src=\"https://img.shields.io/powershellgallery/dt/csverify?label=psgallary\"\u003e\u003c/a\u003e\r\n\r\nThe ***CSVERIFY*** module is designed to assist in ensuring the integrity of a codebase by generating and verifying a **VERIFICATION.txt** file.\r\n\r\n## Verification File\r\n\r\n**`New-VerificationFile`** generates the verification file. recersivlly compiles a list of all files present. For each file, it computes the SHA256 hash and records the **file**, **path**, **size** and its **hash** in the verification file(**VERIFICATION.txt**).\r\n\r\n```powershell\r\n#Default output .\\tools\\VERIFICATION.txt\r\ncd /path/to/folder\r\nNew-VerificationFile \r\n```\r\n\r\n\u003e VERIFICATION.txt output example\r\n\u003cpre\u003e\r\nVERIFICATION\r\nVerification is intended to assist the moderators and community\r\nin verifying that this package's contents are trustworthy.\r\n\r\nTo Verify the files in this package, please download/Install module csverify from chocalatey.org or from the powershell gallery.\r\nGet-CheckSum -Path $Path\r\ne\r\n-[checksum hash]-\r\n___________________\r\n1.23KB | 37511B972FBE38C353B680D55EC5CFE51C04C79CA3304922301C5AB44BAC94F9 | .\\README.md\r\n1.05KB | D3FF5A1DB41D78399BD676A16C9321F127BB52B7E7EBF56B14EC5ABC21971213 | .\\LICENSE\r\n0.34KB | 813818335A37527755ABDCF200322962E340E2278BBF3E515B21D4D232D9A92A | .\\csverify.psm1\r\n4.44KB | 394B7998E79D6DDE3B6FF1318550ED21BC9671F2C8F1AA2354861A120738B422 | .\\csverify.psd1\r\n1.14KB | 7E246407DE6B586B7BB2C46E82E089B72064AB6941F7EE83EDFBF9E0BD7D4CD3 | .\\.gitlab-ci.yml\r\n\u003c/pre\u003e\r\n\r\n## Verification\r\n\r\n**`Test-Verification`** is used to verify the integrity of the codebase base it compares the `SHA256` values from **VERIFICATION.txt** file and Returns file report\r\n\r\n\u003e Verification output\r\n\u003cpre\u003e\r\nRunning Verification: Hashed Checksums\r\n  └─ Verified o--(5 / 5 Files » Found 1 that could not be verified)\r\nStatus   hash                                                             Path                                Size\r\n------   ----                                                             ----                                ----\r\nVerified 0DC558C6B5C5B34D9B77D177AEE6130AEAF75C10A0948C635AEC98F5C445790E .\\README.md                         0.95KB\r\nVerified D3FF5A1DB41D78399BD676A16C9321F127BB52B7E7EBF56B14EC5ABC21971213 .\\LICENSE                           1.05KB\r\nVerified F5CEFD9EE2498D5A6BB80F3F26A6B07FD405F3AB3AB63917426CB31EBF5719B9 .\\csverify.psm1                     0.35KB\r\nVerified EB749553314E1280C22EB6CD2E7CF3687EBF0A8D6C259A59C33AA4DFB215D85D .\\csverify.psd1                     4.44KB\r\nVerified 7E246407DE6B586B7BB2C46E82E089B72064AB6941F7EE83EDFBF9E0BD7D4CD3 .\\.gitlab-ci.yml                    1.14KB\r\n\u003c/pre\u003e\r\n\r\n## Installation Methods\r\n\r\n### 💾 Source\r\n\r\n🎫 Clone the repository from GitHub `git clone https://github.com/sgkens/csverify.git` \\\r\n🎫 Open a *PowerShell* session and navigate to the cloned repository directory. \\\r\n🎫 **Run** the *Module Import* via the command below:\r\n\r\n```powershell\r\n# Import the module\r\ngit clone https://github.com/sgkens/csverify.git\r\ncd csverify\r\nImport-Module -Name csverify\r\nGet-Module -Name csverify\r\n\r\n# Check imported Module Functions\r\nGet-Module -Name csverify | Select-Object -expand ExportedFunctions\r\nGet-Module -Name csverify | select-object version\r\n```\r\n\r\n### 💼 Releases\r\n\r\nDownload the latest release from the [**Releases**](https://github.com/sgkens/csverify/releases) page.\r\n\r\n### 📦 Package Repositories\r\n\r\n[\u003cimg src=\"https://img.shields.io/powershellgallery/v/csverify?include_prereleases\u0026style=for-the-badge\u0026logo=powershell\"/\u003e](https://www.powershellgallery.com/packages/commitfusion/0.4.3) \u003cimg src=\"https://img.shields.io/powershellgallery/dt/csverify?label=Downloads\u0026style=for-the-badge\"\u003e\r\n\r\n```powershell\r\n# Install The Module from the PsGal\r\nInstall-Module -Name csverify -force\r\n\r\n# Import Module into you powershell session\r\nImport-Module -Name csverify\r\n```\r\n\r\n\u003e *Note!*  \r\n\u003e You may need to `Set-ExecutionPolicy` to `RemoteSigned` or `Unrestricted` to install from the PSGallary.\r\n\r\n[\u003cimg src=\"https://img.shields.io/chocolatey/v/csverify?style=for-the-badge\u0026logo=chocolatey\"/\u003e](https://Chocolatory.org/sgkens/commitfusion) \u003cimg src=\"https://img.shields.io/chocolatey/dt/csverify?label=Downloads\u0026style=for-the-badge\"\u003e\r\n\r\n```powershell\r\n# Install The Module from the PsGal\r\nchoco install davilion.csverify\r\n\r\n# Import Module into you powershell session\r\nImport-Module -Name csverify\r\n```\r\n\r\n\u003e *How-to!* \\\r\n\u003e Installing *Chocolatey* Package Repository\r\n[**How to Install**](https)  [🧷https://chocolatey.org/install](https://chocolatey.org/install)\r\n\r\n## 📒 Documentaiton\r\n\r\n### CMDLETS\r\n\r\n#### New-CheckSum\r\nNew-CheckSum generates and returns sha256 hash for each within the specified folder. New-Verification unitilizes `New-Checksum` \u0026 `Read-CheckSum`.\r\n\r\n```powershell\r\nNew-CheckSum -Path .\\\r\n```\r\n\r\n#### Read-CheckSum\r\nRead-CheckSum reads the verification file and returns a `PSCustomObject` *array* containg the file, path, size and hash.\r\n\r\n```powershell\r\nRead-CheckSum -Path .\\\r\n```\r\n\r\n#### New-VerificationFile\r\nNew-VerificationFile generates the verification file. recersivlly compiles a list of all files present. For each file, it computes the SHA256 hash and records the **file**, **path**, **size** and its **hash** in the verification file(**VERIFICATION.txt**).\r\n\r\n```powershell\r\nNew-VerificationFile\r\n```\r\n\r\n#### Test-Verification\r\nTest-Verification is used to verify the integrity of the codebase base it compares the `SHA256` values from **VERIFICATION.txt** file and Returns file report.\r\n\r\n```powershell \r\nTest-Verification\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphellams%2Fcsverify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphellams%2Fcsverify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphellams%2Fcsverify/lists"}