{"id":29708905,"url":"https://github.com/sapteamdev/easysign","last_synced_at":"2026-02-17T07:40:45.626Z","repository":{"id":258383588,"uuid":"873381023","full_name":"SAPTeamDEV/EasySign","owner":"SAPTeamDEV","description":"Signing and Verification library for C#","archived":false,"fork":false,"pushed_at":"2025-04-13T18:24:40.000Z","size":6207,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-22T05:59:24.286Z","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/SAPTeamDEV.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-16T04:27:13.000Z","updated_at":"2025-04-13T18:24:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ffd2939-822d-4366-82c7-c82ae3a84048","html_url":"https://github.com/SAPTeamDEV/EasySign","commit_stats":null,"previous_names":["sapteamdev/easysign"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SAPTeamDEV/EasySign","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAPTeamDEV%2FEasySign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAPTeamDEV%2FEasySign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAPTeamDEV%2FEasySign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAPTeamDEV%2FEasySign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAPTeamDEV","download_url":"https://codeload.github.com/SAPTeamDEV/EasySign/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAPTeamDEV%2FEasySign/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266737770,"owners_count":23976395,"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":"2025-07-23T19:08:03.498Z","updated_at":"2026-02-17T07:40:40.606Z","avatar_url":"https://github.com/SAPTeamDEV.png","language":"C#","readme":"# Easy Sign\n\n[![Gawe CI](https://github.com/SAPTeamDEV/EasySign/actions/workflows/main.yml/badge.svg?event=push)](https://github.com/SAPTeamDEV/EasySign/actions/workflows/main.yml)\n[![CodeQL](https://github.com/SAPTeamDEV/EasySign/actions/workflows/codeql.yml/badge.svg?event=push)](https://github.com/SAPTeamDEV/EasySign/actions/workflows/codeql.yml)\n[![NuGet Package Version](https://img.shields.io/nuget/v/SAPTeam.EasySign)](https://www.nuget.org/packages/SAPTeam.EasySign)\n[![NuGet Total Downloads](https://img.shields.io/nuget/dt/SAPTeam.EasySign)](https://www.nuget.org/packages/SAPTeam.EasySign)\n\nEasy Sign is a simple C# library for signing and verifying files. It supports multiple .NET targets, including .NET Standard 2.1, .NET 6, and .NET 8.\n\n## Features\n\n- Sign files with X.509 certificates.\n- Verify file integrity and signatures.\n- Store files within the bundle.\n- Support for concurrent operations.\n- AOT compilation support.\n- Logging support.\n\n## Installation\n\nTo install Easy Sign, run the following command:\n\n\n```\ndotnet add package SAPTeam.EasySign\n\n```\n\n## Usage\n\n### Creating a Bundle\n\n\n```\nusing SAPTeam.EasySign;\n\n// Initialize a new bundle\nvar bundle = new Bundle(\"path/to/dir\");\n\n// Add files to the bundle\nbundle.AddEntry(\"path/to/dir/file1.txt\");\nbundle.AddEntry(\"path/to/dir/file2.txt\");\n\n// Sign the bundle\nvar certificate = new X509Certificate2(\"path/to/certificate.pfx\", \"password\");\nvar privateKey = certificate.GetRSAPrivateKey();\nbundle.Sign(certificate, privateKey);\n\n// Save the bundle\nbundle.Update();\n\n```\n\n### Loading and Verifying a Bundle\n\n\n```\nusing SAPTeam.EasySign;\n\n// Load an existing bundle\nvar bundle = new Bundle(\"path/to/dir\");\nbundle.LoadFromFile();\n\n// Get certificate hash\nstring certificateHash = bundle.Signatures.Entries.First().Key;\n\n// Verify certificate\nbool isCertificateValid = bundle.VerifyCertificate(certificateHash);\n\n// Verify signature\nbool isSignatureValid = bundle.VerifySignature(certificateHash);\n\n// Verify files integrity\nbool isFileValid = bundle.VerifyFile(\"file1.txt\");\nbool isFile2Valid = bundle.VerifyFile(\"file2.txt\");\n\n```\n\n## Documentation\n\nA full API Documentation is available at [EasySign Project Site](https://sapteamdev.github.io/EasySign).\n\n## Command Line Interface\n\nEasy Sign also provides a command line interface (CLI) for signing and verifying files. To install the CLI tool, use the following command:\n\n\n```\ndotnet tool install -g SAPTeam.EasySign.Tool\n\n```\n\nFor more informations, see the [CLI Readme](https://github.com/SAPTeamDEV/EasySign/blob/master/src/EasySign.Cli/README.md).\n\n\n## Security Reporting\n\nIf you discover any security vulnerabilities, please report them by following our [Security Guidelines](https://github.com/SAPTeamDEV/EasySign/blob/master/SECURITY.md).\n\n## Contributing\n\nWe welcome contributions! Please see our [Contributing guide](https://github.com/SAPTeamDEV/EasySign/blob/master/CONTRIBUTING.md) for more information on how to get started.\n\n## License\n\nThis project is licensed under the [MIT License](https://github.com/SAPTeamDEV/EasySign/blob/master/LICENSE.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapteamdev%2Feasysign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapteamdev%2Feasysign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapteamdev%2Feasysign/lists"}