enveloperb 0.1.6.4.g29b8d3c → 0.3.0

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: a7c7cb48f97995176b456021ba64e33c26598c030dd3dfb821f34aa2570dac54
4
- data.tar.gz: c33d62d37ebf9d5afa21d34e64d9f8ababe1e9d6c33eef094c67d137e14230ad
3
+ metadata.gz: dfb82f4b6371c1435b7f2307d1db09cf6a44f421b8acb16a3a9b1979498e6702
4
+ data.tar.gz: 1c39075376d72a7dfb9fafb36e3d9c6bcd27a526f0e78cedfebd8a182f85b8a4
5
5
  SHA512:
6
- metadata.gz: 36c6fb555560313b97b5b527b00c6f763935a2d32e4e3e02f288d2420f86bd7f06c50921366771dddee70cca81040ab30eab8ea0569f346ae958ef0948979c2f
7
- data.tar.gz: 0e7ad34c3548fa8142042c0b8f665b4fad1c3c24082795c824444d90def9b557acb4303825c58d5550fab39d829a71a290e2b582b4389f4fb933d491cc503fe8
6
+ metadata.gz: bbdfa1ea2c5756fc2827b0c1251cf948fe61af035346c5af5623f1375608e3aff0e2e7f88d21866baedc42b2a64bf10fb28d0bc8a26f857d9d44d40992c6a841
7
+ data.tar.gz: 4901b62d8cb6ce7a30f504fda910078fb6303d715a1f7c4306b69465907768d13905f6a3daa92e6b18f636a2d617883d6bf18b488090e857b1e2f9c6af9b334d
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};
@@ -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.4.g29b8d3c
4
+ version: 0.3.0
5
5
  platform: ruby
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
@@ -186,6 +186,7 @@ extensions:
186
186
  - ext/enveloperb/extconf.rb
187
187
  extra_rdoc_files: []
188
188
  files:
189
+ - CODEOWNERS
189
190
  - CODE_OF_CONDUCT.md
190
191
  - CONTRIBUTING.md
191
192
  - LICENCE
@@ -200,9 +201,15 @@ files:
200
201
  - lib/enveloperb/awskms.rb
201
202
  - lib/enveloperb/encrypted_record.rb
202
203
  - lib/enveloperb/simple.rb
203
- homepage: https://github.com/cipherstash/enveloperb
204
+ homepage: https://cipherstash.com
204
205
  licenses: []
205
- metadata: {}
206
+ metadata:
207
+ homepage_uri: https://cipherstash.com
208
+ source_code_uri: https://github.com/cipherstash/enveloperb
209
+ changelog_uri: https://github.com/cipherstash/enveloperb/releases
210
+ bug_tracker_uri: https://github.com/cipherstash/enveloperb/issues
211
+ documentation_uri: https://rubydoc.info/gems/enveloperb
212
+ mailing_list_uri: https://discuss.cipherstash.com
206
213
  post_install_message:
207
214
  rdoc_options: []
208
215
  require_paths:
@@ -214,9 +221,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
221
  version: 2.7.0
215
222
  required_rubygems_version: !ruby/object:Gem::Requirement
216
223
  requirements:
217
- - - ">"
224
+ - - ">="
218
225
  - !ruby/object:Gem::Version
219
- version: 1.3.1
226
+ version: '0'
220
227
  requirements: []
221
228
  rubygems_version: 3.1.6
222
229
  signing_key: