<feed xmlns='http://www.w3.org/2005/Atom'>
<title>efi-boot-shim.git, branch 13</title>
<subtitle> (mirror of https://github.com/vyos/efi-boot-shim.git)
</subtitle>
<id>https://git.amelek.net/vyos/efi-boot-shim.git/atom?h=13</id>
<link rel='self' href='https://git.amelek.net/vyos/efi-boot-shim.git/atom?h=13'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/'/>
<updated>2017-09-29T15:10:49+00:00</updated>
<entry>
<title>Bump the version to 13</title>
<updated>2017-09-29T15:10:49+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2017-08-31T19:21:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=5e827007b3d95c4ce999422462248f5e7d3f270f'/>
<id>urn:sha1:5e827007b3d95c4ce999422462248f5e7d3f270f</id>
<content type='text'>
shim 13:
- OpenSSL reverted to 1.0.2k to make the cert chaining of existing deployments stay working
- Better PCR usage for TPM
- TPM documentation in README.tpm
- More configurable build via make variables:
  ENABLE_SHIM_CERT
  ENABLE_SHIM_HASH
  ENABLE_SBSIGN
  LIBDIR
  EFIDIR
  VENDOR_CERT_FILE
  VENDOR_DB_FILE
- Better MoK documentation in MokVars.txt
- Better debuginfo generation
- Lots of minor bug fixes.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>buildid: Check the return values of write() calls</title>
<updated>2017-09-29T15:10:32+00:00</updated>
<author>
<name>Mathieu Trudel-Lapierre</name>
<email>mathieu.trudel-lapierre@canonical.com</email>
</author>
<published>2017-09-29T15:05:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=cc08ed0e280f8ba3a26fbd9469e64704aaef75af'/>
<id>urn:sha1:cc08ed0e280f8ba3a26fbd9469e64704aaef75af</id>
<content type='text'>
Signed-off-by: Mathieu Trudel-Lapierre &lt;mathieu.trudel-lapierre@canonical.com&gt;
</content>
</entry>
<entry>
<title>Make shim_cert.h able to be included more safely.</title>
<updated>2017-09-29T15:10:32+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2017-09-29T15:01:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=dca65ca25417c16f89024d4d2a3619a0967139c4'/>
<id>urn:sha1:dca65ca25417c16f89024d4d2a3619a0967139c4</id>
<content type='text'>
If you build with ENABLE_SHIM_CERT=1, the include chain right now winds
up meaning shim_cert is defined in a header that gets included in
netboot.c as well, which never uses it:

  In file included from shim.h:125:0,
                   from netboot.c:36:
  shim_cert.h:1:14: error: ‘shim_cert’ defined but not used [-Werror=unused-variable]
   static UINT8 shim_cert[] = {
                ^~~~~~~~~
  cc1: all warnings being treated as errors

So make that okay by adding __attribute__((__unused__)) to the variable
decl.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>buildid: make 'make clean' remove it.</title>
<updated>2017-09-29T15:10:32+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2017-09-29T15:03:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=d8f4773408b5ba2a3dabccdfa36f68ac337eb155'/>
<id>urn:sha1:d8f4773408b5ba2a3dabccdfa36f68ac337eb155</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use iconv for UCS-2 encoding.</title>
<updated>2017-09-26T15:16:45+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2017-09-26T14:52:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=23ce039c434d164a3848c829b237899cc17c1d21'/>
<id>urn:sha1:23ce039c434d164a3848c829b237899cc17c1d21</id>
<content type='text'>
Cyphermox discovered that when you run this:

  ( printf "\xff\x00\xfe\x00" ; echo "shimx64.efi,foo,,This is the boot entry for foo" ) | sed -z 's/./&amp;\x00/g'

on some debian machines, printf(1) doesn't interpret the \x.. characters,
and that results in this being the encoded text:

00000000  5c 78 66 66 5c 78 66 65  73 00 68 00 69 00 6d 00  |\xff\xfes.h.i.m.|
00000010  78 00 36 00 34 00 2e 00  65 00 66 00 69 00 2c 00  |x.6.4...e.f.i.,.|
00000020  66 00 6f 00 6f 00 2c 00  2c 00 54 00 68 00 69 00  |f.o.o.,.,.T.h.i.|

which... yeah, that's wrong.  So instead, use iconv instead of
printf+sed to encode it in UCS-2.  Unfortunately, that means we don't
get endian markers, because for some reason iconv(1) doesn't have any way
to say it should include them.  But that's okay; fallback already
handles not having them and just assumes the second byte being \x00
means UCS-2LE.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>Fix an LDFLAGS issue on arm and aarch64</title>
<updated>2017-09-19T18:58:51+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2017-09-19T18:55:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=49e9775e07cf4b29d7323e2892246e83b7451efc'/>
<id>urn:sha1:49e9775e07cf4b29d7323e2892246e83b7451efc</id>
<content type='text'>
Commit 1e71734992 inadvertantly switched ARM's
LDFLAGS+=--defsym=EFI_SUBSYSTEM=$(SUBSYSTEM) to be before LDFLAGS is set,
and so it got clobbered away.

Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>Try to do a slightly better job at 'make clean'</title>
<updated>2017-09-19T18:58:51+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2017-09-19T14:02:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=51c497b8db879cee16beb6aa5fa40fad9b935c9a'/>
<id>urn:sha1:51c497b8db879cee16beb6aa5fa40fad9b935c9a</id>
<content type='text'>
Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>Don't build shim_cert.h in parallel with other targets.</title>
<updated>2017-09-14T22:07:10+00:00</updated>
<author>
<name>Mathieu Trudel-Lapierre</name>
<email>mathieu.trudel-lapierre@canonical.com</email>
</author>
<published>2017-09-14T21:28:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=35fd2c170cadfd50670d55fbcbf9cb2f4d4f1868'/>
<id>urn:sha1:35fd2c170cadfd50670d55fbcbf9cb2f4d4f1868</id>
<content type='text'>
shim_cert.h is required by other pieces (such as netboot.o, cert.o) and
might not be built by the time these targets are reached. In that case the
build would fail as it can't find a required header.

Signed-off-by: Mathieu Trudel-Lapierre &lt;mathieu.trudel-lapierre@canonical.com&gt;
</content>
</entry>
<entry>
<title>Clean up after BOOT$(ARCH).CSV.</title>
<updated>2017-09-14T22:07:10+00:00</updated>
<author>
<name>Mathieu Trudel-Lapierre</name>
<email>mathieu.trudel-lapierre@canonical.com</email>
</author>
<published>2017-09-14T21:27:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=b71838a35a6152f9fc449e3c124a4c1cdcd8e23a'/>
<id>urn:sha1:b71838a35a6152f9fc449e3c124a4c1cdcd8e23a</id>
<content type='text'>
It should not be left around after clean since it's a generated file.

Signed-off-by: Mathieu Trudel-Lapierre &lt;mathieu.trudel-lapierre@canonical.com&gt;
</content>
</entry>
<entry>
<title>try to show errors more usefully.</title>
<updated>2017-09-13T19:18:28+00:00</updated>
<author>
<name>Peter Jones</name>
<email>pjones@redhat.com</email>
</author>
<published>2017-09-08T20:28:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/efi-boot-shim.git/commit/?id=25f6fd08cd2652536371308e5d38ab4baadf6783'/>
<id>urn:sha1:25f6fd08cd2652536371308e5d38ab4baadf6783</id>
<content type='text'>
Signed-off-by: Peter Jones &lt;pjones@redhat.com&gt;
</content>
</entry>
</feed>
