Skip to content

Instantly share code, notes, and snippets.

@thinkerbot
Created September 14, 2012 16:47
Show Gist options
  • Save thinkerbot/3723179 to your computer and use it in GitHub Desktop.
Save thinkerbot/3723179 to your computer and use it in GitHub Desktop.
Dump unencrypted contents of a keychain OSX
#!/bin/sh
keychain=${1:~/Library/Keychains/login.keychain}
security dump-keychain -d $keychain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment