Re: Add support for the NETRC envvar

Berthin Torres Callañaupa via curl-library <[email protected]>
Newsgroups gmane.comp.web.curl.library
Message-ID <CH3PR20MB7541C4802175E4B7B446423B917EA@CH3PR20MB7541.namprd20.prod.outlook.com>
Hi

Sorry for the delay. Here are some projects:

inetutils: https://github.com/guillemj/inetutils/blob/master/ftp/ruserpass.c#L127
uv: https://docs.astral.sh/uv/concepts/authentication/#http-authentication
python requests: https://requests.readthedocs.io/en/latest/user/authentication/
soon pip: https://pip.pypa.io/en/stable/topics/authentication/
heroku netrc: https://github.com/heroku/netrc/commit/f22fc64fb1e601bea0645a4ecb01e0075807cf6d
pkg: https://github.com/freebsd/pkg/blob/b8df3569ae616e20399951f3d0524cac0ca03a8c/libpkg/fetch_libcurl.c#L372 terraform: https://developer.hashicorp.com/terraform/language/providers
Httpx

Additionally, you can have a rough idea by also searching on github https://github.com/search?q=getenv%28%22NETRC%22%29&type=code

Best,

________________________________
From: Daniel Stenberg <[email protected]>
Sent: Saturday, June 21, 2025 8:25:01 PM
To: Berthin Torres Callañaupa via curl-library <[email protected]>
Cc: Berthin Torres Callañaupa <[email protected]>
Subject: Re: Add support for the NETRC envvar

On Sat, 21 Jun 2025, Berthin Torres Callañaupa via curl-library wrote:

> I'd like to start a discussion and support the NETRC environment variable
> since many other tools are already following the GNU inetutils

Can you list some of the many tools that do this? Just to give us a picture of
the land.

--

  / daniel.haxx.se || https://rock-solid.curl.dev

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.