{"id":31951092,"url":"https://github.com/gapotchenko/adhoc-file-signer","last_synced_at":"2026-07-30T09:31:20.054Z","repository":{"id":317675890,"uuid":"1060145750","full_name":"gapotchenko/adhoc-file-signer","owner":"gapotchenko","description":"A minimalistic distributed file signing system with Authenticode and PKCS#11 support.","archived":false,"fork":false,"pushed_at":"2025-10-02T09:57:20.000Z","size":497,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-02T11:33:17.203Z","etag":null,"topics":["authenticode","code-signing","distributed","hsm","pkcs11"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gapotchenko.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-19T13:01:19.000Z","updated_at":"2025-10-02T09:57:23.000Z","dependencies_parsed_at":"2025-10-02T11:33:20.979Z","dependency_job_id":"065ba120-4106-4f30-87bb-139b5ae06f53","html_url":"https://github.com/gapotchenko/adhoc-file-signer","commit_stats":null,"previous_names":["gapotchenko/adhoc-file-signer"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gapotchenko/adhoc-file-signer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapotchenko%2Fadhoc-file-signer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapotchenko%2Fadhoc-file-signer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapotchenko%2Fadhoc-file-signer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapotchenko%2Fadhoc-file-signer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gapotchenko","download_url":"https://codeload.github.com/gapotchenko/adhoc-file-signer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gapotchenko%2Fadhoc-file-signer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018576,"owners_count":26086583,"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-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["authenticode","code-signing","distributed","hsm","pkcs11"],"created_at":"2025-10-14T12:58:40.118Z","updated_at":"2025-10-14T12:59:07.888Z","avatar_url":"https://github.com/gapotchenko.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adhoc File Signer\n\n**adhoc-file-signer** is a minimalistic, self-hosted system for distributed and\nautomated file signing. Despite its small footprint, it supports Authenticode\n(for Windows binaries) and PKCS#11 (for hardware tokens / HSMs), making it a\ngood enough solution for CI/CD pipelines and secure build environments.\n\nThe architecture of `adhoc-file-signer` follows the Unix philosophy by\nassembling small tunable components into a configurable and extensible system.\n\nThe project consists of two main components:\n\n- **[Client](source/client):** the `adhoc-sign-tool` command-line utility\n- **[Server](source/server):** an HTTP service that performs the actual signing\n  using an HSM or a password protected certificate file\n\n`adhoc-sign-tool` can then be used in various build environments to sign\nproduced files without exposing sensitive cryptographic material.\n\n## Getting Started\n\n- [Guide for Windows](docs/guides/getting-started/windows)\n\n## Supported Platforms\n\n- Linux\n- macOS\n- Windows\n\n## Limitations\n\nWhile `adhoc-file-signer` provides many benefits, its simple architecture also\nintroduces several constraints:\n\n- **File transmission:** Each file must be sent in full to the server for\n  signing which is a brute-force approach. A more advanced design would allow\n  signing to happen locally, with the server acting only as a remote HSM. This\n  would reduce client-server traffic volume by several orders of magnitude\n  making it ~10,000× less.\n\n- **Authentication:** Currently, authorization is limited to a basic API key\n  mechanism.\n\n- **Networking:** To be accessible globally, the `adhoc-file-signer` server must\n  be exposed to the internet. Since it lacks built-in encryption (HTTPS) and\n  tunneling support (port forwarding), a third-party solution such as\n  [Tailscale Funnel](https://tailscale.com/kb/1223/funnel) is required to secure\n  the traffic, which may add operational costs over time. Alternatively, you can\n  do it yourself by utilizing an intermediate HTTP proxy server with a proper\n  TLS termination and WAN port forwarding.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgapotchenko%2Fadhoc-file-signer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgapotchenko%2Fadhoc-file-signer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgapotchenko%2Fadhoc-file-signer/lists"}