{"id":16813025,"url":"https://github.com/hiddeco/sshsig","last_synced_at":"2025-08-23T01:35:13.127Z","repository":{"id":143198715,"uuid":"615047983","full_name":"hiddeco/sshsig","owner":"hiddeco","description":"Go implementation of the OpenSSH SSH Signature protocol. Sign and verify messages using SSH keys in Go.","archived":false,"fork":false,"pushed_at":"2025-06-13T21:24:07.000Z","size":170,"stargazers_count":14,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-13T22:26:36.170Z","etag":null,"topics":["go","golang","openssh","signature-verification","signing","ssh"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiddeco.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":"2023-03-16T21:04:26.000Z","updated_at":"2025-06-13T21:24:11.000Z","dependencies_parsed_at":"2023-09-26T00:37:27.492Z","dependency_job_id":"a6e796c7-4c2d-490c-87e4-dc57cccff399","html_url":"https://github.com/hiddeco/sshsig","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hiddeco/sshsig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiddeco%2Fsshsig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiddeco%2Fsshsig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiddeco%2Fsshsig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiddeco%2Fsshsig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiddeco","download_url":"https://codeload.github.com/hiddeco/sshsig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiddeco%2Fsshsig/sbom","scorecard":{"id":464089,"data":{"date":"2025-08-11","repo":{"name":"github.com/hiddeco/sshsig","commit":"5c2fe52657271659bd2044ef581bfbd67eb7e410"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.6,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:   6 out of   6 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/1 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":5,"reason":"6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yaml:17","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yaml:16","Info: jobLevel 'contents' permission set to 'read': .github/workflows/test.yaml:20","Warn: no topLevel permission defined: .github/workflows/codeql.yaml:1","Warn: no topLevel permission defined: .github/workflows/test.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T11:58:36.458Z","repository_id":143198715,"created_at":"2025-08-19T11:58:36.458Z","updated_at":"2025-08-19T11:58:36.458Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271730226,"owners_count":24811061,"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-08-22T02:00:08.480Z","response_time":65,"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":["go","golang","openssh","signature-verification","signing","ssh"],"created_at":"2024-10-13T10:24:20.985Z","updated_at":"2025-08-23T01:35:13.105Z","avatar_url":"https://github.com/hiddeco.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sshsig\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/openssh/sshsig.svg)][godoc]\n[![Go Report Card](https://goreportcard.com/badge/github.com/hiddeco/sshsig)][goreport]\n\nThis Go library implements the [`SSHSIG` wire protocol][sshsig-protocol], and\ncan be used to sign and verify messages using SSH keys.\n\nCompared to other implementations, this library does all the following:\n\n- Accepts an `io.Reader` as input for signing and verifying messages.\n- Performs simple public key fingerprint and namespace mismatch checks in\n  `Verify`. Malicious input will still fail signature verification, but this\n  provides more useful error messages.\n- Properly uses `ssh-sha2-512` as signature algorithm when signing with an RSA\n  private key, as [described in the protocol][sshsig-rsa-req].\n- Does not accept a `Sign` operation without a `namespace` as [specified in the\n  protocol][sshsig-namespace-req].\n- Allows `Verify` operations to be performed without a `namespace`, ensuring\n  compatibility with loose implementations.\n- Provides `Armor` and `Unarmor` functions to encode/decode the signature\n  to/from an (armored) PEM format.\n\nFor more information about the use of this library, see the [Go Reference][godoc].\n\n## Acknowledgements\n\nThere are several other implementations of the `SSHSIG` protocol in Go, from\nwhich this library has borrowed ideas:\n\n- [go-sshsig][go-sshsig] by Paul Tagliamonte\n- [Sigstore Rekor][rekor-ssh] from the Sigstore project\n\n[sshsig-protocol]: https://github.com/openssh/openssh-portable/blob/V_9_2_P1/PROTOCOL.sshsig\n[sshsig-rsa-req]: https://github.com/openssh/openssh-portable/blob/V_9_2_P1/PROTOCOL.sshsig#L69-L72\n[sshsig-namespace-req]: https://github.com/openssh/openssh-portable/blob/V_9_2_P1/PROTOCOL.sshsig#L57\n[go-sshsig]: https://github.com/paultag/go-sshsig/tree/a684343203bd83859fbe5783fc976948b4413010\n[rekor-ssh]: https://github.com/sigstore/rekor/tree/v1.0.1/pkg/pki/ssh\n[godoc]: https://pkg.go.dev/github.com/hiddeco/sshsig\n[goreport]: https://goreportcard.com/report/github.com/hiddeco/sshsig\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiddeco%2Fsshsig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiddeco%2Fsshsig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiddeco%2Fsshsig/lists"}