{"id":15717013,"url":"https://github.com/armfazh/h2c-go-ref","last_synced_at":"2025-10-09T11:49:47.337Z","repository":{"id":38296514,"uuid":"236599112","full_name":"armfazh/h2c-go-ref","owner":"armfazh","description":"[RFC9380] Hash to curves - Go reference implementation ","archived":false,"fork":false,"pushed_at":"2025-05-01T06:01:18.000Z","size":314,"stargazers_count":21,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-15T05:17:06.846Z","etag":null,"topics":["cryptography","draft-irtf-cfrg-hash-to-curve","elliptic-curves","golang","hash","hash-to-curve","rfc-9380"],"latest_commit_sha":null,"homepage":"https://datatracker.ietf.org/doc/draft-irtf-cfrg-hash-to-curve","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/armfazh.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-01-27T21:28:26.000Z","updated_at":"2025-05-01T06:01:20.000Z","dependencies_parsed_at":"2025-05-01T06:36:30.002Z","dependency_job_id":null,"html_url":"https://github.com/armfazh/h2c-go-ref","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/armfazh/h2c-go-ref","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armfazh%2Fh2c-go-ref","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armfazh%2Fh2c-go-ref/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armfazh%2Fh2c-go-ref/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armfazh%2Fh2c-go-ref/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/armfazh","download_url":"https://codeload.github.com/armfazh/h2c-go-ref/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armfazh%2Fh2c-go-ref/sbom","scorecard":{"id":207567,"data":{"date":"2025-08-11","repo":{"name":"github.com/armfazh/h2c-go-ref","commit":"f7ab85f82259301238847f66915aebacf21dd408"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"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":"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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 4/18 approved changesets -- score normalized to 2","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml: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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/armfazh/h2c-go-ref/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/armfazh/h2c-go-ref/go.yml/master?enable=pin","Info:   0 out of   2 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":"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: BSD 3-Clause \"New\" or \"Revised\" License: 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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 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"}},{"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"}}]},"last_synced_at":"2025-08-17T00:06:41.267Z","repository_id":38296514,"created_at":"2025-08-17T00:06:41.268Z","updated_at":"2025-08-17T00:06:41.268Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001314,"owners_count":26083059,"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-09T02:00:07.460Z","response_time":59,"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":["cryptography","draft-irtf-cfrg-hash-to-curve","elliptic-curves","golang","hash","hash-to-curve","rfc-9380"],"created_at":"2024-10-03T21:48:28.456Z","updated_at":"2025-10-09T11:49:47.285Z","avatar_url":"https://github.com/armfazh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RFC9380 - Hashing to Elliptic Curves\n\n![Go](https://github.com/armfazh/h2c-go-ref/workflows/Go/badge.svg)\n\n---\n\n**IETF Data Tracker**: [draft-irtf-cfrg-hash-to-curve](https://datatracker.ietf.org/doc/draft-irtf-cfrg-hash-to-curve)\n\n**Internet RFC-9380**: [git repository](https://github.com/cfrg/draft-irtf-cfrg-hash-to-curve)\n\nThis document specifies a number of algorithms that may be used to encode or hash an arbitrary string to a point on an elliptic curve.\n\n### Reference Implementation\n\nThe purpose of this implementation is for generating test vectors and enabling cross compatibility with other implementations.\n\nThis implementation is for reference only. It **MUST NOT** be used in production systems.\n\n**Development branch**: [master](https://github.com/armfazh/h2c-go-ref/tree/master)\n\n#### Draft versions implemented\n **Latest**: [v14]\n\n Previous: [v12], [v10], [v08], [v07], [v06], [v05].\n\n [v14]: https://github.com/armfazh/h2c-go-ref/tree/v14.0.0\n [v12]: https://github.com/armfazh/h2c-go-ref/tree/v12.0.0\n [v10]: https://github.com/armfazh/h2c-go-ref/tree/v10.0.1\n [v08]: https://github.com/armfazh/h2c-go-ref/tree/v8.0.0\n [v07]: https://github.com/armfazh/h2c-go-ref/tree/v7.0.0\n [v06]: https://github.com/armfazh/h2c-go-ref/tree/v6.0.0\n [v05]: https://github.com/armfazh/h2c-go-ref/tree/v5.0.0\n\n#### Compatible Implementations\n -   [Sage](https://github.com/cfrg/draft-irtf-cfrg-hash-to-curve/tree/master/poc)\n -   [rust](https://github.com/armfazh/h2c-rust-ref)\n\n\n### Internals\n\n![hash to curve](https://github.com/cfrg/draft-irtf-cfrg-hash-to-curve/blob/main/drawings/diag.png)\n\n### Contact\n\nFeel free to open a github issue for anything related to the implementation, otherwise [e-mail](mailto:draft-irtf-cfrg-hash-to-curve@ietf.org) authors of the draft.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmfazh%2Fh2c-go-ref","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmfazh%2Fh2c-go-ref","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmfazh%2Fh2c-go-ref/lists"}