Giter VIP home page Giter VIP logo

Comments (8)

tphyahoo avatar tphyahoo commented on July 30, 2024

couldn't the same complaint be made about github.com/bitcoin/bitcoin or for that matter practically anything on github?

some commits on bitcoin repo are signed, but by no means all. Is there a policy for sign offs in bitcoin repo, or just ad hoc?

Is there anything about python-trezor that makes signatures here even more important than, say, bitcoin repo?

from python-trezor.

petertodd avatar petertodd commented on July 30, 2024

The Bitcoin Core maintainers ensure all commits that end up directly in git HEAD are signed (typically merge commits). Theres even a git push hook script to ensure this in the repo under control/ It'd be better if all contributors also signed commits, but ensuring git HEAD is signed is an important first step. Also of course, git tags are always signed.

That other projects don't bother isn't an excuse...

from python-trezor.

tphyahoo avatar tphyahoo commented on July 30, 2024

bitcoin git:(master) $ git log --show-signature | grep commit -A1 | head -n30 | grep commit | wc -l
10
bitcoin git:(master) $ git log --show-signature | grep commit -A1 | head -n30 | grep gpg | wc -l
7

so only 7 out of 10 last commits signed in master, unless am I missing something?

(update)

"all commits that end up directly in git HEAD"

did you mean git master?

Can you point to the hook script? Perhaps this coud be reused by python-trezor, or others, as best practice?

I'm thinking of cloning this issue for some repos under haskoin, but I want to make sure I understand action to take first.

it looks like the last two tags since v0.9.0rc1 have sigs, that's good.

from python-trezor.

prusnak avatar prusnak commented on July 30, 2024

What is the point of signing commits if you haven't verified the fingerprint of my GPG key via phone or meeting me in person?

from python-trezor.

tphyahoo avatar tphyahoo commented on July 30, 2024

I suppose if the main devs in btc world don't already have a web of trust relationship, maybe this is something that SHOULD be remedied by a phone call. I haven't invested into WOT myself, but it does seem like a healthy thing to do.

a skype video call, with a picture of the keyholder from a trusted source, is a little more spoof proof maybe...

from python-trezor.

petertodd avatar petertodd commented on July 30, 2024

@tphyahoo You are missing something: notice how all the merge commits are signed? (mostly by wladimir)

@prusnak For starters, if I ever get a copy of the code that is validly signed by you, even just once, I can use it to verify that i have code from the same person in the future by checking that the key hasn't changed from my old copy. This is also a matter of general post-hack audit capabilities: if github gets hacked we might not notice immediately, but we'd sure like to be able to figure out where the hack happened after the fact.

from python-trezor.

prusnak avatar prusnak commented on July 30, 2024

OK, I configured git so now it signs my commits. Let's close this now.

from python-trezor.

petertodd avatar petertodd commented on July 30, 2024

Thanks! You're signatures look good here!

from python-trezor.

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.