{"id":38013965,"url":"https://github.com/ipni/dhstore","last_synced_at":"2026-02-07T03:04:31.177Z","repository":{"id":65231129,"uuid":"588174439","full_name":"ipni/dhstore","owner":"ipni","description":":lock_with_ink_pen: Service to store double hashed indexed records","archived":false,"fork":false,"pushed_at":"2025-11-20T02:53:46.000Z","size":249,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-17T05:31:07.729Z","etag":null,"topics":["double-hashing","privacy","store"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-01-12T13:59:53.000Z","updated_at":"2025-10-15T07:16:18.000Z","dependencies_parsed_at":"2023-11-21T19:27:37.395Z","dependency_job_id":"a42103fd-cc5e-41ff-bb23-b350d732db57","html_url":"https://github.com/ipni/dhstore","commit_stats":{"total_commits":122,"total_committers":7,"mean_commits":"17.428571428571427","dds":0.5983606557377049,"last_synced_commit":"f29d3eed115668dfb39f58c506264e3c82173715"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/ipni/dhstore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipni%2Fdhstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipni%2Fdhstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipni%2Fdhstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipni%2Fdhstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipni","download_url":"https://codeload.github.com/ipni/dhstore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipni%2Fdhstore/sbom","scorecard":{"id":303606,"data":{"date":"2025-08-11","repo":{"name":"github.com/ipni/dhstore","commit":"4d4c032f57ffaae35c581bd793bec5b1542640a4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"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":"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 1/27 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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/publish-ecr.yml:18","Info: jobLevel 'contents' permission set to 'read': .github/workflows/publish-ghcr.yml:34","Info: topLevel 'contents' permission set to 'read': .github/workflows/go-check.yml:10","Info: topLevel 'contents' permission set to 'read': .github/workflows/go-test.yml:10","Warn: no topLevel permission defined: .github/workflows/publish-ecr.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-ghcr.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release-check.yml:10","Warn: topLevel 'contents' permission set to 'write': .github/workflows/releaser.yml:9","Info: topLevel 'contents' permission set to 'read': .github/workflows/tagpush.yml:9","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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/go-check.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/go-check.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go-test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/go-test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-ecr.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/publish-ecr.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-ecr.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/publish-ecr.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-ghcr.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/publish-ghcr.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-ghcr.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/publish-ghcr.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-ghcr.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/publish-ghcr.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-ghcr.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/publish-ghcr.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-ghcr.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/publish-ghcr.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-ghcr.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/publish-ghcr.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-check.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/release-check.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/releaser.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/releaser.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tagpush.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/ipni/dhstore/tagpush.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:16: pin your Docker image by updating gcr.io/distroless/base-debian11 to gcr.io/distroless/base-debian11@sha256:ac69aa622ea5dcbca0803ca877d47d069f51bd4282d5c96977e0390d7d256455","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  11 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage 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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish-ecr.yml:12"],"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":"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":"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":"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":"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":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 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-17T21:25:00.217Z","repository_id":65231129,"created_at":"2025-08-17T21:25:00.218Z","updated_at":"2025-08-17T21:25:00.218Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29185120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T00:44:15.062Z","status":"online","status_checked_at":"2026-02-07T02:00:07.217Z","response_time":63,"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":["double-hashing","privacy","store"],"created_at":"2026-01-16T19:23:23.429Z","updated_at":"2026-02-07T03:04:31.156Z","avatar_url":"https://github.com/ipni.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :lock_with_ink_pen: `dhstore`\n\n[![Go Test](https://github.com/ipni/dhstore/actions/workflows/go-test.yml/badge.svg)](https://github.com/ipni/dhstore/actions/workflows/go-test.yml)\n\nA Service to store double hashed indexed records with their corresponding encrypted values backed by\nPebble key-value store according to\nthe [IPNI Reader Privacy specification](https://github.com/ipni/specs/pull/5).\n\nThe service exposes a HTTP API that allows clients to `PUT` or `GET` encrypted index value keys and encrypted IPNI metadata.\n\n## Usage\n\nThe repository provides a CLI command to start up the `dhstore` service, with following usage:\n\n```shell\n$ dhstore -h\nUsage of ./dhstore:\n  -blockCacheSize string\n    \tSize of pebble block cache. Can be set in Mi or Gi. (default \"1Gi\")\n  -disableWAL\n    \tWeather to disable WAL in Pebble dhstore.\n  -experimentalCompactionDebtConcurrency string\n    \tCompactionDebtConcurrency controls the threshold of compaction debt at which additional compaction concurrency slots are added. For every multiple of this value in compaction debt bytes, an additional concurrent compaction is added. This works \"on top\" of L0CompactionConcurrency, so the higher of the count of compaction concurrency slots as determined by the two options is chosen. Can be set in Mi or Gi. (default \"1Gi\")\n  -experimentalL0CompactionConcurrency int\n    \tThe threshold of L0 read-amplification at which compaction concurrency is enabled (if CompactionDebtConcurrency was not already exceeded). Every multiple of this value enables another concurrent compaction up to MaxConcurrentCompactions. (default 10)\n  -formatMajorVersion int\n    \tSets the format of pebble on-disk files. Unset or 0 uses the current version. Latest supported version is 16\n  -l0CompactionFileThreshold int\n    \tThe count of L0 files necessary to trigger an L0 compaction. (default 500)\n  -l0CompactionThreshold int\n    \tThe amount of L0 read-amplification necessary to trigger an L0 compaction. (default 2)\n  -l0StopWritesThreshold int\n    \tHard limit on Pebble L0 read-amplification. Writes are stopped when this threshold is reached. (default 12)\n  -listenAddr string\n    \tThe dhstore HTTP server listen address. (default \"0.0.0.0:40080\")\n  -logLevel string\n    \tThe logging level. Only applied if GOLOG_LOG_LEVEL environment variable is unset. (default \"info\")\n  -maxConcurrentCompactions int\n    \tSpecifies the maximum number of concurrent Pebble compactions. As a rule of thumb set it to the number of the CPU cores. (default 10)\n  -metricsAddr string\n    \tThe dhstore metrics HTTP server listen address. (default \"0.0.0.0:40081\")\n  -providersURL value\n    \tProviders URL to enable dhfind. Multiple OK\n  -storePath string\n    \tThe path at which the dhstore data persisted. (default \"./dhstore/store\")\n  -storeType pebble\n    \tThe store type to use. only pebble and `fdb` is supported. Defaults to `pebble`. When `fdb` is selected, all `fdb*` args must be set. (default \"pebble\")\n  -version\n    \tShow version information,\n```\n\n## Run Server Locally\n\nTo run the server locally, execute:\n\n```shell\n$ go run cmd/dhstore/main.go\n```\n\nThe above command starts the HTTP API exposed on default listen address: `http://localhost:40080`\n\nFor more information\n\n## Install\n\nTo install `dhstore` CLI directly via Golang, run:\n\n```shell\n$ go install github.com/ipni/dhstore/cmd/dhstore@latest\n```\n\nTo install `dhstore` with FDB support, run:\n\n```shell\n$ go install -tags fdb github.com/ipni/dhstore/cmd/dhstore@latest\n```\n\n## License\n\n[SPDX-License-Identifier: Apache-2.0 OR MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipni%2Fdhstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipni%2Fdhstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipni%2Fdhstore/lists"}