{"id":29776895,"url":"https://github.com/godaddy/asherah-ruby","last_synced_at":"2025-07-27T10:21:11.892Z","repository":{"id":42974515,"uuid":"463704668","full_name":"godaddy/asherah-ruby","owner":"godaddy","description":"Application-layer encryption SDK","archived":false,"fork":false,"pushed_at":"2025-03-19T17:06:07.000Z","size":142,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-07-18T09:59:23.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-02-25T23:35:55.000Z","updated_at":"2025-03-19T17:05:43.000Z","dependencies_parsed_at":"2023-01-20T02:04:08.644Z","dependency_job_id":"6224a74b-7335-4c90-a033-8ccbd946fa55","html_url":"https://github.com/godaddy/asherah-ruby","commit_stats":{"total_commits":102,"total_committers":2,"mean_commits":51.0,"dds":"0.019607843137254943","last_synced_commit":"5eb871dfb228ab5992277ab03b9f89acbe01c49e"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/godaddy/asherah-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy%2Fasherah-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy%2Fasherah-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy%2Fasherah-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy%2Fasherah-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/godaddy","download_url":"https://codeload.github.com/godaddy/asherah-ruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/godaddy%2Fasherah-ruby/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267342899,"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:20:59.977Z","updated_at":"2025-07-27T10:21:11.828Z","avatar_url":"https://github.com/godaddy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Asherah\n\nAsherah is a Ruby FFI wrapper around Go version of [Asherah](https://github.com/godaddy/asherah) application-layer encryption SDK. Asherah provides advanced encryption features and defense in depth against compromise. It uses a technique known as \"envelope encryption\" and supports cloud-agnostic data storage and key management.\n\nCheck out the following documentation to get more familiar with the concepts and configuration options:\n\n- [Design and Architecture](https://github.com/godaddy/asherah/blob/master/docs/DesignAndArchitecture.md)\n- [Key Caching](https://github.com/godaddy/asherah/blob/master/docs/KeyCaching.md)\n- [Key Management Service](https://github.com/godaddy/asherah/blob/master/docs/KeyManagementService.md)\n- [Metastore](https://github.com/godaddy/asherah/blob/master/docs/Metastore.md)\n- [System Requirements](https://github.com/godaddy/asherah/blob/master/docs/SystemRequirements.md)\n\n## Supported Platforms\n\nCurrently supported platforms are Linux and Darwin operating systems for x64 and arm64 CPU architectures.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'asherah'\n```\n\n```bash\nbundle install\n```\n\nOr install it yourself as:\n\n```bash\ngem install asherah\n```\n\n## Usage\n\nConfigure Asherah:\n\n```ruby\nAsherah.configure do |config|\n  config.kms = 'static'\n  config.metastore = 'memory'\n  config.service_name = 'service'\n  config.product_id = 'product'\nend\n```\n\nSee [config.rb](lib/asherah/config.rb) for all evailable configuration options.\n\nEncrypt some data for a `partition_id`\n\n```ruby\npartition_id = 'user_1'\ndata = 'PII data'\ndata_row_record_json = Asherah.encrypt(partition_id, data)\nputs data_row_record_json\n```\n\nDecrypt `data_row_record_json`\n\n```ruby\ndecrypted_data = Asherah.decrypt(partition_id, data_row_record_json)\nputs decrypted_data\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `rake install`.\n\nTo release a new version, update the version number in `version.rb`, create and push a version tag:\n\n```\ngit tag -a v$(rake version) -m \"Version $(rake version)\"\ngit push origin v$(rake version)\n```\n\nAnd then create a release in Github with title `echo \"Version $(rake version)\"` that will trigger `.github/workflows/publish.yml` workflow and push the `.gem` file to [rubygems.org](https://rubygems.org):\n\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/godaddy/asherah-ruby.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodaddy%2Fasherah-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgodaddy%2Fasherah-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgodaddy%2Fasherah-ruby/lists"}