Buy commercial curl support. We
help you work out your issues, debug your libcurl applications, use the API,
port to new platforms, add new features and more. With a team lead by the
curl founder Daniel himself.
Re: Add support for the NETRC envvar
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Berthin Torres Callaņaupa via curl-library <curl-library_at_lists.haxx.se>
Date: Sun, 22 Jun 2025 21:43:18 +0000
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 <daniel_at_haxx.se>
Sent: Saturday, June 21, 2025 8:25:01 PM
To: Berthin Torres Callaņaupa via curl-library <curl-library_at_lists.haxx.se>
Cc: Berthin Torres Callaņaupa <berthin.torres_at_outlook.com>
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.
Date: Sun, 22 Jun 2025 21:43:18 +0000
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 <daniel_at_haxx.se>
Sent: Saturday, June 21, 2025 8:25:01 PM
To: Berthin Torres Callaņaupa via curl-library <curl-library_at_lists.haxx.se>
Cc: Berthin Torres Callaņaupa <berthin.torres_at_outlook.com>
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.htmlReceived on 2025-06-22