Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'How to pull a password from Keychain to use in a script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to pull a password from Keychain to use in a script
Authored by: martinv2 on Jul 24, '13 09:29:43PM

Thanks for pointing out the security command. Just looked into the documentation, and I think security find-generic-password's -w switch could replace -g and the ruby/awk magic. Not tested, though.



[ Reply to This | # ]