{"id":18732520,"url":"https://github.com/gsscoder/integrity","last_synced_at":"2025-07-23T04:03:41.921Z","repository":{"id":150998352,"uuid":"239076502","full_name":"gsscoder/integrity","owner":"gsscoder","description":"Experimental .NET library to verify integrity of a system","archived":false,"fork":false,"pushed_at":"2021-12-08T06:19:57.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-19T23:08:46.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/gsscoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2020-02-08T05:44:28.000Z","updated_at":"2021-12-08T06:19:46.000Z","dependencies_parsed_at":"2023-05-22T18:15:46.229Z","dependency_job_id":null,"html_url":"https://github.com/gsscoder/integrity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gsscoder/integrity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsscoder%2Fintegrity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsscoder%2Fintegrity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsscoder%2Fintegrity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsscoder%2Fintegrity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gsscoder","download_url":"https://codeload.github.com/gsscoder/integrity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsscoder%2Fintegrity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266614306,"owners_count":23956341,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-07T15:06:31.819Z","updated_at":"2025-07-23T04:03:41.904Z","avatar_url":"https://github.com/gsscoder.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Integrity\n\nExperimental .NET library to verify integrity of a system.\n\n## Philosophy\n\nThe idea behind Integrity is to allow testability of a system deployment. It's a library that can be used by any .NET language, but aims to become a **C# DSL**.\n\n## Targets\n\n- .NET Standard 2.0\n- .NET Framework 4.6.1\n\n## Build and sample\n\n```sh\n# clone the repository\n$ git clone https://github.com/gsscoder/integrity.git\n\n# build the package\n$ cd integrity/src/Integrity\n$ dotnet build -c release\n\n# execute sample\n$ cd integrity/src/Integrity.Sample\n$ dotnet build -c debug\n$ env INTEGRITY_SAMPLE=\"/absolute/path/to/integrity/src/Integrity.Sample/data\" dotnet test\n...\nTest Run Successful.\nTotal tests: 1\n     Passed: 1\n Total time: 2.5333 Seconds\n```\n\n## At a glance\n\n**CSharp:**\n\n```csharp\nclass MyApplication : Application \n{\n    public Paths FileSystem =\u003e Paths\n        .SetBasePath(Environment.GetEnvironmentVariable(\"INTEGRITY_SAMPLE\"))\n        .AddFile(\"empty0\")\n        .AddFile(\"empty1\")\n        .AddFile(\"empty2\")\n        .AddDirectory(\"empty\");\n\n    public Hosts Network =\u003e Hosts\n        .AddHost(\"github.com\")\n        .AddHost(\"google.com\");\n}\n\npublic class IntegritySpecs\n{\n    [Fact]\n    public async void Prove_integrity()\n    {\n        // Setup the proving context\n        var context = new MyApplication().ToProvingContext();\n\n        // Prove the system integrity\n        var evidence = await context.ProveAsync();\n\n        // Verify the outcome\n        evidence.ShouldBeProved();\n    }\n}\n```\n\n## Libraries\n\n- [System.IO.Abstractions](https://github.com/System-IO-Abstractions/System.IO.Abstractions)\n- [RailwaySharp](https://github.com/gsscoder/railwaysharp)\n- [CSharpx](https://github.com/gsscoder/csharpx)\n- [xUnit.net](https://github.com/xunit/xunit)\n- [FluentAssertions](https://github.com/fluentassertions/fluentassertions)\n- [Bogus](https://github.com/bchavez/Bogus)\n\n## Tools\n\n- [Paket](https://github.com/fsprojects/Paket)\n\n### Notes\n\n- Integrity is still under development. Library has few `EvidenceProvider` and API could change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsscoder%2Fintegrity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsscoder%2Fintegrity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsscoder%2Fintegrity/lists"}