lib/minke/encryption/key_locator.rb in minke-1.5.4 vs lib/minke/encryption/key_locator.rb in minke-1.5.5
- old
+ new
@@ -11,12 +11,14 @@
full_path = "#{@key_store_path}/#{f}"
key = SSHKey.new(File.read(full_path))
return full_path if key.fingerprint == fingerprint
rescue
-
+
end
end
+
+ throw "Unable to find SSL key matching fingerprint if your SSL keys are not in ~/.ssh you can set the environment variable SSL_KEY_PATH to point to the correct directory."
end
end
end
end