asherah 0.8.2 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01e42d9891c75ba54960500d5483ff22dc640c801eea12479aced509c626bad9
4
- data.tar.gz: f9abbe6b7aeff3afe7bc639cf07baffbaab151a2152d5209dc3cc801293a63f3
3
+ metadata.gz: 6a177a3b92b29f009e75e281b919962405d16b77349a26fb40007f18819698dd
4
+ data.tar.gz: 0602bad5b94ca4cd367911bbef6649c411fe32b8c768261228d3099f4fa0fc7e
5
5
  SHA512:
6
- metadata.gz: d2a80f9cad55fa3f1d0e6b286d148bc5ef394a002419cd1e26953bff7dfce2d6e9cbfdaf6a0070c768c149bf78751fd298c3b9eb5ab07bdfc3ec4e28152aab00
7
- data.tar.gz: 1c78bc299a90b153610ea43da8b544e780ce61f147e5c1d9e67e6f17cbbb39b38bc7a54b01b1a631c78fdc9a1b729ed2fa73cec230f65535b42662fdf9985872
6
+ metadata.gz: 595ab3afcc66b89c6f708783c646b2fc55e028f49601e0e94ea8ee416798ac19c489251a06354dc7b8f97815c09f9fd025498241fdb5b6f405207280c48efed6
7
+ data.tar.gz: 8895b12badaad51e75bdd8a254e03612f0ade307d5cdb27aa694d64ac0b437115884f183c0d4131cc4b9758fa6e2aad08b7a3d56945f9a253b60b9c3cb8ed656
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.9.0] - 2026-03-20
4
+
5
+ - Replace asherah-cobhan with asherah-ffi v0.6.44
6
+ - Remove null_data_check configuration option
7
+
3
8
  ## [0.8.2] - 2026-03-09
4
9
 
5
10
  - Upgrade to use asherah-cobhan v0.5.3
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Asherah
2
2
 
3
- Asherah 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.
3
+ Asherah is a Ruby FFI wrapper around the Rust version of [Asherah](https://github.com/godaddy/asherah-ffi) 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.
4
4
 
5
5
  Check out the following documentation to get more familiar with the concepts and configuration options:
6
6
 
@@ -45,7 +45,7 @@ Asherah.configure do |config|
45
45
  end
46
46
  ```
47
47
 
48
- See [config.rb](lib/asherah/config.rb) for all evailable configuration options.
48
+ See [config.rb](lib/asherah/config.rb) for all available configuration options.
49
49
 
50
50
  Encrypt some data for a `partition_id`
51
51
 
@@ -71,7 +71,7 @@ For tests requiring secrets (AWS KMS, database credentials), copy `.env.secrets.
71
71
 
72
72
  ### Cross-Language Tests
73
73
 
74
- Cross-language tests verify that data encrypted with the Go implementation can be decrypted with the Ruby implementation and vice versa.
74
+ Cross-language tests verify that data encrypted with the Rust implementation can be decrypted with the Ruby implementation and vice versa.
75
75
 
76
76
  **Prerequisites:**
77
77
  - MySQL running locally
@@ -1,5 +1,5 @@
1
- version: v0.5.3
2
- libasherah-arm64.so: 9315240c2eb0aafb342ddbd399ada545faf51cbc651c8f69c3d2dd64eb31c63c
3
- libasherah-x64.so: a873fafb85b0ee310c78d1cbf8cd5db1684bea7d4db9c6b53dcd8e68e546fcf2
4
- libasherah-arm64.dylib: 76b4652b02e745992ff1c064722628432fa5e04f49ef2cfed2299215ea71290a
5
- libasherah-x64.dylib: 0e78b9318a35bbb4bbe12aeed09ee2b850de43ba3660460c5d3b220b010c04f0
1
+ version: v0.6.44
2
+ libasherah-arm64.so: a43189b122d29bcb1731a9dc1b386faba0d8445aa46f2182ab286d2174ed8407
3
+ libasherah-x64.so: 4945a44e2302b8ff5c27b52bafca67e8a6dfff4dc1f76e61ce2092ee979a9df5
4
+ libasherah-arm64.dylib: d57267516cbb47fbc4a2f5e453053b8a3db64ed05c5a1153d71043bf17e46833
5
+ libasherah-x64.dylib: 57c7c64817fb9f318eead8e371e20f17c76dce76e08f8bea2ff5a08aa368c4d8
@@ -47,7 +47,7 @@ class NativeFile
47
47
 
48
48
  begin
49
49
  tries += 1
50
- url = "https://github.com/godaddy/asherah-cobhan/releases/download/#{VERSION}/#{file_name}"
50
+ url = "https://github.com/godaddy/asherah-ffi/releases/download/#{VERSION}/#{file_name}"
51
51
  puts "Downloading #{url}"
52
52
  URI.parse(url).open.read
53
53
  rescue Net::OpenTimeout, Net::ReadTimeout => e
@@ -22,7 +22,6 @@ module Asherah
22
22
  # @attr [Integer] check_interval, The amount of time in seconds before cached keys are considered stale
23
23
  # @attr [Boolean] enable_session_caching, Enable shared session caching
24
24
  # @attr [Boolean] disable_zero_copy, Disable zero-copy FFI input buffers to prevent use-after-free from caller runtime
25
- # @attr [Boolean] null_data_check, Log an error if input data is all null before or after encryption
26
25
  # @attr [Boolean] verbose, Enable verbose logging output
27
26
  class Config
28
27
  MAPPING = {
@@ -43,7 +42,6 @@ module Asherah
43
42
  session_cache_duration: :SessionCacheDuration,
44
43
  enable_session_caching: :EnableSessionCaching,
45
44
  disable_zero_copy: :DisableZeroCopy,
46
- null_data_check: :NullDataCheck,
47
45
  expire_after: :ExpireAfter,
48
46
  check_interval: :CheckInterval,
49
47
  verbose: :Verbose
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Asherah
4
- VERSION = '0.8.2'
4
+ VERSION = '0.9.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asherah
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoDaddy
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-03-09 00:00:00.000000000 Z
11
+ date: 2026-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cobhan
@@ -62,7 +62,7 @@ metadata:
62
62
  source_code_uri: https://github.com/godaddy/asherah-ruby
63
63
  changelog_uri: https://github.com/godaddy/asherah-ruby/blob/main/CHANGELOG.md
64
64
  rubygems_mfa_required: 'true'
65
- post_install_message:
65
+ post_install_message:
66
66
  rdoc_options: []
67
67
  require_paths:
68
68
  - lib
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements: []
80
80
  rubygems_version: 3.4.19
81
- signing_key:
81
+ signing_key:
82
82
  specification_version: 4
83
83
  summary: Application Layer Encryption SDK
84
84
  test_files: []