Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download NVIDIA drivers over https #4

Closed
corecontingency opened this issue Aug 1, 2020 · 0 comments
Closed

Download NVIDIA drivers over https #4

corecontingency opened this issue Aug 1, 2020 · 0 comments

Comments

@corecontingency
Copy link

corecontingency commented Aug 1, 2020

See here:

# Source
if [ "$_driver_branch" = "vulkandev" ]; then
  if [[ $pkgver = 396* ]]; then
    _source_name="NVIDIA-Linux-x86_64-$pkgver.run::https://developer.nvidia.com/linux-${pkgver//.}"
  else
    _source_name="NVIDIA-Linux-x86_64-$pkgver.run::https://developer.nvidia.com/vulkan-beta-${pkgver//.}-linux"
  fi
else
    _source_name="http://us.download.nvidia.com/XFree86/Linux-x86_64/$pkgver/NVIDIA-Linux-x86_64-$pkgver.run"
fi

The drivers seem to only be downloaded over a TLS connection if using the Vulkan dev driver. I tested downloading the stable version 450.57 from:

http://us.download.nvidia.com/XFree86/Linux-x86_64/450.57/NVIDIA-Linux-x86_64-450.57.run

and it does not seem to upgrade the connection to https. Manually changing the URL from http to https worked though. The drivers only seem to be verified with md5sums, which are trivially broken and no longer secure for authentication.

Can you change the URL to https to prevent MITM attacks?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant