News for hackers. Stuff that matters.
Re:How I gained commit access to Homebrew in 30 minutes by mnarayan01 on Tuesday August 07, 2018 @12:50PM (#17708286)
Linus (from 2009) on problems with signing every commit: http://git.661346.n2.nabble.com/GPG-signing-for-git-commit-t...
Re:How I gained commit access to Homebrew in 30 minutes by ejholmes on Tuesday August 07, 2018 @01:05PM (#17708399)
General rule of thumb for secure package distribution:

1. Is the identifier mutable? Make sure it points to a content addressable identifier (SHA2), and sign that link. 2. Is it a content addressable identifier? Nothing to do.

When it comes to signing in git, signing tags is usually where you see the most value (mutable identifier that points to a git tree, which is content addressable).

You’re just trying to improve the trust in saying “Hey, v1.2 is this SHA digest”.

Re:How I gained commit access to Homebrew in 30 minutes by shittyadmin on Tuesday August 07, 2018 @12:59PM (#17708350)
He seems to be discouraging signing every commit's individual data but encouraging signing the actual commit ID (SHA1) which should be perfectly feasible for something like homebrew.
Re:How I gained commit access to Homebrew in 30 minutes by mnarayan01 on Tuesday August 07, 2018 @01:18PM (#17708533)
> Signing each commit is totally stupid. It just means that you automate it, and you make the signature worth less.
Re:How I gained commit access to Homebrew in 30 minutes by shittyadmin on Tuesday August 07, 2018 @01:44PM (#17708777)
You're still getting a signature directly from the developer's machine, not from the repository server and as such you're still vastly shrinking the attack surface.
Re:How I gained commit access to Homebrew in 30 minutes by mratzloff on Tuesday August 07, 2018 @02:33PM (#17709274)
It's really not that hard to type a password into the terminal every time you commit.
Re:How I gained commit access to Homebrew in 30 minutes by majewsky on Tuesday August 07, 2018 @06:40PM (#17711551)
You have no idea how creative people get when faced with minor nuisances. I've seen devs/admins go to great lengths to avoid doing more than one 2FA per day.
Re:How I gained commit access to Homebrew in 30 minutes by bigiain on Tuesday August 07, 2018 @09:40PM (#17712540)
Like this?

https://www.youtube.com/watch?v=AsNwon4fjqY

A publicly available webcam pointed at an RSA SecurID hardware token...

(The optimist ion me hopes this was performance art. But I've worked with people who'd do that if it made their day ever so slightly easier...)