News for hackers. Stuff that matters.
Re:Congratulations: We now have opinions on your open source... by mtrycz2 on Saturday July 09, 2022 @03:17PM (#32038362)
I find it bizarre that they don't ask for 2FA for all contributions. Possibly a historical inheritance?

Edit: I now understand that they require a physical device instead of a TOTP app. Yeah, that's the line between reasonable and wtf.

Re:Congratulations: We now have opinions on your open source... by btown on Saturday July 09, 2022 @03:50PM (#32038651)
2FA, whether TOTP or physical, comes with a per-user support burden for any organization that enforces it, because there must be a human-in-the-loop mechanism to handle "my 2FA devices were all destroyed/stolen, and others depend on me having access to my account." PyPI isn't exempt from this, despite mitigating with multiple 2FA devices, and says as much in the announcement https://pypi.org/security-key-giveaway/ -

> Without multiple 2FA options, effect of losing a 2FA method results in the need to fully recover an account, which is burdensome and time-consuming both for maintainers and PyPI administrators. Enabling multiple 2FA methods reduces the potential disruption if one is lost.

So there's a huge practical difference to PyPI of enforcing 2FA for all vs. enforcing for <1% of projects. I don't envy their position, and it's a reasonable compromise IMO.

That said, it's absurd that PyPI didn't make more clear in the announcement linked above that TOTP apps are allowed. There's literally not an FAQ about the most important FAQ. They very well could have avoided the reaction from OP, and this entire debacle, with more thoughtful messaging.

Re:Congratulations: We now have opinions on your open source... by lopuhin on Saturday July 09, 2022 @03:28PM (#32038447)
> they require a physical device instead of a TOTP app. Yeah, that's the line between reasonable and wtf.

No, a TOTP app is also allowed.

Re:Congratulations: We now have opinions on your open source... by mtrycz2 on Saturday July 09, 2022 @03:39PM (#32038537)
Well then, that's perfectly reasonable.
Re:Congratulations: We now have opinions on your open source... by staticassertion on Saturday July 09, 2022 @03:46PM (#32038605)
To tack on, they're actually giving away those tokens for free for those who request one.

https://pypi.org/security-key-giveaway

They're being beyond reasonable. This is outright kind.

Re:Congratulations: We now have opinions on your open source... by Tainnor on Saturday July 09, 2022 @03:29PM (#32038456)
> Edit: I now understand that they require a physical device instead of a TOTP app. Yeah, that's the line between reasonable and wtf.

They don't.