{"id":28807252,"url":"https://github.com/edgelesssys/estore","last_synced_at":"2025-07-29T23:34:08.168Z","repository":{"id":238497002,"uuid":"796609679","full_name":"edgelesssys/estore","owner":"edgelesssys","description":"A key-value store that provides confidentiality and \"snapshot integrity\".","archived":false,"fork":false,"pushed_at":"2025-02-05T15:25:06.000Z","size":21239,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-18T11:53:32.209Z","etag":null,"topics":["database","encryption"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edgelesssys.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":"2024-05-06T09:32:23.000Z","updated_at":"2025-02-26T07:02:49.000Z","dependencies_parsed_at":"2025-06-18T11:40:58.520Z","dependency_job_id":"b06f609f-8c12-498c-8c6d-5636ff11324d","html_url":"https://github.com/edgelesssys/estore","commit_stats":null,"previous_names":["edgelesssys/ego-kvstore"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/edgelesssys/estore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgelesssys%2Festore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgelesssys%2Festore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgelesssys%2Festore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgelesssys%2Festore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgelesssys","download_url":"https://codeload.github.com/edgelesssys/estore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgelesssys%2Festore/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267780205,"owners_count":24143202,"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-29T02:00:12.549Z","response_time":2574,"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":["database","encryption"],"created_at":"2025-06-18T11:40:30.895Z","updated_at":"2025-07-29T23:34:08.160Z","avatar_url":"https://github.com/edgelesssys.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EStore\n\nEStore is a key-value store with authenticated encryption for data at rest.\nIt's based on [Pebble](https://github.com/cockroachdb/pebble), the key-value store used in CockroachDB.\nEStore provides confidentiality *and* integrity for the database state as a whole.\nWe call this \"snapshot integrity.\"\nIn contrast, other database encryption schemes typically only provide integrity at the record or file level.\nAs a result, in those cases, attackers can modify parts of the database state unnoticed.\n\nWith these properties, EStore is particularly well suited for use with [EGo](https://github.com/edgelesssys/ego) to build [confidential-computing apps](https://www.edgeless.systems/confidential-computing).\nHowever, you can use EStore in any Go application to store sensitive information in a structured way.\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"crypto/rand\"\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/edgelesssys/estore\"\n)\n\nfunc main() {\n\t// Generate an encryption key\n\tencryptionKey := make([]byte, 16)\n\t_, err := rand.Read(encryptionKey)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\t// Create an encrypted store\n\topts := \u0026estore.Options{\n\t\tEncryptionKey: encryptionKey,\n\t}\n\tdb, err := estore.Open(\"demo\", opts)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tdefer db.Close()\n\n\t// Set a key-value pair\n\tkey := []byte(\"hello\")\n\tif err := db.Set(key, []byte(\"world\"), nil); err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\t// Get the value of the key\n\tvalue, closer, err := db.Get(key)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tdefer closer.Close()\n\tfmt.Printf(\"%s %s\\n\", key, value)\n}\n```\n\n## License\n\nEStore is licensed under [AGPL-3.0](LICENSE).\nIt uses code licensed under a [BSD-style license](LICENSE.pebble).\n\nYou can also get a [commercial license and enterprise support](https://www.edgeless.systems/enterprise-support).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgelesssys%2Festore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgelesssys%2Festore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgelesssys%2Festore/lists"}