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 +4 -4
- data/lib/xmlenc/algorithms/aes_cbc.rb +1 -1
- data/lib/xmlenc/algorithms/des3_cbc.rb +1 -1
- data/lib/xmlenc/version.rb +1 -1
- data/spec/lib/xmlenc/phaos_compat_spec.rb +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee17ca1ac4d9677237a604a324d4d330e9352fe1
|
4
|
+
data.tar.gz: 79d295f49472330db132963f5c5ada882864b7ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcbd716cff5440402463848ea27cad809ddf591bb847d1f0ff4872b525720d44001c42736d9de23cdf19697ba2173ddbc2d412d06e9d352d7243846e9716a983
|
7
|
+
data.tar.gz: db0dc66ecc3d3669cf3bf81327c647b7d07f2a5e085d90e2adfd8c566f427b828f1556e06f16a2e390dd481ecdbe108303668e0f153274bdde776438df44d061
|
data/lib/xmlenc/version.rb
CHANGED
@@ -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
|
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
|
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
|
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
|
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
|
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.
|
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-
|
11
|
+
date: 2017-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|