News for hackers. Stuff that matters.
Re:Toyota Accidently Exposed a Secret Key Publicly on GitHub... by mypalmike on Friday October 14, 2022 @03:31AM (#33200610)
What do you have to set up client side? They can be committed with the project. Or do I misunderstand?
Re:Toyota Accidently Exposed a Secret Key Publicly on GitHub... by kadoban on Saturday October 15, 2022 @11:47AM (#33215807)
Pre-commit hooks can't be automatically set up on the client side. If they could, this would mean that any repo you clone could run arbitrary code on your machine.

It can be as simple as a script you have to run once, but it can't be automatic. Which also means you can't really trust contributors to do it, even if they're well-meaning some will forget.