News for hackers. Stuff that matters.
Re:SSH commit verification now supported by dlor on Tuesday August 23, 2022 @02:23PM (#32568990)
Shameless plug for the gitsign project in sigstore: https://github.com/sigstore/gitsign

This isn't supported by GitHub yet but we're hopefully working towards that too.

Re:SSH commit verification now supported by fariszr on Tuesday August 23, 2022 @02:32PM (#32569131)
Is there any other Git host/platform that supports it? Gitea/GitLab?
Re:SSH commit verification now supported by sytse on Tuesday August 23, 2022 @02:53PM (#32569474)
Re:SSH commit verification now supported by fariszr on Tuesday August 23, 2022 @03:11PM (#32569793)
What about Sigstore, is there any plan on supporting it?
Re:SSH commit verification now supported by wlynch on Tuesday August 23, 2022 @03:15PM (#32569872)
You can find the feature request for supporting keyless sigstore/gitsign at https://gitlab.com/gitlab-org/gitlab/-/issues/364428
Re:SSH commit verification now supported by sytse on Tuesday August 23, 2022 @06:27PM (#32572424)
Sorry, I missed the context your original question was about Sigstore. Someone answered in https://news.ycombinator.com/item?id=32569872
Re:SSH commit verification now supported by wlynch on Tuesday August 23, 2022 @03:21PM (#32569995)
Worth calling out that gitsign works with any Git host for the commit signatures / verification!

The main piece that's platform specific is the Verified badges that you see in the UI + any CI checks.

Re:SSH commit verification now supported by francoispon on Tuesday August 23, 2022 @11:46PM (#32574757)
I think github support came out a year and half after the feature was available in git (nov 2021), so that may going to be a while :(
Re:SSH commit verification now supported by LionTamer on Tuesday August 23, 2022 @02:35PM (#32569179)
I just looked through the website and I’m struggling to understand exactly how it works - how do you have signing / verification without the risk of key compromise?
Re:SSH commit verification now supported by Foxboron on Tuesday August 23, 2022 @03:17PM (#32569914)
The same way LetsEncrypt makes compromised TLS certificates (almost) useless; short-lived certificats.

What the sigstore project does is having an oauth portal which can authenticate one of your online identities. It uses this to sign a temporary certificate for you with it's root CA. This certificate is what you use to sign commits and artifacts with.

Re:SSH commit verification now supported by wlynch on Tuesday August 23, 2022 @03:51PM (#32570508)
+1 to this!

https://docs.sigstore.dev/fulcio/certificate-issuing-overvie... has a good overview of how the certificate issuing works.

With Gitsign, by default a new keypair is generated per signing event (i.e. per commit) and never hits disk. The cert in the commit signature holds the public key, which we can check against Rekor (https://docs.sigstore.dev/rekor/overview) to verify it was valid at the time of signing.

If you have the time, https://www.youtube.com/watch?v=PVhRQFS9Njg is a great deep dive into how Sigstore works in general!

Re:SSH commit verification now supported by dwheeler on Tuesday August 23, 2022 @03:05PM (#32569715)
I may be misunderstanding your question, but here is the answer if I understand you correctly.

This is all based on public key cryptography. In public key cryptography, there are actually 2 keys, a public key and a private key. Sites like get hub and the repose can store the public keys, while into while individual users keep their private key's secret. Anyone with the public key can verify a signature, but only an individual with the private key can create the equivalent signature.

The trick is to determine if a given public key corresponds to an individual. There are various methods to try to address that.

I hope that helps!

Re:SSH commit verification now supported by 616c on Tuesday August 23, 2022 @08:12PM (#32573369)
Super excited and can't wait!