lib/minke/config/reader.rb in minke-1.5.4 vs lib/minke/config/reader.rb in minke-1.5.5

- old
+ new

@@ -89,17 +89,19 @@ url.type = section['type'] end end def read_secure hash + puts hash.inspect key_path = ENV['SSL_KEY_PATH'].to_s == '' ? "#{ENV['HOME']}/.ssh" : ENV['SSL_KEY_PATH'] - fingerprint = hash['secure']['fingerprint'] value = hash['secure']['value'] locator = Minke::Encryption::KeyLocator.new key_path key_path = locator.locate_key fingerprint + + puts key_path encrypt = Minke::Encryption::Encryption.new key_path encrypt.decrypt_string value end