{"id":29776896,"url":"https://github.com/godaddy/asherah-python","last_synced_at":"2025-07-27T10:21:11.855Z","repository":{"id":43124847,"uuid":"463704758","full_name":"godaddy/asherah-python","owner":"godaddy","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-13T18:34:14.000Z","size":94,"stargazers_count":5,"open_issues_count":6,"forks_count":2,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-07-18T09:59:23.683Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/godaddy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2022-02-25T23:36:29.000Z","updated_at":"2024-08-12T19:14:28.000Z","dependencies_parsed_at":"2022-09-26T17:00:52.840Z","dependency_job_id":null,"html_url":"https://github.com/godaddy/asherah-python","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/godaddy/asherah-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy%2Fasherah-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy%2Fasherah-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy%2Fasherah-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy%2Fasherah-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/godaddy","download_url":"https://codeload.github.com/godaddy/asherah-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy%2Fasherah-python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267342900,"owners_count":24071998,"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-27T02:00:11.917Z","response_time":82,"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":[],"created_at":"2025-07-27T10:21:01.161Z","updated_at":"2025-07-27T10:21:11.818Z","avatar_url":"https://github.com/godaddy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asherah-python\n\nAsherah envelope encryption and key rotation library\n\nThis is a wrapper of the Asherah Go implementation using the Cobhan FFI library\n\n## Usage\n\nExample code:\n\n```python\nfrom asherah import Asherah, AsherahConfig\n\nconfig = AsherahConfig(\n    kms='static',\n    metastore='memory',\n    service_name='TestService',\n    product_id='TestProduct',\n    verbose=True,\n    enable_session_caching=True\n)\ncrypt = Asherah()\ncrypt.setup(config)\n\ndata = b\"mysecretdata\"\n\nencrypted = crypt.encrypt(\"partition\", data)\nprint(encrypted)\n\ndecrypted = crypt.decrypt(\"partition\", encrypted)\nprint(decrypted)\n```\n\n## Benchmarking\n\nIncluded is a `benchmark.py` script that will give you an idea of the execution\nspeeds you can see from this library. Our goal is to make this as performant as\npossible, as demonstrated by this example output:\n\n```sh\n\u003e python benchmark.py\nBenchmarking encrypt/decrypt round trips of \"mysecretdata\".\nExecuted 100 iterations in 0.026045440000000003 seconds.\nExecuted 1000 iterations in 0.237702095 seconds.\nExecuted 10000 iterations in 2.3570790550000003 seconds.\nExecuted 100000 iterations in 23.717442475 seconds.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodaddy%2Fasherah-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgodaddy%2Fasherah-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodaddy%2Fasherah-python/lists"}