minke 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/minke/config/reader.rb +4 -1
- data/lib/minke/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjZiZGRhNzg4MWU3MWRmZjFmYTJlMWZmYjIxM2NjMGUwMzVjNzI4Ng==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTM0NmYzZTUzNWMwMTU3YjRkNDIzNzdiZmM2MzRjYjk2YjgyYmU1YQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZGVhYWJmYzEyYmVhZmFmOGJhOGJmODIxNGUzY2ZmNDcyZGMyOWFlN2Y5ZTg2
|
10
|
+
NTM2NjA1ZjU4ZWU1MzdhZWNkMzNlOGM5MDFjYzdiYzI5NDIxY2YyYmIwOWJk
|
11
|
+
ODE3ZDFlMmUzNmMzNjc4NWY4MTE2ZjliYjE0NGJjYTczYzc1OTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODBlYjdhNTg3Nzk5Nzk1Yzc0MmIxMThhN2MzODllNGVmZWU3YWYwOGM0MjY4
|
14
|
+
NTg2Y2Q4NzNmMzk4Yzg0OWZhMDM3NWJmMTU2ZjFjZjE2MjE3NzM3NTMyMDY2
|
15
|
+
MDY0Mzg5Y2ZkY2E3N2Q4ZTY3MTI2MzIwMjczYzZjYTAxM2ExMDE=
|
data/lib/minke/config/reader.rb
CHANGED
@@ -91,10 +91,13 @@ module Minke
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def read_secure hash
|
94
|
+
key_path = ENV['SSL_KEY_PATH'].to_s == '' ? '~/.ssh' : ENV['SSL_KEY_PATH']
|
95
|
+
|
96
|
+
|
94
97
|
fingerprint = hash['secure']['fingerprint']
|
95
98
|
value = hash['secure']['value']
|
96
99
|
|
97
|
-
locator = Minke::Encryption::KeyLocator.new
|
100
|
+
locator = Minke::Encryption::KeyLocator.new key_path
|
98
101
|
key_path = locator.locate_key fingerprint
|
99
102
|
|
100
103
|
encrypt = Minke::Encryption::Encryption.new key_path
|
data/lib/minke/version.rb
CHANGED