public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.cz>
To: David Howells <dhowells@redhat.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] MODSIGN: Discard previous signature when signing modules
Date: Wed, 27 Mar 2013 00:48:24 +0100	[thread overview]
Message-ID: <515233C8.40205@suse.cz> (raw)
In-Reply-To: <960.1364340890@warthog.procyon.org.uk>

On 27.3.2013 00:34, David Howells wrote:
> Michal Marek <mmarek@suse.cz> wrote:
> 
>> The format only supports one signature, so discard any previous
>> signature before signing the module.
> 
> That's not totally true.  The format does not preclude multiple signatures.
> You can just add another signature block on the end that signs everything
> inside of that, including all previous signatures.  The alteration to the code
> to check all of them would be very small, I think.

The question is if this would be useful and desired, as opposed to
supporting a list of signatures that all sign the *same* message. My bet
is that such chain of signatures is more likely going to indicate error
than intention. But I don't care much, I haven't run into this myself, I
just thought that others migh do.

Michal

      reply	other threads:[~2013-03-26 23:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 22:58 [PATCH] MODSIGN: Discard previous signature when signing modules Michal Marek
2013-03-26 23:34 ` David Howells
2013-03-26 23:48   ` Michal Marek [this message]

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-all 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=515233C8.40205@suse.cz \
    --to=mmarek@suse.cz \
    --cc=dhowells@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    /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