awsborn 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/awsborn/keychain.rb +2 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.8
|
data/lib/awsborn/keychain.rb
CHANGED
|
@@ -32,7 +32,8 @@ module Awsborn
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
def find_generic_password (name)
|
|
35
|
-
|
|
35
|
+
# -l for label, the editable field in a secure note (and 'name' for passwords)
|
|
36
|
+
`security -q find-generic-password -l "#{name}" -g "#{@keychain}" 2>&1 1>/dev/null`
|
|
36
37
|
end
|
|
37
38
|
|
|
38
39
|
def decode_hex (hex_dump)
|