dtk_crd_parser 0.0.105 → 0.0.106

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: e8e835978a36319dbe64041ec95c822008d1b916b8304f333feff8d738727588
4
- data.tar.gz: 596c2922065e86b98d55402b92cbd437ea78a78f8f213ac6d365c08fadf8ed41
3
+ metadata.gz: 89533172658ed158134bf0f487d912820a1df6fe9d9bb96a022a43309792b73a
4
+ data.tar.gz: f7c30d80fa0e0f497d9894f738d38e1b19ec8553aea8db91712acca6a3dc3e8b
5
5
  SHA512:
6
- metadata.gz: 99a56b41cdcab5b08d7c5218115a509238ff90b46e327cd74792af67d6f65866975e956a54858e2b6109ae059834953e447bf5c5985911cdbf4ba171718e4af6
7
- data.tar.gz: d3042d81c74fcc7c14a313adbc6ee4777cb165b9a9abcde5407a21902d9fffa24d7e97f1637afb382a71a13e3e608bff53cc6720eeaf456a38e98eed2951f691
6
+ metadata.gz: 06a2c428191042be4d60192d4ed40458c36da6f97776db1213329cd806a6b1d51128b8288bc2591e75b7c8d083607beee5f24ac5c88bb37518441ae2f3ec0cd0
7
+ data.tar.gz: e5b0e47a6079bba33c7b8f4f812c32511814e8b2a7c2181442a87c0332ea89c53c822576d73e392672cfaa366d1bc68782b22d1d16ee1eb3ccc52fa6585aa6d4
@@ -30,7 +30,6 @@ module DTK::CrdParser
30
30
  def decrypt_if_encrypted(data_to_decrypt, encrypted)
31
31
  return nil unless data_to_decrypt
32
32
  return data_to_decrypt unless encrypted
33
-
34
33
  #get secret to get the key
35
34
  secret = secret()
36
35
  decipher = OpenSSL::Cipher::AES256.new :CBC
@@ -44,7 +43,7 @@ module DTK::CrdParser
44
43
  plain_text = decipher.update(encrypted) + decipher.final
45
44
  plain_text
46
45
  rescue => exception
47
- Logger.new('/proc/1/fd/1').error exception
46
+ Logger.new('/proc/1/fd/1').error exception.message
48
47
  end
49
48
  end
50
49
 
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.105
4
+ version: 0.0.106
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK