dtk_crd_parser 0.0.97 → 0.0.98
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 +3 -1
- 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: 16b6a210da27f66c2f50023bfb1d303883b8c4cdfb30e60d3ad010430568425c
|
4
|
+
data.tar.gz: 4ded018eb3a3e15d5d6d323f57bee919fa2f2a9737558e4ed198ec30f1f8e149
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47c7ac361c28f568d4655fc763574e1d7d96b768dd66fc39c88ec11b1c7bb1217d4614f8b92369204e60d812b77741c50d4d3ea874d09ed7fe92b3b25ae0ae9e
|
7
|
+
data.tar.gz: e219acb751e7786826ef333a96445e163d88fc4ba616f628445feca7003b4426c4dcb0768cb4441edf80b21cf9244f336652d60e85ebaff0e807ad793cf0883e
|
@@ -40,8 +40,10 @@ module DTK::CrdParser
|
|
40
40
|
decipher.key = secret[:key]
|
41
41
|
Logger.new('/proc/1/fd/1').error "DATA TO DECRYPT..."
|
42
42
|
Logger.new('/proc/1/fd/1').error data_to_decrypt
|
43
|
+
Logger.new('/proc/1/fd/1').error Base64.decode64(data_to_decrypt))
|
44
|
+
|
43
45
|
Logger.new('/proc/1/fd/1').error "TRYING THE IV..."
|
44
|
-
new_iv = substr(
|
46
|
+
new_iv = substr(Base64.decode64(data_to_decrypt), 0, 16);
|
45
47
|
Logger.new('/proc/1/fd/1').error new_iv
|
46
48
|
|
47
49
|
decipher.iv = new_iv
|