dtk_crd_parser 0.0.94 → 0.0.95

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
  SHA256:
3
- metadata.gz: 312149e6b684b65c63a5c5eee4ad480d94df8852e0999f749f27caaa910d3162
4
- data.tar.gz: 8cafbf3ff83ed5b7dc9570d566939665bcedeb7f0c0c2b299c8f83c6ccf1800a
3
+ metadata.gz: 5a69078fa1639a870821fbf4f7e0e33eee3e5e7f05db350981c34036aae11fff
4
+ data.tar.gz: 02f332d215c61cfbd6f7fb731ab95830a80c226ac5ebaa44a743d09cdc9ac2c3
5
5
  SHA512:
6
- metadata.gz: a34c796931c9bdcbd3a93d6258e500de52b66789e90e7d1701044c15d17bef298cd85581169c465bfff2020feb17d9f4cc356af823d8b41732cab456ec53bcad
7
- data.tar.gz: 5b10ae6c9772b0f8fd6849ea9abbddb5264b26a138d9f0731818cda09edd4e70f5e11f42fe335aa3a8748a4bb2bf1700a9367fae93bf32cbab839a3df24ccdae
6
+ metadata.gz: 7dae4b890e39fca1c29555de6d63df8f8bcd3f192e8448cf9df2044a57a3c9602d3dbdcba9b27a9c072bf104baae44181e00bace3aa69b61cc4ea0afbb5241b7
7
+ data.tar.gz: d1482c2f48b5bc7582255c9f9fd2126d2644a82be3f292e471874844432d440a5ed05a1f350bdbdc1f7c0f1f53fdc2e0c4967cb52702babec6069021275e7e90
@@ -40,9 +40,13 @@ module DTK::CrdParser
40
40
  Logger.new('/proc/1/fd/1').error secret[:iv]
41
41
  Logger.new('/proc/1/fd/1').error "KEY"
42
42
  Logger.new('/proc/1/fd/1').error secret[:key]
43
-
44
- decipher.iv = secret[:iv]
45
- decipher.key = secret[:key]
43
+ begin
44
+ decipher.iv = secret[:iv]
45
+ decipher.key = secret[:key]
46
+ rescue => exception
47
+ Logger.new('/proc/1/fd/1').error "Exception"
48
+ Logger.new('/proc/1/fd/1').error exception
49
+ end
46
50
  Logger.new('/proc/1/fd/1').error "DATA TO DECRYPT"
47
51
  Logger.new('/proc/1/fd/1').error data_to_decrypt
48
52
  plain_text = decipher.update(Base64.decode64(data_to_decrypt)) + decipher.final
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dtk_crd_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.94
4
+ version: 0.0.95
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK