13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 4y ago · link · parent
a) The police don't give a shit about the law, nor are they required to know it
b) They'll just walk towards you, say you're breaking the law for filming, break your phone, beat the shit out of you and/or shoot you
c) It was always legal to do so. Now it isn't.
comment 4y ago · link · parent
For example, just off the top of my head;
2FA as a general solution allows for U2F, which is significantly safer than your solution, even if it also allows for TOTP, which is "only" as safe as your solution.
It's also a change in user experience. Migrating users with existing passwords over to these new passwords may be more difficult for any number of reasons.
That's just a few seconds of thought. A real proposal might explicitly address these concerns. Like I said, feel free to make that proposal. A post on HN is not going to cut it, and it isn't going to help anyone. If you want to be more involved in how PyPI is maintained I suggest you do so.
comment 4y ago · link · parent
Also, as I mentioned before, there's no evidence whatsoever that the 'vet' approach even works, let alone scales.
comment 4y ago · link · parent
If there is such a significant mismatch in what pypi is going for vs contributors, people will migrate to another solution.
comment 4y ago · link · parent
I think they're just so wildly different in every way that it's hard to say they're solving the same problem unless you zoom way out.
The reality is, however, that the `vet` approach has never been shown to work at scale, and 2FA has. 2FA has decades of implementation work, threat modeling, etc. `vet` is a one off tool for Rust and no integration into the wider ecosystem.
I would love to see a `vet`-like tool for PyPI, I would love that, but saying "we could have used vet" is really glossing over a lot of practical issues.
> . On the other hand, they are the de-facto standard and are, in my opinion (perhaps a bit far fetched and certainly not as malicious as Google) the Play Store of the python world.
Yeah, sure. At the same time, why is it that open source maintainers get to say "I have literally 0 ethical responsibility to do anything ever"? That's the status quo - maintainers who distribute their code through these repositories owe you nothing. We accept that. But we don't hold the same thing true for the package repository? They suddenly owe the maintainers something?
More directly, maintainers have their goals, repos have their goals, users have their goals. They'll align where they can, but no one is beholden to anyone else, and we can't really change that.
comment 4y ago · link · parent
Yes, TOTP adds very little advantage when you have an already safe password. But there is no way for PyPI to know if you're doing that or not, and they can know if you're using 2FA.
> 99% of people affected by this mandate (and 99.9% of 2FA users in general) are going to use an implementation with these weaknesses
Time will tell. PyPI is giving away free keys, presumably to encourage adoption of the safer option.
I'm actually very happy to see maintainers go. If they weren't willing to enable 2FA I worry about what other issues their software poses.
comment 4y ago · link · parent
Right but I just don't get why this is notable or why anyone would ever be surprised by this, or why this would ever be controversial. I just can not wrap my head around this being framed as a complex issue when it seems so very straightforward.
comment 4y ago · link · parent
I mean, of course you have to continuously accept terms of use changes as you publish to them. That is the same as anything else. To tack on a bit of additional conversation,
"Hi, I previously published v 0.1, I would now like to publish v 0.2"
"OK, cool, we have a new EULA if you want to publish 0.2"
"Great, no problem, signed and now I'll publish" / "Ah, I don't like those new terms, I'll publish elsewhere or not publish at all"
I don't get the complication here.
comment 4y ago · link · parent
Why not just ignore that like any other spam?
comment 4y ago · link · parent
At minimum it's completely unproven that that would be practical, whereas 2FA is trivial and has been widely deployed for decades.
But if you feel strongly about this feel free to make a formal proposal. There are some nascent projects exploring this area that you could draw inspiration from and I'd certainly welcome tooling in that area.
comment 4y ago · link · parent
Comparing 2FA and vet is done at the end of the article and isn't, in my opinion, overly relevant. It's more of an example of "we could have solved this at a lower burden", which I don't believe is actually true (and I'd happily discuss that), but more importantly doesn't change the actual important bit of the article, which is about the relationship between users, maintainers, and distributors.
comment 4y ago · link · parent
Yes, the "having the cake" would be the ability to publish code to pypi and the "eating it too" would be the abdication of responsibility to abide pypi policy.
comment 4y ago · link · parent
You can say "Great, I accept all of that, thanks for providing distribution of my code for no monetary cost to me" or you can say "Ah, ok, thanks anyways but I would prefer not to accept that".
Is that clearer?
comment 4y ago · link · parent
https://pypi.org/security-key-giveaway
They're being beyond reasonable. This is outright kind.
comment 4y ago · link · parent
As for cargo-vet vs 2fa, as the article mentions (but I think bears emphasis), they solve different problems.
Sorry but I just do not care at all about this "burden" that you may feel because you've been asked to enable 2FA for a site that hosts your code for free.
A lot of this article also seems to boil down to some sort of slippery slope. 2FA today, package signing tomorrow, the end of the world next week? I'm unconvinced.
Ultimately,
> I think as an Open Source developer who is using the index for free, I can't demand much from it.
I feel like the article could have been this one line, and then there could have been a separate post discussing the merits of 2fa vs vet.