After playing with Gigalixir recently, I was surprised to find that some other applications that I develop no longer work on my laptop. I lost a few hours tracking down the cause. It boils down to an entry that Gigalixir's tools added to my .netrc file for localhost. Here's the code that performs that change:
This modification seems unsafe. It adds—or overrides in some cases—authorization for all loopback requests that honor my .netrc file. That's a pretty sweeping change.
After playing with Gigalixir recently, I was surprised to find that some other applications that I develop no longer work on my laptop. I lost a few hours tracking down the cause. It boils down to an entry that Gigalixir's tools added to my
.netrc
file forlocalhost
. Here's the code that performs that change:https://github.com/gigalixir/gigalixir-cli/blob/master/gigalixir/netrc.py#L37
This modification seems unsafe. It adds—or overrides in some cases—authorization for all loopback requests that honor my
.netrc
file. That's a pretty sweeping change.