enveloperb 0.1.6.6.g071addc-x86_64-darwin → 0.3.0-x86_64-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: 80144004e85806d9a2c8d9abacb12624a6f2626c7943b5d2c98a2fe675c2e7a9
4
- data.tar.gz: cb05c6fc36dc81330d38e2789eac5b128ce7f6029f1129fbbe7f3ac990b29ca9
3
+ metadata.gz: aa732a30b284528151c1056c84c99bd9bdf7beff7e9a48f13e5944446f5b9977
4
+ data.tar.gz: c0cbfc856d5fa368035bc2f1e9602cd728d95040d722fb42c866b56c0b792016
5
5
  SHA512:
6
- metadata.gz: a908b1c45cd6ae98cb2efad9e7291d5f7ed1a8b840a056bf50b1e77d6eafbe6b30e4aa0f4140686ad0922defbd405cacc9ca326e853937b1d542d3ff7e8d84d5
7
- data.tar.gz: b8c05321df1a70be894f1ac2ff324ae3140b92e093a339cf3526ff8729dad1316c0313ded57444dc2b7e0c38b2c23f823929c624f2478866fe64d5f6125788ca
6
+ metadata.gz: f3085a942d2d0096db4d2de5dce08eb5ae8f3cf23ee94821b4a04595d5c69f4015edb9857eccf190c898c61a351f2f279f1483f8c9313a088af966fe0cb05eb6
7
+ data.tar.gz: 39f8f555fe17fe2a833881e5842a7230df2d0592696d211fd0f3516d52c12b6264d0510e926933faf1c3a790a864c4a41cac8a929647c28df83a61a9fa6acbbc
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: x86_64-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: