<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/module-signing.txt, branch linux-4.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-07-27T03:08:00Z</updated>
<entry>
<title>Documentation/module-signing.txt: Note need for version info if reusing a key</title>
<updated>2016-07-27T03:08:00Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2016-04-27T23:54:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b8612e517c3c9809e1200b72c474dbfd969e5a83'/>
<id>urn:sha1:b8612e517c3c9809e1200b72c474dbfd969e5a83</id>
<content type='text'>
Signing a module should only make it trusted by the specific kernel it
was built for, not anything else.  If a module signing key is used for
multiple ABI-incompatible kernels, the modules need to include enough
version information to distinguish them.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>modsign: Fix documentation on module signing enforcement parameter.</title>
<updated>2016-03-12T08:48:11Z</updated>
<author>
<name>James Johnston</name>
</author>
<published>2016-03-10T03:38:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=abfa6cd8cda71b9071191e72711bd474e539b1b2'/>
<id>urn:sha1:abfa6cd8cda71b9071191e72711bd474e539b1b2</id>
<content type='text'>
Modify the documentation to match the actual parameter as implemented in
kernel/module.c:273.

Signed-off-by: James Johnston &lt;johnstonj.public@codenest.com&gt;
Reviewed-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>Move certificate handling to its own directory</title>
<updated>2015-08-14T15:06:13Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2015-08-14T14:20:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cfc411e7fff3e15cd6354ff69773907e2c9d1c0c'/>
<id>urn:sha1:cfc411e7fff3e15cd6354ff69773907e2c9d1c0c</id>
<content type='text'>
Move certificate handling out of the kernel/ directory and into a certs/
directory to get all the weird stuff in one place and move the generated
signing keys into this directory.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Reviewed-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>sign-file: Document dependency on OpenSSL devel libraries</title>
<updated>2015-08-12T16:01:01Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2015-08-11T11:38:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=228c37ff980f5643401a1667f5ab7c6f38602cf8'/>
<id>urn:sha1:228c37ff980f5643401a1667f5ab7c6f38602cf8</id>
<content type='text'>
The revised sign-file program is no longer a script that wraps the openssl
program, but now rather a program that makes use of OpenSSL's crypto
library.  This means that to build the sign-file program, the kernel build
process now has a dependency on the OpenSSL development packages in
addition to OpenSSL itself.

Document this in Kconfig and in module-signing.txt.

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Reviewed-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>modsign: Add explicit CONFIG_SYSTEM_TRUSTED_KEYS option</title>
<updated>2015-08-07T15:26:14Z</updated>
<author>
<name>David Woodhouse</name>
</author>
<published>2015-07-20T20:16:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=99d27b1b52bd5cdf9bd9f7661ca8641e9a1b55e6'/>
<id>urn:sha1:99d27b1b52bd5cdf9bd9f7661ca8641e9a1b55e6</id>
<content type='text'>
Let the user explicitly provide a file containing trusted keys, instead of
just automatically finding files matching *.x509 in the build tree and
trusting whatever we find. This really ought to be an *explicit*
configuration, and the build rules for dealing with the files were
fairly painful too.

Fix applied from James Morris that removes an '=' from a macro definition
in kernel/Makefile as this is a feature that only exists from GNU make 3.82
onwards.

Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>modsign: Use single PEM file for autogenerated key</title>
<updated>2015-08-07T15:26:14Z</updated>
<author>
<name>David Woodhouse</name>
</author>
<published>2015-07-20T20:16:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fb1179499134bc718dc7557c7a6a95dc72f224cb'/>
<id>urn:sha1:fb1179499134bc718dc7557c7a6a95dc72f224cb</id>
<content type='text'>
The current rule for generating signing_key.priv and signing_key.x509 is
a classic example of a bad rule which has a tendency to break parallel
make. When invoked to create *either* target, it generates the other
target as a side-effect that make didn't predict.

So let's switch to using a single file signing_key.pem which contains
both key and certificate. That matches what we do in the case of an
external key specified by CONFIG_MODULE_SIG_KEY anyway, so it's also
slightly cleaner.

Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>modsign: Extract signing cert from CONFIG_MODULE_SIG_KEY if needed</title>
<updated>2015-08-07T15:26:14Z</updated>
<author>
<name>David Woodhouse</name>
</author>
<published>2015-07-20T20:16:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1329e8cc69b93a0b1bc6d197b30dcff628c18dbf'/>
<id>urn:sha1:1329e8cc69b93a0b1bc6d197b30dcff628c18dbf</id>
<content type='text'>
Where an external PEM file or PKCS#11 URI is given, we can get the cert
from it for ourselves instead of making the user drop signing_key.x509
in place for us.

Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>modsign: Allow external signing key to be specified</title>
<updated>2015-08-07T15:26:14Z</updated>
<author>
<name>David Woodhouse</name>
</author>
<published>2015-07-20T20:16:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=19e91b69d77bab16405cc284b451378e89a4110c'/>
<id>urn:sha1:19e91b69d77bab16405cc284b451378e89a4110c</id>
<content type='text'>
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>modsign: Allow password to be specified for signing key</title>
<updated>2015-08-07T15:26:14Z</updated>
<author>
<name>David Woodhouse</name>
</author>
<published>2015-07-20T20:16:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af1eb2913275c3ab1598b0c24c893499092df08a'/>
<id>urn:sha1:af1eb2913275c3ab1598b0c24c893499092df08a</id>
<content type='text'>
We don't want this in the Kconfig since it might then get exposed in
/proc/config.gz. So make it a parameter to Kbuild instead. This also
means we don't have to jump through hoops to strip quotes from it, as
we would if it was a config option.

Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Reviewed-by: Mimi Zohar &lt;zohar@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>modsign: change default key details</title>
<updated>2015-04-30T16:35:41Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2015-04-30T13:58:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c4249c8e0221e5cfae758d35b768aee84abf6c0'/>
<id>urn:sha1:9c4249c8e0221e5cfae758d35b768aee84abf6c0</id>
<content type='text'>
Change default key details to be more obviously unspecified.

Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: James Morris &lt;james.l.morris@oracle.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
