public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Marvin Häuser" <mhaeuser@posteo.de>
To: Pedro Falcato <pedro.falcato@gmail.com>
Cc: edk2-devel-groups-io <devel@edk2.groups.io>
Subject: Re: [edk2-devel] Question about EDK2 and commit signing
Date: Mon, 13 Sep 2021 19:31:26 +0000	[thread overview]
Message-ID: <d54ed4cb-6686-263d-1551-31863d428f53@posteo.de> (raw)
In-Reply-To: <CAKbZUD1dE9iW2g8-AG6w7MGE7YJoeEEYpOuca31vasnCvqGMhA@mail.gmail.com>

Hey Pedro,

Same point as before really, why would an attacker have access to your 
SSH key but not your GPG key? This scenario leaves out the possibly of 
an HTTPS over SSH attack, in which case as a security-aware person you 
use 2FA of course ( :) ), which means this is not possible without 
creating a personal access token. There is very little reason to do this 
at all - I never did this before, and I don't know anyone who does this 
with their private or work GitHub account (I think a few use it for 
CI?), at least that I know of. And even if you need one, and you give it 
push rights to actually push with, and you require GPG signatures 
globally, you again are keeping those two factors at least close 
together, if not in the same spot.

Best regards,
Marvin

On 13/09/2021 18:50, Pedro Falcato wrote:
> Hi James, Marvin,
>
> Interesting points of view.
> I still have a question though: If any part of the process got
> compromised (maintainer, or in the worst case scenario, the repo
> itself), is there anything that could be done
> in order to assess the damage? I'd say signing could help establish
> trust in a lot of those cases
>
> Thanks,
> Pedro
>
> On Sun, Sep 12, 2021 at 10:53 AM Marvin Häuser <mhaeuser@posteo.de> wrote:
>> Hey,
>>
>> Just my 2 cents...
>>
>> Contributors: Git's stance is the author doesn't really matter as long
>> as the code is acceptable. For most people, you will not know them
>> anyway and it does not buy you much to know they own GitHub account XY.
>> If someone is impersonating a maintainer (who would push the changes
>> directly after review), that would be obvious anyway.
>>
>> Maintainers: Why would someone have access to your SSH key but not your
>> GPG key? Especially if your commits are auto-signed, both keys are
>> likely equally readable. More factors do not meaningfully increase
>> security if they are not clearly separate.
>>
>> I'm sure nobody minds your signatures though. :)
>>
>> Best regards,
>> Marvin
>>
>> On 11/09/2021 20:25, Pedro Falcato wrote:
>>> Hi everyone,
>>>
>>> Yesterday, when pushing my first commits to edk2-platforms (as the
>>> Ext4Pkg maintainer), I noticed that my commits (see 7872c98 and
>>> 71f3343) stick out like a sore thumb, as I have GPG signing on my
>>> commits on by default (see git config commit.gpgsign), globally across
>>> all my projects.
>>>
>>> Is there an official stance on signed commits? I was thinking that
>>> commit signing, at least for the maintainers that apply and push
>>> patches, could be useful as a way to establish authenticity for every
>>> commit that gets to the edk2 repos.
>>>
>>> Best regards,
>>>
>>> Pedro Falcato
>>>
>>>
>>> 
>>>
>>>
>


  reply	other threads:[~2021-09-13 19:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-11 18:25 Question about EDK2 and commit signing Pedro Falcato
2021-09-11 21:48 ` [edk2-devel] " James Bottomley
2021-09-12  9:53 ` Marvin Häuser
2021-09-13 16:50   ` Pedro Falcato
2021-09-13 19:31     ` Marvin Häuser [this message]
2021-09-14 18:02       ` James Bottomley
2021-09-14 20:18         ` Marvin Häuser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d54ed4cb-6686-263d-1551-31863d428f53@posteo.de \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox