Added macosx-security-list-keys.

Pascal J. Bourguignon [2018-11-01 21:44]
Added macosx-security-list-keys.
Filename
macosx-security-list-keys
diff --git a/macosx-security-list-keys b/macosx-security-list-keys
new file mode 100755
index 0000000..bccb12a
--- /dev/null
+++ b/macosx-security-list-keys
@@ -0,0 +1,3 @@
+#!/bin/bash -e
+security dump-keychain | grep labl | awk -F= '{print $2}' | grep -v '<NULL>' | sort -u
+# security dump-keychain | grep 0x00000007 | awk -F= '{print $2}' | grep -v '<NULL>' | sort -u
ViewGit