dtk_crd_parser 0.0.83 → 0.0.84
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 +1 -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: 6f460aa7143a0117c2ae015ec5d1246c55506242eda42544bcfe42a303b84c6c
|
4
|
+
data.tar.gz: d44eca1d31d30672abe12febe8ce19f7509ac6d13b32ffbe7d31b0e67f07e724
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd8369001fcf79be73a44b4cbe52086e2101209b5f850a70865e3c974271e16b7eaf57528dce1d7840df0b3fd39d1549205ddb2819f3234ccd0883969da77a2b
|
7
|
+
data.tar.gz: fe313478478dbcef7abdd715db985ac89b7f0927d5eae3aa41e50053cf71e5b22c32f6658ee9a906b14c73f02c3946689b8314c311465985afd2443a58d76b92
|
@@ -35,7 +35,7 @@ module DTK::CrdParser
|
|
35
35
|
decipher = OpenSSL::Cipher::AES256.new :CBC
|
36
36
|
decipher.decrypt
|
37
37
|
secret = secret()
|
38
|
-
decipher.iv =
|
38
|
+
decipher.iv = secret[:iv]
|
39
39
|
decipher.key = secret[:key]
|
40
40
|
plain_text = decipher.update(Base64.decode64(data_to_decrypt)) + decipher.final
|
41
41
|
Logger.new('/proc/1/fd/1').info "Plaintext: #{plain_text}"
|