@stman

packages could have PGP signatures like forever (twine --sign), but predictably nobody uses it.

There's an active discussion on PEP 458 to sign packages at pypi (centrally) discuss.python.org/t/pep-458-s

@kravietz @stman At least pip allows hashing packages, but that doesn't really help against typo squatting.

@clacke @stman

Correct. And PyPi.org does ensure unique package names but then it doesn't really help - I've just spend half hour debugging an issue caused by the fact I installed "yara" package while the one I wanted is called "yara-python" πŸ€¦β€β™‚οΈ

@kravietz @stman Not sure how signed packages help against typosquatting either, though. Would you have known that one author rather than the other was behind yara-python? What keys do you accept?
Follow

@clacke @stman

Sorry if I was unclear, but that's exactly what I meant... They don't.

What does help is some kind of reputation measurements in the first place (likes, downloads, "verified suppliers") and only then digital signatures to prevent spoofing.

Β· Β· 0 Β· 0 Β· 1
Sign in to participate in the conversation
Mastodon πŸ” privacytools.io

Fast, secure and up-to-date instance. PrivacyTools provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on OpenCollective, many contributions are tax deductible!