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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f87d8cd55d41448938961cbc66640e362880452e3d311dd12e972df4b3f6884
4
- data.tar.gz: 475438b8b0fa547793bd725926e9ba6144e34be2439bc17869bace7ef5ab3523
3
+ metadata.gz: 16b6a210da27f66c2f50023bfb1d303883b8c4cdfb30e60d3ad010430568425c
4
+ data.tar.gz: 4ded018eb3a3e15d5d6d323f57bee919fa2f2a9737558e4ed198ec30f1f8e149
5
5
  SHA512:
6
- metadata.gz: 3e7192b5dc62db406e3c483d75745c6cf5f4d91faca18528c41bd269990dc420ccc340661599dcc2e728d2d07ac00acb79330677a2226f61f242e228c5d9ef81
7
- data.tar.gz: 22ec9382123f716339c831b3327bd5bc8347f4a6495a879bd49116156e8da9626ad7878ac779bc78addb076fecc48cc0eabea63b1708a20518075db8b6594057
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(hex2bin(Base64.decode64(data_to_decrypt)), 0, 16);
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
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.97
4
+ version: 0.0.98
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK