TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The NPM registry is deprecating TLS 1.0 and TLS 1.1

111 pointsby joeyespoover 3 years ago

10 comments

chrismorganover 3 years ago
That’s a pretty nice set of steps, a genuine deprecation including even as good an attempt as is possible at notifying where it’s needed, rather than just a removal. It’s interesting to note that they don’t say when they’ll finally remove it.<p>(One of my pet peeves is people abusing the word “deprecate” when they mean “remove”. The word “deprecate” means just discouraging something without actually removing it, though it’s typically a precursor to subsequent removal.)
评论 #28293267 未加载
评论 #28292375 未加载
评论 #28293357 未加载
ezekgover 3 years ago
When Heroku removed support for TLS 1.0 and TLS 1.1 this year, I was surprised at how many of my customers were effected. I didn&#x27;t give the deprecation much thought, assuming everyone was using a secure TLS version, but I guess enterprises like their legacy technology.
评论 #28291354 未加载
评论 #28295084 未加载
评论 #28292794 未加载
评论 #28290792 未加载
diover 3 years ago
PyPI did this in 2018: <a href="https:&#x2F;&#x2F;github.com&#x2F;pypa&#x2F;warehouse&#x2F;issues&#x2F;3411" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pypa&#x2F;warehouse&#x2F;issues&#x2F;3411</a>
staticassertionover 3 years ago
So I was curious and tried to figure out how to, client side, enforce TLS 1.2+ for npm. It is surprisingly not straightforward to me. I also had an annoying time due to &#x27;npm&#x27; being the tool name and the repo name.<p>It seems you have to set an environment variable,<p><pre><code> NODE_OPTIONS=--tls-max-v1.2 </code></pre> But that&#x27;s for node in general and I&#x27;m not sure if it even works for npm. I was expecting this to be something I could do in a package.json<p>I&#x27;ve done this for Rust for a long time by just setting a flag in `project&#x2F;.cargo&#x2F;config.toml`<p><pre><code> [http] ssl-version.min = &quot;tlsv1.2&quot; </code></pre> (side note - I&#x27;ve had 0 issues with tlsv1.3 in cargo with crates.io)<p>I also wasn&#x27;t able to figure out how to do this for `pip`. I honestly expected this to be super straightforward, but I guess I was sort of spoiled by how easy it was with cargo.
评论 #28295864 未加载
jrochkind1over 3 years ago
TIL that github runs the npm registry?
评论 #28293305 未加载
评论 #28295520 未加载
thrower123over 3 years ago
I know it has been a huge pain in the ass for some applications that use older ODBC drivers when Azure made TLS 1.2 the default for Azure SQL databases.
评论 #28291329 未加载
jl6over 3 years ago
A year or so back, Microsoft made an announcement of dropping TLS 1.0 and 1.1 support in Internet Explorer (and IE mode in Edge) but that seems to have gone quiet, and I now wonder whether they intend to keep support going until Internet Explorer (and IE mode in Edge) itself falls out of support.
评论 #28291727 未加载
coldacidover 3 years ago
How long has GitHub been running the NPM registry? This is the first I&#x27;ve ever heard of it.
评论 #28293855 未加载
modshaterealityover 3 years ago
Are there any theoretical attacks on git&#x27;s usage of sha1?
评论 #28292792 未加载
Angiusover 3 years ago
Everything is deprecating those old TLS versions, meanwhile Cloudflare still requires you to pay for a Business account to be able to disable them. Even though they also planned to deprecated them way back in 2018.
评论 #28295054 未加载