forked from fhs/go-netrc
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
@deafbybeheading had the following messed up .netrc file:
machine me.test.com
login [email protected]
password REDACTED
machine me2.test.com
login [email protected]
password
REDACTED api.heroku.com
login [email protected]
password REDACTED
machine code.test.com
login [email protected]
password REDACTED
Where each use of REDACTED was a password. Somehow geemus/netrc was able to read hid creds from this file, but go-netrc wasn't.
I'm actually not sure that we should handle this. If the .netrc is clearly invalid, you should have to fix it. The netrc manpage certainly makes me think it's invalid.