Replacing an existing commit with another poisoned one, with the same hash.
It's usually best practice to pin a hash, and not just follow main or whatever, so that even if the repo is compromised, you're safe. But if suddenly you can craft commits with a given hash, then this goes out.
I knew I’d read about this recently, dug back and found https://blog.gitbutler.com/git-3-sha-256. I think it makes a fairly good case that this isn’t necessarily a crisis.
My company mandates signing with Yubikey + touch for every commit for years now. I am close to 9k commits in about 4y apparently according to pinentry. It's fine. The count is inflated by rebases on branches with many commits where you can just keep the finger on the key.
My biggest issue now with AI is that I usually miss the blinking led because I have multiple things going on in parallel, so I have a memory to retry which means I need to re-enter the pin to unlock, but at least it's a pop up in your face. If I leave it to do things in the background and I want commits, I ask it not to sign the commits, and I resign them at the end. It probably needs a history cleanup anyway in this case.
The existence of one-way functions (Rank 008 in TFA) would have a tremendous importance for cryptography.
For now, all cryptography is based on using functions that are supposed to be one-way from the secret key to the encrypted text, but nobody knows whether this supposition is true. From time to time, some functions that were assumed to be one-way are proven to not be such functions.
Knowing to use functions that are provable to be one-time, instead of making random choices while hoping that they are correct, would be the greatest change in cryptography since its invention millennia ago.
If we had a mathematical method to prove that a function is one-way, that would have immediate consequences, as everyone would switch ASAP to use ciphers based on such functions.
To be useful, any solution to this problem must include either a criterion for deciding whether a function is one-way or a method for constructing such functions.
Because the definition of a one-way function is extremely abstract, I cannot actually imagine how one could prove the existence of such functions otherwise than by a decision criterion or a construction method.
At most, the alternative would be to prove that a certain set of functions, where the functions have a certain structure, e.g. all those obtained by composing elementary functions defined on certain sets, includes or does not include one-way functions, which in the latter case would still be useful by excluding from consideration functions that cannot be one-way.
P=NP in no way implies the existence of actually useful algorithms. It would state that they are not totally impossible, but I'd assume that it's extremely likely (95%) that if P=NP, then the complexity for NP-complete problems is still within the "not until the heat death of the universe" range.
I mean, if you're charitable, that's the objective defined by the higher levels, to be implemented as required by the lower level functions. As least it's somewhat clear and objective.
Of course, it cannot hold in absolutely every instances. But if you know, right now, that if you have an issue in prod, you cannot release a fix in under an hour because your CI takes 3, then you should fix it. Same for restoring backups, rolling back changes, ...
At least that's how I interpret it. Better than some nebulous "do better"/"fix faster". Then it's a question about whether the organisation will actually support and enable the changes required to reach the goal, but that's a different problem.
You don't, but it has been verified using multiple independently written implementations. So maybe they all share the same defect that invalidates the proof, but it's believed to be rather unlikely.
In an ideal world, all bugs would be fixed, but we all know it's not the case, and at least that makes it clear. And for the team it makes backlog management easier.
What's the alternative? You can file it as "trivial" priority and exclude those from your backlog, but what have you gained?
And it makes particularly sense for internal trackers. At least with open source they're always the small chance someone decides to contribute a fix. In a company setting, no one else is going to fix your bugs. At best they will tell their manager to tell your manager to fix it. It's not like tickets cannot be reopened.
The benefit of keeping it open is that someone else filing the same bug may find the existing, open bug and avoid a duplicate and related cleanup work.
Also allows for better reporting on quality and root cause analysis.
The benefit of closing it, of course, is that it is closed, because it won't get fixed. There has to be some way to mark bugs that won't ever get fixed. And "Open: won't fix" doesn't seem entirely reasonable. No need to keep triaging a bug report over and over again that actually never will get fixed.
The difficulty with managing a bug queue from the developer side is that mature products have thousands (tens of thousands, even) of bug. The challenge is to keep the queues clean enough that important bugs (and good feature requests) won't get lost. That requires discipline, good process, and good hygiene.
And in modern agile development environments, bugs take priority over new feature development. So if you truly are not going to fix it, you MUST close it.
Notifying the user that the bug report is closed also provide the user with an opportunity to re-make their case as to why it does need to be fixed. Which is also a good thing.
I'm not sure I follow the circular logic about closed bugs being good because they are closed. I agree with almost everything you're saying but still don't see the benefit of closing a bug without fixing it. Triage it as low priority or trivial and leave it at that. It still gives the reporter an opportunity to make a case.
In my experience, these 'wont fix' closures are typically product owners or maintainers that don't experience or internalize the issue personally, so they don't feel compelled to fix or prioritize.
As a contrived example, text that misleads half the people that read it but not the maintainer. The maintainer simply can't see the problem or they think people can just figure it out.
Circling back to the OP; the entire backglog sometimes get closed because the backlog becomes too unwieldy (which is the actual problem). Closing them all throws the baby out with the bathwater.
It's common for the default filter to include Open issues only. There's also an expectation that if the bug still exists, it won't be closed. Third, there would almost certainly be more closed bugs than open, making it even harder to find.
We were asked to migrate from Zoom to Teams recently. We have to use git and GitHub. Recently, there's a mandate to migrate from Jenkins to GitHub Actions. We have to use Windows or Mac, no Linux. We have to have the corporate VPN and antivirus running. And so on, and so on.
Perhaps that's why office jobs seem less productive than ever, since the invention of the computer... The usual meritocracy of the workers choosing their own tools is upset by top-down planning by insufficiently experienced people, having to bear no consequences for their choices.
I don't know about PHP, but at work our artifacts are signed, and you certainly cannot have the signing certificate on your laptop.
It's stored in some secure server, and only accessible from some allowlisted build nodes, for specific builds (release branch, ...).
Now of course, there are ways around that if required, but they are, by design, manual, cumbersome and slow. I could not create a release build locally in a few minutes. A few hours maybe if the whole organisation dedicated itself to it.
Setting up all that for single man project might be a hassle but for any sofware with actual dev team I wouldn't call it hard to do.
I'd worry more about the fact that essentially publishing binary-first means that it ever gets compromised that makes it easier for attacker to smuggle exploit using "this is security update" pretext.
I believe the car market is very depressed in the summer months, especially August, so a good chunk of it is probably simply people buy more cars in September than in August.
Proportion would be more interesting.
It's usually best practice to pin a hash, and not just follow main or whatever, so that even if the repo is compromised, you're safe. But if suddenly you can craft commits with a given hash, then this goes out.
reply