enveloperb 0.1.6.6.g071addc-x86_64-linux → 0.3.0-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODEOWNERS +2 -0
- data/enveloperb.gemspec +8 -1
- data/ext/enveloperb/Cargo.lock +17 -16
- data/ext/enveloperb/Cargo.toml +1 -1
- data/ext/enveloperb/src/lib.rs +1 -1
- data/lib/2.7/enveloperb.so +0 -0
- data/lib/3.0/enveloperb.so +0 -0
- data/lib/3.1/enveloperb.so +0 -0
- data/lib/enveloperb/simple.rb +0 -2
- metadata +13 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e87014a2f4a2fd24a069d89fcb25045410bc02dafe124a2a0e3d0afa8c2db14f
|
4
|
+
data.tar.gz: b92e4427d83a81a8a512fd5e4e13d149348c4b4714c352876c6bd92c07f8c33d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a55986d0394457e6ad814799ce934d41a60ac239a55d08b443cdad5fc1a90e0c22223e856d72193e1c35251e48a3e651f3b39bbfa3b7e794499535aecb3c46f
|
7
|
+
data.tar.gz: 2ae0ff00f4859161015d61707b7c8ebf0d3b71913bd245d16c547c06412c390441a58dfbed1259c9a757c826fef54b4a2ec96e57985fdf9d19ccf3939d6cb175
|
data/CODEOWNERS
ADDED
data/enveloperb.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
|
17
17
|
s.authors = ["Matt Palmer"]
|
18
18
|
s.email = ["matt@cipherstash.com"]
|
19
|
-
s.homepage = "https://
|
19
|
+
s.homepage = "https://cipherstash.com"
|
20
20
|
|
21
21
|
s.files = `git ls-files -z`.split("\0").reject { |f| f =~ /^(\.|G|spec|Rakefile)/ }
|
22
22
|
|
@@ -24,6 +24,13 @@ Gem::Specification.new do |s|
|
|
24
24
|
|
25
25
|
s.required_ruby_version = ">= 2.7.0"
|
26
26
|
|
27
|
+
s.metadata["homepage_uri"] = s.homepage
|
28
|
+
s.metadata["source_code_uri"] = "https://github.com/cipherstash/enveloperb"
|
29
|
+
s.metadata["changelog_uri"] = "https://github.com/cipherstash/enveloperb/releases"
|
30
|
+
s.metadata["bug_tracker_uri"] = "https://github.com/cipherstash/enveloperb/issues"
|
31
|
+
s.metadata["documentation_uri"] = "https://rubydoc.info/gems/enveloperb"
|
32
|
+
s.metadata["mailing_list_uri"] = "https://discuss.cipherstash.com"
|
33
|
+
|
27
34
|
s.add_development_dependency 'bundler'
|
28
35
|
s.add_development_dependency 'github-release'
|
29
36
|
s.add_development_dependency 'guard-rspec'
|
data/ext/enveloperb/Cargo.lock
CHANGED
@@ -540,21 +540,6 @@ dependencies = [
|
|
540
540
|
"termcolor",
|
541
541
|
]
|
542
542
|
|
543
|
-
[[package]]
|
544
|
-
name = "enveloper"
|
545
|
-
version = "0.1.0"
|
546
|
-
source = "git+https://github.com/cipherstash/enveloper?branch=main#2b91536959b98a77ec88a75c758ce77f297514db"
|
547
|
-
dependencies = [
|
548
|
-
"aes-gcm",
|
549
|
-
"async-trait",
|
550
|
-
"aws-sdk-kms",
|
551
|
-
"rand",
|
552
|
-
"rand_chacha",
|
553
|
-
"serde",
|
554
|
-
"serde_cbor",
|
555
|
-
"thiserror",
|
556
|
-
]
|
557
|
-
|
558
543
|
[[package]]
|
559
544
|
name = "enveloperb"
|
560
545
|
version = "0.0.0"
|
@@ -562,13 +547,29 @@ dependencies = [
|
|
562
547
|
"aws-config",
|
563
548
|
"aws-sdk-kms",
|
564
549
|
"aws-types",
|
565
|
-
"
|
550
|
+
"envelopers",
|
566
551
|
"lazy_static 0.2.11",
|
567
552
|
"rb-sys",
|
568
553
|
"rutie",
|
569
554
|
"tokio",
|
570
555
|
]
|
571
556
|
|
557
|
+
[[package]]
|
558
|
+
name = "envelopers"
|
559
|
+
version = "0.2.0"
|
560
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
561
|
+
checksum = "23dbd85a683aabc899b8d9d2c891077e0f5f9dd20ae62b989d038fc241ab9257"
|
562
|
+
dependencies = [
|
563
|
+
"aes-gcm",
|
564
|
+
"async-trait",
|
565
|
+
"aws-sdk-kms",
|
566
|
+
"rand",
|
567
|
+
"rand_chacha",
|
568
|
+
"serde",
|
569
|
+
"serde_cbor",
|
570
|
+
"thiserror",
|
571
|
+
]
|
572
|
+
|
572
573
|
[[package]]
|
573
574
|
name = "fastrand"
|
574
575
|
version = "1.7.0"
|
data/ext/enveloperb/Cargo.toml
CHANGED
@@ -4,7 +4,7 @@ version = "0.0.0"
|
|
4
4
|
edition = "2021"
|
5
5
|
|
6
6
|
[dependencies]
|
7
|
-
|
7
|
+
envelopers = "0.2"
|
8
8
|
lazy_static = "^0.2.2"
|
9
9
|
rb-sys = "0.8.0"
|
10
10
|
rutie = { git = "https://github.com/mpalmer/rutie", branch = "rb_sys" }
|
data/ext/enveloperb/src/lib.rs
CHANGED
@@ -10,7 +10,7 @@ extern crate lazy_static;
|
|
10
10
|
use aws_config;
|
11
11
|
use aws_sdk_kms;
|
12
12
|
use aws_types;
|
13
|
-
use
|
13
|
+
use envelopers::{EncryptedRecord, EnvelopeCipher, KMSKeyProvider, SimpleKeyProvider};
|
14
14
|
use std::borrow::Cow;
|
15
15
|
use tokio::runtime::Runtime;
|
16
16
|
use rutie::{Class, Encoding, Hash, Module, Object, RString, Symbol, VerifiedObject, VM};
|
data/lib/2.7/enveloperb.so
CHANGED
Binary file
|
data/lib/3.0/enveloperb.so
CHANGED
Binary file
|
data/lib/3.1/enveloperb.so
CHANGED
Binary file
|
data/lib/enveloperb/simple.rb
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
module Enveloperb
|
2
2
|
# An Enveloperb cryptography engine using an unprotected string as the wrapping key.
|
3
3
|
#
|
4
|
-
# @note this class is not intended for general-purpose use.
|
5
|
-
#
|
6
4
|
class Simple
|
7
5
|
def self.new(k)
|
8
6
|
unless k.is_a?(String) && k.encoding == Encoding::BINARY
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enveloperb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Matt Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -185,6 +185,7 @@ executables: []
|
|
185
185
|
extensions: []
|
186
186
|
extra_rdoc_files: []
|
187
187
|
files:
|
188
|
+
- CODEOWNERS
|
188
189
|
- CODE_OF_CONDUCT.md
|
189
190
|
- CONTRIBUTING.md
|
190
191
|
- LICENCE
|
@@ -202,9 +203,15 @@ files:
|
|
202
203
|
- lib/enveloperb/awskms.rb
|
203
204
|
- lib/enveloperb/encrypted_record.rb
|
204
205
|
- lib/enveloperb/simple.rb
|
205
|
-
homepage: https://
|
206
|
+
homepage: https://cipherstash.com
|
206
207
|
licenses: []
|
207
|
-
metadata:
|
208
|
+
metadata:
|
209
|
+
homepage_uri: https://cipherstash.com
|
210
|
+
source_code_uri: https://github.com/cipherstash/enveloperb
|
211
|
+
changelog_uri: https://github.com/cipherstash/enveloperb/releases
|
212
|
+
bug_tracker_uri: https://github.com/cipherstash/enveloperb/issues
|
213
|
+
documentation_uri: https://rubydoc.info/gems/enveloperb
|
214
|
+
mailing_list_uri: https://discuss.cipherstash.com
|
208
215
|
post_install_message:
|
209
216
|
rdoc_options: []
|
210
217
|
require_paths:
|
@@ -219,9 +226,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
219
226
|
version: 3.2.dev
|
220
227
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
221
228
|
requirements:
|
222
|
-
- - "
|
229
|
+
- - ">="
|
223
230
|
- !ruby/object:Gem::Version
|
224
|
-
version:
|
231
|
+
version: '0'
|
225
232
|
requirements: []
|
226
233
|
rubygems_version: 3.4.0.dev
|
227
234
|
signing_key:
|