asherah 0.8.2-aarch64-linux → 0.9.0-aarch64-linux
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +3 -3
- data/ext/asherah/checksums.yml +5 -5
- data/ext/asherah/native_file.rb +1 -1
- data/lib/asherah/config.rb +0 -2
- data/lib/asherah/native/libasherah-arm64.so +0 -0
- data/lib/asherah/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3760b3ad06d6ef7509ffe1e07a33568cde4ab1c97ec454f82c632784375ed17c
|
|
4
|
+
data.tar.gz: 58b5da7e68bf50cd686cc7efc98d14cfb122a44096a21cbcbf93d2d7045a6a4d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 41beec3de822ed01365710727b5d77da63859bae851471c1af87b4de4354038cd8d512782b00a7ea552cd81e31cdc3120c640ee4c7e051079dd2397fb663c199
|
|
7
|
+
data.tar.gz: c78b0d262f9fd854e84d02ca4d3f1fd44b8da6a845b0ef0c2984861b84bf8cc239655e7cf2481eb8dda1d0970e34ec3948690629055979e68f22b36f65b9b9aa
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Asherah
|
|
2
2
|
|
|
3
|
-
Asherah is a Ruby FFI wrapper around
|
|
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
|
|
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
|
|
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
|
data/ext/asherah/checksums.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
version: v0.
|
|
2
|
-
libasherah-arm64.so:
|
|
3
|
-
libasherah-x64.so:
|
|
4
|
-
libasherah-arm64.dylib:
|
|
5
|
-
libasherah-x64.dylib:
|
|
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
|
data/ext/asherah/native_file.rb
CHANGED
|
@@ -47,7 +47,7 @@ class NativeFile
|
|
|
47
47
|
|
|
48
48
|
begin
|
|
49
49
|
tries += 1
|
|
50
|
-
url = "https://github.com/godaddy/asherah-
|
|
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
|
data/lib/asherah/config.rb
CHANGED
|
@@ -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
|
|
Binary file
|
data/lib/asherah/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- GoDaddy
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cobhan
|
|
@@ -64,7 +64,7 @@ metadata:
|
|
|
64
64
|
source_code_uri: https://github.com/godaddy/asherah-ruby
|
|
65
65
|
changelog_uri: https://github.com/godaddy/asherah-ruby/blob/main/CHANGELOG.md
|
|
66
66
|
rubygems_mfa_required: 'true'
|
|
67
|
-
post_install_message:
|
|
67
|
+
post_install_message:
|
|
68
68
|
rdoc_options: []
|
|
69
69
|
require_paths:
|
|
70
70
|
- lib
|
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
80
80
|
version: '0'
|
|
81
81
|
requirements: []
|
|
82
82
|
rubygems_version: 3.4.19
|
|
83
|
-
signing_key:
|
|
83
|
+
signing_key:
|
|
84
84
|
specification_version: 4
|
|
85
85
|
summary: Application Layer Encryption SDK
|
|
86
86
|
test_files: []
|