enveloperb 0.1.6.6.g071addc-arm64-darwin → 0.3.0-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 153125b149a969b9647fdec129bb4622de546cc8672e808e16339d59ed60462b
4
- data.tar.gz: e06c71bf1679b9417e111a81e1f538cb2782a95ffd3101cfe4cee42e6749a378
3
+ metadata.gz: df409e6584c9b7285e95634507715627c546560c2ba202ed069379af78c53198
4
+ data.tar.gz: ffb3eac7b12fed8839b9dd23a9c69042362ec4d8f0745649ec5787f9b580931d
5
5
  SHA512:
6
- metadata.gz: 05e480d40c601a53103816342819b73408c083220b3676be4a8306ba5630b95dcc031af5a158f8954d8fa4dc9e6810a3e66a8a0691cb31ea734358f51a244a91
7
- data.tar.gz: 7b931122b8c91165b2016200b11d6c45f0027556f7d9ff035c8a2fadc4d8ac994a35d6191cc27278c9c566be7630983f7657d4a7b43884e7da81c1ecec4b59c4
6
+ metadata.gz: 9db8ec9003fd93b001e218b8dbd981b74485f762a1b775460effdc3e524e5b42326d40cefda3e112520b59866c7941f8244adbbf79a432d67c6e4e541c289451
7
+ data.tar.gz: 491e13b6f57ebddc87403864308dcf093382c5e47727129d15836e397f1bbb8a98dffcb8254829648b2d81af669cf3b08d0ac76eac4993a7c11c4cb474c7139a
data/CODEOWNERS ADDED
@@ -0,0 +1,2 @@
1
+ * @cipherstash/ruby
2
+ *.rs @cipherstash/rust
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://github.com/cipherstash/enveloperb"
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'
@@ -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
- "enveloper",
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"
@@ -4,7 +4,7 @@ version = "0.0.0"
4
4
  edition = "2021"
5
5
 
6
6
  [dependencies]
7
- enveloper = { git = "https://github.com/cipherstash/enveloper", branch = "main" }
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" }
@@ -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 enveloper::{EncryptedRecord, EnvelopeCipher, KMSKeyProvider, SimpleKeyProvider};
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};
Binary file
Binary file
Binary file
@@ -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.1.6.6.g071addc
4
+ version: 0.3.0
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Matt Palmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-20 00:00:00.000000000 Z
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://github.com/cipherstash/enveloperb
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: 1.3.1
231
+ version: '0'
225
232
  requirements: []
226
233
  rubygems_version: 3.4.0.dev
227
234
  signing_key: