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


Click here to return to the 'How to Obscure Command Line Passwords' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to Obscure Command Line Passwords
Authored by: mmnw on Jul 06, '10 08:20:23AM
Actually there is also a way to use the keychain at command line level. The security command covers that. Just have a look at:
man security
You could pipe the output of security directly to the input of your program or store it in a variable as described.
Although the output of security is not as straightforward as it could be. You'll probably have to process it first. I found this Blog-Entry describing a way to handle the output.

[ Reply to This | # ]