Hacker Newsnew | past | comments | ask | show | jobs | submit | veeti's commentslogin

Spray painting a jet engine causes millions in damages, but it's a cute sleight of hand to insinuate it's just some graffiti on a wall or something.

You don't actually know how much it cost, you just believe what the police say despite the fact that they've provided no figures.

I'll do you one better: Palestine Action is bankrolled by notorious pro-Russia tankie Fergie Chambers, who supports Vladimir Putin's genocidal campaign in Ukraine. So please add genocide sympathizer to your list.

[1] https://lamag.com/news/cox-family-heir-james-fergie-chambers...


Yet in practice, only the big boys are allowed to become "Trusted Publishers":

> In the interest of making the best use of PyPI's finite resources, we only plan to support platforms that have a reasonable level of usage among PyPI users for publishing. Additionally, we have high standards for overall reliability and security in the operation of a supported Identity Provider: in practice, this means that a home-grown or personal use IdP will not be eligible.

How long until everyone is forced to launder their artifacts using Microsoft (TM) GitHub (R) to be "trusted"?

[1] https://docs.pypi.org/trusted-publishers/internals/#how-do-i...


I wrote a good chunk of those docs, and I can assure you that the goal is always to add more identity providers, and not to enforce support for any particular provider. GitHub was only the first because it’s popular; there’s no grand evil theory beyond that.

So if I self host my own gitea/forgejo instance, will trusted publishing work for me?

If you had enough users and demonstrated the ability to securely manage a PKI, then I don’t see why not. But if it’s just you on a server in your garage, then there would be no advantage to either you or to the ecosystem for PyPI to federate with your server.

That’s why API tokens are still supported as a first-class authentication mechanism: Trusted Publishing is simply not a good fit in all possible scenarios.


> if it’s just you on a server in your garage, then there would be no advantage to either you or to the ecosystem for PyPI to federate with your server.

Why not leave decision on what providers to trust to users, instead of having a centrally managed global allowlist at the registry? Why should he registry admin be the one to decide who is fit to publish for each and all packages?


> Why not leave decision on what providers to trust to users, instead of having a centrally managed global allowlist at the registry?

We do leave it to users: you can always use an API token to publish to PyPI from your own developer machine (or server), and downstreams are always responsible for trusting their dependencies regardless of how they’re published.

The reason Trusted Publishing is limited at the registry level is because it takes time and effort (from mostly volunteers) to configure and maintain for each federated service, and the actual benefit of it rounds down to zero when a given service has only one user.

> Why should he registry admin be the one to decide who is fit to publish for each and all packages?

Per above, the registry admin doesn’t make a fitness decision. Trusted Publishing is an optional mechanism.

(However, this isn’t to say that the registry doesn’t reserve this right. They do, to prevent spamming and other abuse of the service.)


They’re running the most popular registry but nothing says you can’t use your own to implement whatever policy you want. The default registry has a tricky balance of needing to support inexperienced users while also only having a very modest budget compared to the companies which depend on it, and things like custom authentication flows are disproportionately expensive.

What's the issue exactly?

They seem to manage to handle account signups with email addresss from unknown domain names just as fine as for hotmail.com and gmail.com. I don't see how this is any different.

The whole point of standards like OIDC (and supposedly TP) is that there is no need for provider-specific implemenations or custom auth flows as long as you follow the spec and protocol. It's just some fields that can be put in a settings UI configurable by the user.


It’s completely different. An email signup doesn’t involve a persistent trust relationship between PyPI and an OIDC identity provider. The latter imposes code changes, availability requirements, etc.

(But also: for completely unrelated reasons, PyPI can and will ban email domains that it believes are sources of abuse.)


According to their docs, they have a "have high standards for overall reliability and security in the operation of a supported Identity Provider: in practice, this means that a home-grown or personal use IdP will not be eligible."

If you think your setup meets those standards, you'll need to use Microsoft (TM) GitHub (R) to contact them.


In other words, it is a clear centralization drive. No two ways about it.

PyPI is already centralized.

Back when I started with PyPI, manual upload through the web interface was the only possibility. Have they gotten rid of that?

My understanding is that "trusted publishing"[0] was meant as an additional alternative to that sort of manual processing. It was never decentralized. As I recall, the initial version only supported GitHub and (I think) GitLab.

[0] I do not trust Microsoft as an intermediary to my software distribution. I don't use Microsoft products or services, including GitHub.

Yes, this makes contacting PyPI support via GitHub impossible for me. That is one of the reasons I stopped using PyPI and instead distribute my wheels from my own web site.


npm is centralized to start with, so how is this a problem?


Do you actually believe that, say, Barack Obama [1] or Pope Leo XIV [2] are nazis? If the answer is "yes" you may have more in common with MAGA looney fringes than you think.

[1] https://x.com/barackobama [2] https://x.com/Pontifex


It is the 'democrat' looney fringe, not the MAGA looney fringe which labels everyone a nazi so I suspect that someone who labels the mentioned individuals as such is more likely to be part of the former fringe than of the latter. Had they been part of the latter the label would have been 'commie' or something along those lines.

AWS also had to add some serious warnings into S3 console to stop people from blowing their foot off with public buckets.


It is actually a good thing to invest in blowing up fascists, especially in the context of an ongoing land invasion.


If the fascists don't blow up the anti-fascists first.

An eye for an eye, leaves us all blind.


Yes, of course, because as we all know:

1. Appeasement was a big success.

2. Fascists are known for having balanced personalities that at some point have enough and don't want more.


Actually there are a whole lot of musicians who find pride in "punching nazis" so to speak, but you are entitled to your Russian sympathies.


ok I think I remember this one where disliking war means I side with whoever you think your enemy is today.

I'm not american and I'm not interested in your ideas about who to kill.


Practically nobody "likes" war. However, when facing adversaries like Putin who don't care for democracy, human life, human rights, agreements and contracts, who have no conviction beyond "might makes right", not ensuring clearly superior military capabilities ultimately means submitting to their plans of domination. Reflexively rejecting any kind of military investment is naïve and plays into the hands of the likes of Putin. It is no surprise that in the west, political parties and actors with proven ties to the Russian regime predominantly promote this faux-pacifist narrative, effectively inviting the fox into the chicken pen.


yes you've got me, I'm a russian agent trying to fool you into questioning the arms trade.

was it the accent?


I did not mean to imply that at all.


> In America big cities “squares” are associated with crime and homelessness. Times Square (NYC) and Union Square (SF) being two examples.

Oh, that's what the main train station in any western European city exists for.


People on Mastodon being insufferable, say it ain't so


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: