Thankfully the Linux kernel project accepts only signed commits.
Linus Torvalds did not commit this
21–30 of 198 posts
Re: Linus Torvalds did not commit this
#22And we default to not requiring such authentication because the means we have are either completely useless (i.e. passwords) or so onerous (I always have to Google when I setup cryptographic credentials on anything, and we expect lay users to do this?) that they ruin adoption rates for software and services.
State-of-the-art secure credentialing should be as easy as passwords. Easier, even. Yet they're currently as "easy" as configuring Apache.
Re: Linus Torvalds did not commit this
#23Earlier quoted context omitted.
So, when submitting to your project it can happen that I'm afterwards blamed for things I didn't do? (Or praised)
That's the problem with all these guys obsessed with clean commit history.
I think it's something people take too lightly.
Re: Linus Torvalds did not commit this
#24Yeah this is known, and you can get yourself an awesome list of contributors if you want: https://github.com/zixan/uberfareestimator/graphs/contributo... I think github should allow me as a user to confirm contributions made out of the system, at least the first time per repo.
Re: Linus Torvalds did not commit this
#25Re: Linus Torvalds did not commit this
#26Re: Linus Torvalds did not commit this
#27Earlier quoted context omitted.
So, when submitting to your project it can happen that I'm afterwards blamed for things I didn't do? (Or praised)
I'm not sure I follow? All of your work is intact and committed as you, it's just done as a single (squashed) commit instead of N commits. The only difficulty that potentially arises (that we've encountered so far) is a lack of granularity for commit messages, which is why we try to keep PRs very small and focused.
Re: Linus Torvalds did not commit this
#28Kinda hard to not come up with it when setting up your credentials is the first thing git wants you to do before you can commit anything. BTW. You can also overwrite them by command line switches per commit instead of setting environment variables. I guess it's worth noting here that you can sign your commits with GPG: https://git-scm.com/book/tr/v2/Git-Tools-Signing-Your-Work
Similarly, nothing stops you altering the time claimed in the commit. Or -- for that matter -- from taking someone's diff and claiming credit for it. For that reason, I jokingly created `git-upstage`, which streamlines the process of abusing commit edits and plagiarizing code! It squashes a branch, backdates it 5 minutes, and claims you wrote it. https://github.com/SilasX/git-upstage Edit: Looks like my last commit l…
Re: Linus Torvalds did not commit this
#29I can imagine a scenario where a malicious employee is intentionally injecting malicious code (backdoor, whatever) and wants that commit tied back to someone else (their enemy, boss).
Re: Linus Torvalds did not commit this
#30Perhaps some mechanism is called for here for approving tying back to your user on new repositories or making any repository not owned by you or your organizations require an explicit opt-in to tie back to your profile.
Edit: This is kind of the equivalent of spoofing the From address in an email.