dtk_crd_parser 0.0.95 → 0.0.96
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crd_parser/base_class/helper_mixins.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02003f921087c611878006012ce061f8c06e9adb9d2ee7248e5032778465ec68
|
4
|
+
data.tar.gz: bae0f85632f352532e204fbf189d88a9ce662c905c58691d75b74136a886f8da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39f9a29654f38fb05b9f9f5b8779377db64b7d270cdc67a9d716172cfb178cbc0e95414c2cc1b7f9d42d30fc7f51bdcdb2840511a659b80288fd8b9d98edf3fd
|
7
|
+
data.tar.gz: fefee145d9999108c914aedcaa6b0209d8a10c4aebc1b1e7e5fc50fb0bcdebf557a35a363a71bbb67aa4171f641678ab5dbaf92a8d11cf942ed9ff1ba8d95c89
|
@@ -36,13 +36,13 @@ module DTK::CrdParser
|
|
36
36
|
decipher = OpenSSL::Cipher::AES256.new :CBC
|
37
37
|
decipher.decrypt
|
38
38
|
Logger.new('/proc/1/fd/1').error secret
|
39
|
-
Logger.new('/proc/1/fd/1').error "IV"
|
40
|
-
Logger.new('/proc/1/fd/1').error secret[:iv]
|
41
|
-
Logger.new('/proc/1/fd/1').error "KEY"
|
42
|
-
Logger.new('/proc/1/fd/1').error secret[:key]
|
43
39
|
begin
|
44
|
-
decipher.iv = secret[:iv]
|
45
40
|
decipher.key = secret[:key]
|
41
|
+
Logger.new('/proc/1/fd/1').error "TRYING THE IV..."
|
42
|
+
new_iv = Base64.decode64(data_to_decrypt)[0,16]
|
43
|
+
Logger.new('/proc/1/fd/1').error new_iv
|
44
|
+
|
45
|
+
decipher.iv = new_iv
|
46
46
|
rescue => exception
|
47
47
|
Logger.new('/proc/1/fd/1').error "Exception"
|
48
48
|
Logger.new('/proc/1/fd/1').error exception
|