kvmd icon indicating copy to clipboard operation
kvmd copied to clipboard

Support NETRC to download files

Open jlegaul7-ford opened this issue 1 year ago • 1 comments

As it stands, kvmd does not use netrc to download files, this mr adds the missing flag to let aiohttp use netrc for authentication.


Reference: https://docs.aiohttp.org/en/stable/client_reference.html#aiohttp.ClientSession

trust_env (bool) – Trust environment settings for proxy configuration if the parameter is True (False by default).
  Get proxy credentials from ~/.netrc file if present.
  Get HTTP Basic Auth credentials from ~/.netrc file if present.
  If `NETRC` environment variable is set, read from file specified there rather than from ~/.netrc.

jlegaul7-ford avatar Aug 15 '24 17:08 jlegaul7-ford

Maybe settings in override.yaml will be a better solution?

mdevaev avatar Aug 17 '24 05:08 mdevaev

Sup?

mdevaev avatar Nov 16 '25 07:11 mdevaev

Probably it's not relevant anymore.

mdevaev avatar Nov 18 '25 04:11 mdevaev