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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0da68b8505abe1d82ffd31130a581496b874bcdfb2f70d07f6c07b8f12d194d
4
- data.tar.gz: 77b3fcf2953d464d1a7fa8bee8d0f2178a02d217ef2620740b429841c5a3510d
3
+ metadata.gz: 6f460aa7143a0117c2ae015ec5d1246c55506242eda42544bcfe42a303b84c6c
4
+ data.tar.gz: d44eca1d31d30672abe12febe8ce19f7509ac6d13b32ffbe7d31b0e67f07e724
5
5
  SHA512:
6
- metadata.gz: c7060a9964e60f65127683e167063094b29e6552865f3f20e512cb970118e2ade858b76bf7d4bfc04b9c3d205ba368b87b3ebf249498873d2fc8ce640936f2cc
7
- data.tar.gz: 7188bcf20b94a35541fbc76062c4899e91ed511a64d647bbbb2f0e2c5a3a652ea9817291c179381d7e155301d71a3f5f844b2331e95f690915c17a21a0fd2b25
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 = Base64.decode64(secret[: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}"
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.83
4
+ version: 0.0.84
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK