18,530 karma · joined Aug 9, 2010 (16y ago) · 9,510 submissions
comment 1w ago · link · parent
"Hume, with his criticism of the concept of causality, awakened him from his dogmatic slumbers--so at least he says, but the awakening was only temporary, and he soon invented a soporific which enabled him to sleep again."
comment 1w ago · link · parent
Not the things that are breaking, no. The FAA was doing ATC a decade ago. We had email and cloud servers a decade ago. We had bank websites a decade ago. The scale of those things today is perhaps larger than a decade ago, but not enormously larger; indeed, the increase in scale in those things is much smaller than the increase in computing power in the world from a decade ago. So these things should have gotten more reliable--but they haven't.
comment 1w ago · link · parent
In other words, you only trust parties to do the binding whose key management you find to be acceptable, and "I keep my private key on my local machine that nobody else ever has access to" is not acceptable. Correct?
> PyPI also supports self-hosted GitLab instances for organizations
How does PyPI verify that those organizations are doing key management in a way you find acceptable?
comment 1w ago · link · parent
That's not what the rest of your post says. The rest of your post says that you can use one for your website--which of course is true since no one can stop you if you insist on doing it--but that the rest of the Web infrastructure will treat your certificate poorly.
I am simply pointing out that it looks to me like PyPI's attestation mechanism is taking a similar viewpoint to the Web infrastructure in this respect.
> You can embed a signature into a Python package if you want.
I'm talking about the attestation mechanism. That mechanism, unless I'm missing something, does not support self-signed certificates.
comment 1w ago · link · parent
The Web allows self-signed certificates. I can put one on my website and people can use HTTPS to connect to it that way. And then it's up to each person who goes to my website to decide how secure my self-signed certificate is, as opposed to one that comes from a CA.
But of course the browser vendors don't look at it that way, they'll put serious warnings up to the user if they see a self-signed certificate, which they won't for a CA-signed certificate. That's basically your thought process as well, yes? Except that since you control the equivalent of the "website" and its certificate here (namely PyPI and its upload process), you won't even allow the equivalent of a self-signed certificate at all.
comment 1w ago · link · parent
comment 1w ago · link · parent
Only if you already trust them.
> dropping the signing key on disk on whatever servers you want to run your builds from
I run my builds on my local machine. The private key I would use to sign them if PyPI supported that is not anywhere in the repo I'm using.
Of course you would have to trust that I'm telling the truth in what I just said. But, as above, you also need to trust what the large tech forges are telling you in order to review how they handle their keys.
comment 1w ago · link · parent
In the sense that I'm not a large corporation and nobody else is auditing my personal computer, yes, that's true. Note, though, that large corporations are also subject to nefarious actors misusing their infrastructure. What if a rogue employee hacks their internal system? Or Russia or China manages to get a backdoor into it?
In any case, all this doesn't make the method I described impossible. It just means that attestations produced by an individual workflow need to be clearly labeled to distinguish them from attestations produced using a tech forge's workflow, so people will understand what, specifically, is being attested to. Then people could weigh each trust signal as they choose.
> Hand PGP signing
To be clear, I wasn't talking specifically about this method of signing with a personal key. I agree there are lots of issues with PGP as an overall system. I was only talking about the general idea of having some way for individuals to independently generate an attestation without having to go through a tech forge's workflow.
comment 1w ago · link · parent
From what I can gather from the github issue that was linked to, those would still require the email identity to be vouched for by a provider. (Though if whoever already is hosting my email could be a "provider", that would at least greatly expand the list of providers from the current small number of forges.) There doesn't seem to be any way for me to, for example, link a public key I generate myself to an email address that PyPI already has on file for me.
comment 1w ago · link · parent
Does that mean I, as someone who has projects on PyPI, shouldn't care if I am unable to provide any attestations because I don't want to have to go through one of the recognized forges?
> Authenticity and minimally-scoped credentials should be ambient properties of a system
But if the only way to get them is to go through one of the recognized forges, then they're not "ambient properties" of just PyPI alone, because there's no way for me to use them just with PyPI alone.
comment 1w ago · link · parent
Which is great--but does not in any way require that the attestation can only be produced by working through one of a small set of recognized "forges". You could do this just as easily by, for example, letting me upload to my PyPI account a public key (the same as forges like Github do to allow SSH access), and then letting me sign builds that I upload using the corresponding private key. But that kind of workflow is not being supported. Why not?
comment 1w ago · link · parent
comment 1w ago · link · parent
comment 1w ago · link · parent
comment 1w ago · link · parent
It's not even much of an inference. The discussion went sideways because Steering Council members in the thread kept responding to Tim's questions about why the proposed bylaws change was being made (and pushed through very quickly with no real discussion) by saying "there are reasons, but they're secret and we can't talk about them, trust us", and getting very hot and bothered when that answer was not accepted (and not just by Tim, there were multiple people in the thread who were not satisfied with it and explained why at some length).
After quite a bit of back and forth, one SC member (I think Thomas Wouters but I'm not sure) admitted that there were specific PSF Fellows (giving no names) who the Board planned to use this new power to remove. And it's at this point that Tim's ban becomes even more of a footgun on the PSF's part, because when Tim saw this, he said that knowing it made him more likely to vote for the proposed bylaw change, since apparently the need for it was not just hypothetical. (Others in the thread took a much more negative view of the revelation than Tim did.) So the whole discussion that Tim prompted ended up with Tim supporting what the PSF were doing in this case--which should have been a cue for the PSF to say, hey, good, I'm glad we've addressed your concern and you're ok with this now. But instead--they banned him.
comment 1w ago · link · parent
I'm not saying a reasonable person looking in from the outside couldn't think they were frivolous. I'm just saying the PSF leadership themselves didn't think they were.
I personally, looking in from the outside, wouldn't necessarily describe the reasons as "frivolous", but I think "unjustified" certainly fits the bill.
comment 1w ago · link · parent
The OP said:
"we also ask the candidate to open a PR"
So I think the OP meant to have the candidate, um, open a PR. Which is not the same thing as making a commit and pushing it to a remote. Maybe you always conflate those operations, but that doesn't make them the same operation. If the OP actually meant that they ask the candidate to make a commit, push it to the remote, and then open a PR, I would have expected the OP to say, um, all of those things, instead of just the last one.
I couldn't say how the OP expected the candidate to open a PR, since I don't know what their standard workflow is. There are ways of doing it from the CLI, as well as through the web interface, as well as through various IDEs.
> I started out by assuming this was some kind of good-faith disagreement, but I guess you're just trying to be funny.
Please save your patronizing for another time. And stop trying to put words in my mouth.
comment 1w ago · link · parent
I don't see how. Indeed, using 0 and 1, the int values, as if they were boolean false and true created more confusion. First, int has more values than just 0 and 1--and all of them are "truthy". Second, treating 0 and 1 as booleans is still treating boolean-ness as a noun--but also confusing that with treating it as an adjective for those int values.
PEP 285, which introduced the bool type, gives other rationales as well:
comment 1w ago · link · parent
This makes it seem like all of those things are part of a single operation to you. That doesn't make sense to me.
On the occasions where I've submitted a PR to a project (anywhere, not just on Github), making the commit was not part of the same operation. I'd already made the commit and satisfied myself that it captured everything I wanted, before making the PR. I don't see those things as part of a single operation. I don't think the poster you were responding to does either.
comment 1w ago · link · parent
Not if you just use the objects as their natural types. For example:
>>> "" == False
False
>>> "a" == True
False
> "if x" and "if x == True" are now very similar, but subtly different, ways to express the same thing.No, they're not. See above.