Giter Club home page Giter Club logo

Comments (4)

chaserene avatar chaserene commented on September 2, 2024 2

based on your edit I presume you understand what I meant, though your language makes me unsure. in any case, here's the explanation.

what Github provides you with is not PGP signing in the proper sense. the private key of that key pair belongs to Github:

$ gpg --keyserver pgp.mit.edu --recv-key 4AEE18F83AFDEB23
...
gpg: key 4AEE18F83AFDEB23: public key "GitHub (web-flow commit signing) [email protected]" imported

you are outsourcing the authenticity proving to the same third party that we download the releases from, so not only is this insufficient, it's also redundant, apart from DNS-hijacking and domain name takeover scenarios.

what you wanna do (short version) is 1) have each of your release managing devs generate a PGP key pair that they use solely for signing releases (can be done with a Trezor too, much safer), 2) upload the public keys to PGP key servers, your website and your Github, 3) publish the key fingerprints on many diverse channels (website, Github, ENS, Twitter, write on your hand and read it out in a video, T-shirts, conference slides), 4) have each of these devs sign each release, and 5) upload the signatures together with the binaries (you can put all signatures in a single file like Electrum devs do).

long versions here and here.

from safe-wallet-web.

katspaugh avatar katspaugh commented on September 2, 2024 2

Cool, thanks for breaking it down.

I've already created a GPG key pair and configured git to use it. Still need to do steps 3, 4 and 5.

Looks like uploading the signature and code archives would have to be a manual process.

from safe-wallet-web.

chaserene avatar chaserene commented on September 2, 2024 2

indeed, since a key needs to be in the sole physical ownership of each signing party, it is an additional manual process. (thanks for linking to that Debian Wiki entry, it does a much better job at explaining than my "long version" links.)

from safe-wallet-web.

katspaugh avatar katspaugh commented on September 2, 2024

Doesn't GitHub already sign them?

Screenshot 2022-07-19 at 11 02 13

We'll make sure to also sign direct commits with individual GPG signatures. Thanks for flagging this!

from safe-wallet-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.