all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: code signing with foreign function interface?
Date: Sun, 07 Mar 2010 18:05:18 +0100	[thread overview]
Message-ID: <m38wa45agh.fsf@verona.se> (raw)
In-Reply-To: <87y6i4xg7y.fsf@lola.goethe.zz> (David Kastrup's message of "Sun,  07 Mar 2010 17:13:21 +0100")

David Kastrup <dak@gnu.org> writes:

> joakim@verona.se writes:
>
>> - We don't necessarily need a complete secure infrastructure for
>> this. A simple solution might be to check for the presence of a form
>> of GNU license in binary form in the dll. This particular GNU license
>> is itself protected by copyright and cannot be combined with other
>> works without creating a derived work.
>
> Useless:
>
>      Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
>      Everyone is permitted to copy and distribute verbatim copies
>      of this license document, but changing it is not allowed.
>
> So you can copy the license into any work you like.  The presence of the
> GPL as a binary blob is meaningless with regard to licensing.  A book
> may also print the GPL without becoming GPLed.
>
> The GPL becomes relevant only when it is made clear that the acquisition
> of some software is governed by it.  Its mere presence in some manner is
> not more than a pointer.  If it is needed as a key without legal
> meaning, that use is perfectly covered by its license.

Ok, I was unclear. I didn't mean that the GPL in itself would be used for
this. I meant another new license, derived from the GPL, but specialized
for this purpose, specifically avoiding the pitfall you describe.

Maybe its still useless, but lets describe each step:

- Define a copyrightable text that might also be used as a binary blob.
this text has a license that allows it to be bundled with other GPL:ed
binary blobs, such as GPL:ed dll:s. Since these dll:s are GPL:ed its ok
to produce a new signed dll with the text in it.

- Sign a dll with this text with some kind of signing tool. Maybe static
  linking will be enough.

- Emacs FFI loads the dll and checks that the desired licensed text in
  binary form is present, and then proceeds to use the dll. If the text
  is not present, refuse to proceed.

-- 
Joakim Verona




  reply	other threads:[~2010-03-07 17:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-07  6:24 code signing with foreign function interface? joakim
2010-03-07 16:13 ` David Kastrup
2010-03-07 17:05   ` joakim [this message]
2010-03-07 18:06     ` Stephen J. Turnbull
2010-03-07 19:19       ` joakim
2010-03-08  4:22         ` Stephen J. Turnbull
2010-03-08  8:01           ` David Kastrup
2010-03-08  7:41     ` joakim
2010-03-07 18:04 ` Eli Zaretskii
2010-03-07 19:39   ` joakim
2010-03-08  8:04 ` Richard Stallman
2010-03-08  8:15   ` joakim
2010-03-08  8:24   ` Miles Bader
2010-03-08  9:02     ` Stephen Berman
2010-03-08  9:12       ` Eli Zaretskii
2010-03-08 15:20   ` Stefan Monnier
2010-03-09  3:18     ` Richard Stallman

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=m38wa45agh.fsf@verona.se \
    --to=joakim@verona.se \
    --cc=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.