jwe 0.3.1 → 0.4.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3be72771de62015739c8c0f4db8b6c39c082ed7a3870fb5dce44870418eb2f1
4
- data.tar.gz: 65f2fc6f7c1ee46e6524b1e631f0858898348e3a67a2328f522ca449c9a9c0ae
3
+ metadata.gz: f0e104597933aff80eca3e76d589094c370f70e5d2b73a06a78e96a13ef27d4e
4
+ data.tar.gz: 0ec4336690f799231832385544abc7f000e9368ca70955d8ab358c93b440c619
5
5
  SHA512:
6
- metadata.gz: a12f84808b5911b81f4afbf2e3ad615abae6543ead869cf1fac1f27b4270158367312b0e5a05b09b3ebf38780344896fa20cb832c7257386cccf8b6d37bdce86
7
- data.tar.gz: 4e76467052e21da130ed4b5cd2501d861f2011fc4b91600eb86715f32eee0182a2e65a2ea17f5ef35f38516821394ed925768cc66f6f620dcfa53deeb20ef8c1
6
+ metadata.gz: e31c763f396c510daa1f480343c0cd52c9764a64290cbcc2cf7d511c3365195f84977559f30ef1857d4dcf388a76b76801b8690fbaa635906879af79d39aa1d9
7
+ data.tar.gz: c7fd9afad50df1cb67c1270e9f02d998cad1f62ba70bf017a0ecab1c717943d44148d9c4c6d52f6f934ff406965d9dc42e7f0cf11273cf21b9fa63c337a52bcc
@@ -3,7 +3,7 @@ require 'jwe/alg/aes_kw'
3
3
  module JWE
4
4
  module Alg
5
5
  # AES-128 Key Wrapping algorithm
6
- class A128Kw
6
+ class A128kw
7
7
  include AesKw
8
8
 
9
9
  def cipher_name
@@ -3,7 +3,7 @@ require 'jwe/alg/aes_kw'
3
3
  module JWE
4
4
  module Alg
5
5
  # AES-192 Key Wrapping algorithm
6
- class A192Kw
6
+ class A192kw
7
7
  include AesKw
8
8
 
9
9
  def cipher_name
@@ -3,7 +3,7 @@ require 'jwe/alg/aes_kw'
3
3
  module JWE
4
4
  module Alg
5
5
  # AES-256 Key Wrapping algorithm
6
- class A256Kw
6
+ class A256kw
7
7
  include AesKw
8
8
 
9
9
  def cipher_name
@@ -1,3 +1,3 @@
1
1
  module JWE
2
- VERSION = '0.3.1'.freeze
2
+ VERSION = '0.4.0'.freeze
3
3
  end
@@ -69,9 +69,9 @@ describe JWE::Alg::Rsa15 do
69
69
  end
70
70
 
71
71
  [
72
- JWE::Alg::A128Kw,
73
- JWE::Alg::A192Kw,
74
- JWE::Alg::A256Kw
72
+ JWE::Alg::A128kw,
73
+ JWE::Alg::A192kw,
74
+ JWE::Alg::A256kw
75
75
  ].each_with_index do |klass, i|
76
76
  describe klass do
77
77
  let(:kek) { SecureRandom.random_bytes(16 + i * 8) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Boffa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-09 00:00:00.000000000 Z
11
+ date: 2019-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec