Should I use .netrc for git authentication
- 1 minutes read - 94 wordsI used .netrc in several projects and I wrote something about that. I thought it is a convenient way for git until recently.
Recently I have a new laptop and want to setup my git credentials. This time, I noticed .netrc might not be secure as other applications that use cURL to make requests to servers defined in your .netrc file will also now be authenticated using these credentials.
Before I forget it, I think I should write it down to enforce my memory to this issue. It is rarely found in other place.