Use $HOME/.netrc to store authentication info
Mar 22
Project Issue Posted by: Paul Campbell
Project: Command Line Twitter
Version: 0.0.3
Component: cl-twit
Category: feature request
Priority: normal
Assigned: Unassigned
Status: active
Jump to:
Description.netrc is an already defined file standard that is already recognized by curl for storing usernames and passwords.
curl doesn't insist that this file not be world readable, so checks will still need to be made to ensure that it is a secure file.
Users would then simply add lines like:
machine twitter.com login kemitix password my-twitter-password
machine myproxy login myproxyuser password my-proxy-password
Post new comment