xmlenc 0.6.9 → 0.7.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
  SHA1:
3
- metadata.gz: 9bd6b427526017614daaa55dabf68ae2a39bae85
4
- data.tar.gz: cc5c4813f5758495e514aed426fb98d9dd45ac4d
3
+ metadata.gz: ee17ca1ac4d9677237a604a324d4d330e9352fe1
4
+ data.tar.gz: 79d295f49472330db132963f5c5ada882864b7ef
5
5
  SHA512:
6
- metadata.gz: a2c81dbb86bd5f99e014252110984cbb2b4d450d73ad8b31f6f8f2375503a7c5bd63950821fbe4dae85d78eb8209098aedd587690e6135a5c689a73df9f75c94
7
- data.tar.gz: 5cba8f5ba6f103b57504b0ef3e9f7dea2fc192dc4c6ff44b06b1b09eea3a3dc3afb0440b695d85c38f4812bf3e38bd7d759d57f530f306ebbefee9448ba186e2
6
+ metadata.gz: fcbd716cff5440402463848ea27cad809ddf591bb847d1f0ff4872b525720d44001c42736d9de23cdf19697ba2173ddbc2d412d06e9d352d7243846e9716a983
7
+ data.tar.gz: db0dc66ecc3d3669cf3bf81327c647b7d07f2a5e085d90e2adfd8c566f427b828f1556e06f16a2e390dd481ecdbe108303668e0f153274bdde776438df44d061
@@ -51,7 +51,7 @@ module Xmlenc
51
51
  end
52
52
 
53
53
  def cipher
54
- @cipher ||= OpenSSL::Cipher::Cipher.new("aes-#{@size}-cbc")
54
+ @cipher ||= OpenSSL::Cipher.new("aes-#{@size}-cbc")
55
55
  end
56
56
  end
57
57
  end
@@ -34,7 +34,7 @@ module Xmlenc
34
34
  end
35
35
 
36
36
  def cipher
37
- @cipher ||= OpenSSL::Cipher::Cipher.new('des-ede3-cbc')
37
+ @cipher ||= OpenSSL::Cipher.new('des-ede3-cbc')
38
38
  end
39
39
  end
40
40
  end
@@ -1,3 +1,3 @@
1
1
  module Xmlenc
2
- VERSION = "0.6.9"
2
+ VERSION = "0.7.0"
3
3
  end
@@ -14,7 +14,7 @@ describe 'Phaos compatibility tests' do
14
14
 
15
15
  key = private_key.private_decrypt(key_cipher, OpenSSL::PKey::RSA::PKCS1_OAEP_PADDING)
16
16
 
17
- cipher = OpenSSL::Cipher::Cipher.new('des-ede3-cbc')
17
+ cipher = OpenSSL::Cipher.new('des-ede3-cbc')
18
18
  cipher.decrypt
19
19
  cipher.key = key
20
20
  cipher.iv = data_cipher[0...cipher.iv_len]
@@ -35,7 +35,7 @@ describe 'Phaos compatibility tests' do
35
35
 
36
36
  key = private_key.private_decrypt(key_cipher, OpenSSL::PKey::RSA::PKCS1_OAEP_PADDING)
37
37
 
38
- cipher = OpenSSL::Cipher::Cipher.new('aes-128-cbc')
38
+ cipher = OpenSSL::Cipher.new('aes-128-cbc')
39
39
  cipher.decrypt
40
40
  cipher.key = key
41
41
  cipher.iv = data_cipher[0...cipher.iv_len]
@@ -56,7 +56,7 @@ describe 'Phaos compatibility tests' do
56
56
 
57
57
  key = private_key.private_decrypt(key_cipher)
58
58
 
59
- cipher = OpenSSL::Cipher::Cipher.new('aes-128-cbc')
59
+ cipher = OpenSSL::Cipher.new('aes-128-cbc')
60
60
  cipher.decrypt
61
61
  cipher.key = key
62
62
  cipher.iv = data_cipher[0...cipher.iv_len]
@@ -77,7 +77,7 @@ describe 'Phaos compatibility tests' do
77
77
 
78
78
  key = private_key.private_decrypt(key_cipher)
79
79
 
80
- cipher = OpenSSL::Cipher::Cipher.new('aes-256-cbc')
80
+ cipher = OpenSSL::Cipher.new('aes-256-cbc')
81
81
  cipher.decrypt
82
82
  cipher.key = key
83
83
  cipher.iv = data_cipher[0...cipher.iv_len]
@@ -98,7 +98,7 @@ describe 'Phaos compatibility tests' do
98
98
 
99
99
  key = private_key.private_decrypt(key_cipher, OpenSSL::PKey::RSA::PKCS1_OAEP_PADDING)
100
100
 
101
- cipher = OpenSSL::Cipher::Cipher.new('aes-256-cbc')
101
+ cipher = OpenSSL::Cipher.new('aes-256-cbc')
102
102
  cipher.decrypt
103
103
  cipher.key = key
104
104
  cipher.iv = data_cipher[0...cipher.iv_len]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xmlenc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-27 00:00:00.000000000 Z
11
+ date: 2017-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport