]> git.proxmox.com Git - efi-boot-shim.git/log
efi-boot-shim.git
4 months agobump version to 15.8-1+pmx1 proxmox/bookworm proxmox/15.8-1+pmx1
Fabian Grünbichler [Tue, 7 May 2024 07:09:17 +0000 (09:09 +0200)]
bump version to 15.8-1+pmx1

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 months agodbx: generate our own UUID
Fabian Grünbichler [Tue, 7 May 2024 07:04:59 +0000 (09:04 +0200)]
dbx: generate our own UUID

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 months agoMerge tag 'debian/15.8-1_deb12u1' into proxmox/bookworm
Fabian Grünbichler [Tue, 7 May 2024 07:00:42 +0000 (09:00 +0200)]
Merge tag 'debian/15.8-1_deb12u1' into proxmox/bookworm

Release shimversion 15.8-1~deb12u1

4 months ago*Actually* release 15.8-1~deb12u1 for bookworm
Steve McIntyre [Sat, 4 May 2024 21:28:42 +0000 (22:28 +0100)]
*Actually* release 15.8-1~deb12u1 for bookworm

4 months agoClean up better after build. Closes: #1046268
Steve McIntyre [Sat, 4 May 2024 13:54:25 +0000 (14:54 +0100)]
Clean up better after build. Closes: #1046268

4 months agoRemove artifacts imported by mistake
Steve McIntyre [Sat, 4 May 2024 13:46:09 +0000 (14:46 +0100)]
Remove artifacts imported by mistake

4 months agoInstall a copy of the Debian CA certificate into /usr/share/shim.
Steve McIntyre [Sat, 4 May 2024 13:36:15 +0000 (14:36 +0100)]
Install a copy of the Debian CA certificate into /usr/share/shim.

Closes: #1069054
4 months agoRelease 15.8-1~deb12u1 for bookworm
Steve McIntyre [Sat, 4 May 2024 13:21:09 +0000 (14:21 +0100)]
Release 15.8-1~deb12u1 for bookworm

4 months agoUpdate version for bookworm
Steve McIntyre [Fri, 3 May 2024 15:18:29 +0000 (16:18 +0100)]
Update version for bookworm

4 months agoForce usage of newest revocations at build time
Steve McIntyre [Fri, 3 May 2024 13:46:24 +0000 (14:46 +0100)]
Force usage of newest revocations at build time

Force shim to use the latest revocations by default to block some
older grub / peimage issues. This is:

"shim,4\ngrub,4\ngrub.peimage,2\n"

This should work with the current released grub builds in all of
buster, bullseye, bookwork and trixie/unstable. Let's not leave known
security holes in the wild.

4 months agoCherry-pick latest grub revocation patches from upstream shim
Steve McIntyre [Thu, 25 Apr 2024 23:58:46 +0000 (00:58 +0100)]
Cherry-pick latest grub revocation patches from upstream shim

0001-sbat-Add-grub.peimage-2-to-latest-CVE-2024-2312.patch
0002-sbat-Also-bump-latest-for-grub-4-and-to-todays-date.patch

4 months agoLog if the build is nx-compatible or not
Steve McIntyre [Thu, 25 Apr 2024 21:42:28 +0000 (22:42 +0100)]
Log if the build is nx-compatible or not

Add a new simple script to do this: check_nx

4 months agoSwitch to 15.8 upstream and drop patches
Steve McIntyre [Sun, 21 Apr 2024 17:15:46 +0000 (18:15 +0100)]
Switch to 15.8 upstream and drop patches

4 months agoNew upstream version 15.8
Steve McIntyre [Sat, 17 Feb 2024 17:35:37 +0000 (17:35 +0000)]
New upstream version 15.8

4 months agoTweak the UUID handling to be clearer
Steve McIntyre [Sat, 17 Feb 2024 17:19:57 +0000 (17:19 +0000)]
Tweak the UUID handling to be clearer

4 months agoAdd salsa-ci.yml
Bastien Roucariès [Thu, 2 May 2024 14:05:24 +0000 (14:05 +0000)]
Add salsa-ci.yml

4 months agoMerge branch 'fixes20240429' into 'master'
Steve McIntyre [Mon, 29 Apr 2024 09:59:09 +0000 (09:59 +0000)]
Merge branch 'fixes20240429' into 'master'

Apply multi-arch hints. + shim-unsigned: Add Multi-Arch: same.

See merge request efi-team/shim!15

4 months agoAdd changelog entry
Bastien Roucariès [Mon, 29 Apr 2024 09:56:29 +0000 (09:56 +0000)]
Add changelog entry

4 months agoAdd verification of upstream release
Bastien Roucariès [Mon, 15 Apr 2024 08:58:49 +0000 (08:58 +0000)]
Add verification of upstream release

4 months agoFix d/watch
Bastien Roucariès [Mon, 15 Apr 2024 08:33:18 +0000 (08:33 +0000)]
Fix d/watch

4 months agoCloses: #936009
Bastien Roucariès [Mon, 15 Apr 2024 08:26:53 +0000 (08:26 +0000)]
Closes: #936009
4 months agoApply multi-arch hints. + shim-unsigned: Add Multi-Arch: same.
Debian Janitor [Mon, 6 Mar 2023 12:07:42 +0000 (12:07 +0000)]
Apply multi-arch hints. + shim-unsigned: Add Multi-Arch: same.

Changes-By: apply-multiarch-hints
5 months agoMerge branch 'tests' into 'master'
Steve McIntyre [Wed, 17 Apr 2024 20:21:14 +0000 (20:21 +0000)]
Merge branch 'tests' into 'master'

Tests

See merge request efi-team/shim!14

5 months agoAdd machine smm=on
Bastien Roucariès [Tue, 16 Apr 2024 09:21:04 +0000 (09:21 +0000)]
Add machine smm=on

5 months agoFix test failure
Bastien Roucariès [Mon, 15 Apr 2024 15:59:28 +0000 (15:59 +0000)]
Fix test failure

5 months agoFix depreciation warnings
Bastien Roucariès [Mon, 15 Apr 2024 14:59:47 +0000 (14:59 +0000)]
Fix depreciation warnings

5 months agoUse popen for lsb_release
Bastien Roucariès [Mon, 15 Apr 2024 14:54:14 +0000 (14:54 +0000)]
Use popen for lsb_release

5 months agoFix depends
Bastien Roucariès [Mon, 15 Apr 2024 14:35:45 +0000 (14:35 +0000)]
Fix depends

5 months agoUpdate changelog
Bastien Roucariès [Mon, 15 Apr 2024 14:16:07 +0000 (14:16 +0000)]
Update changelog

5 months agoPort to debian
Bastien Roucariès [Mon, 15 Apr 2024 14:11:26 +0000 (14:11 +0000)]
Port to debian

5 months agoAdd ubuntu test
Bastien Roucariès [Mon, 15 Apr 2024 14:06:23 +0000 (14:06 +0000)]
Add ubuntu test

7 months agogenerate_dbx_list: pick a fixed UUID
Steve McIntyre [Sat, 20 Jan 2024 22:40:27 +0000 (22:40 +0000)]
generate_dbx_list: pick a fixed UUID

otherwise our build won't be reproducible, doh!

9 months agorevert accidentally committed changes
Fabian Grünbichler [Mon, 20 Nov 2023 10:06:51 +0000 (11:06 +0100)]
revert accidentally committed changes

10 months agoTweak building with pesign changes
Steve McIntyre [Wed, 1 Nov 2023 23:37:50 +0000 (23:37 +0000)]
Tweak building with pesign changes

We used to use efisiglist to generate the DBX list. Newer versions of
the pesign package don't include it any more, and the recommended
replacement tool is now efisecdb from efivar. Tweak the
generate_dbx_list script to work with both old and new. Let's make
backports easy...

17 months agobump version to 15.7-1+pmx1 proxmox/15.7-1+pmx1
Fabian Grünbichler [Mon, 20 Mar 2023 09:32:56 +0000 (10:32 +0100)]
bump version to 15.7-1+pmx1

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
17 months agod/control: update Maintainer
Fabian Grünbichler [Mon, 20 Mar 2023 09:32:07 +0000 (10:32 +0100)]
d/control: update Maintainer

and Vcs-*

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
17 months agod/control: add empty version pinning package
Fabian Grünbichler [Mon, 20 Mar 2023 09:31:09 +0000 (10:31 +0100)]
d/control: add empty version pinning package

that our meta package can depend on to ensure *our* shim package is installed,
even if Debian at some point ships a higher version..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
17 months agodrop patch inapplicable for Proxmox
Fabian Grünbichler [Mon, 20 Mar 2023 09:26:40 +0000 (10:26 +0100)]
drop patch inapplicable for Proxmox

we never shipped a broken Grub with SBAT 3

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
17 months agoadd Proxmox Uefi Secure Boot CA certificate
Fabian Grünbichler [Thu, 16 Mar 2023 12:44:38 +0000 (13:44 +0100)]
add Proxmox Uefi Secure Boot CA certificate

for embedding in shim as trust anchor for signed EFI binaries. the
corresponding private key was generated on and is stored on a FIPS compliant
HSM.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
17 months agoadd Proxmox file references to packaging
Fabian Grünbichler [Thu, 16 Mar 2023 12:43:54 +0000 (13:43 +0100)]
add Proxmox file references to packaging

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
19 months agoRelease 15.7-1
Steve McIntyre [Tue, 31 Jan 2023 10:18:29 +0000 (10:18 +0000)]
Release 15.7-1

19 months agoSwith to using the upstream "enable NX" patch
Steve McIntyre [Mon, 30 Jan 2023 18:12:20 +0000 (18:12 +0000)]
Swith to using the upstream "enable NX" patch

19 months agoBlock Debian grub binaries with sbat < 4 (see #1024617)
Steve McIntyre [Sun, 29 Jan 2023 23:35:03 +0000 (23:35 +0000)]
Block Debian grub binaries with sbat < 4 (see #1024617)

19 months agoEnable NX support at build time
Steve McIntyre [Tue, 24 Jan 2023 22:37:23 +0000 (22:37 +0000)]
Enable NX support at build time

As required by policy for signing new shim binaries.

19 months agoUpdate upstream commit hash in build
Steve McIntyre [Sun, 22 Jan 2023 15:12:23 +0000 (15:12 +0000)]
Update upstream commit hash in build

We're using 657b2483ca6e9fcf2ad8ac7ee577ff546d24c3aa, which is the
15.7 release plus the one patch we're applying.

19 months agoUpdate to Standards-Version 4.6.2 (no changes needed)
Steve McIntyre [Sun, 22 Jan 2023 14:06:29 +0000 (14:06 +0000)]
Update to Standards-Version 4.6.2 (no changes needed)

19 months agoSwitch to using gcc-12
Steve McIntyre [Sun, 22 Jan 2023 14:02:25 +0000 (14:02 +0000)]
Switch to using gcc-12

Closes: #1022180
19 months agoSwitch to new upstream (15.7)
Steve McIntyre [Sun, 22 Jan 2023 13:14:06 +0000 (13:14 +0000)]
Switch to new upstream (15.7)

Also import patch to deal with buggy binutils

19 months agoUpdate upstream source from tag 'upstream/15.7'
Steve McIntyre [Sun, 22 Jan 2023 13:05:11 +0000 (13:05 +0000)]
Update upstream source from tag 'upstream/15.7'

Update to upstream version '15.7'
with Debian dir f802105ae061241b13ab962854f56388092fc703

19 months agoNew upstream version 15.7
Steve McIntyre [Sun, 22 Jan 2023 13:05:10 +0000 (13:05 +0000)]
New upstream version 15.7

2 years agoRelease 15.6-1
Steve McIntyre [Thu, 21 Jul 2022 12:04:36 +0000 (13:04 +0100)]
Release 15.6-1

2 years agoStart packaging updates for the new 15.6 upstream release
Steve McIntyre [Wed, 22 Jun 2022 23:23:21 +0000 (00:23 +0100)]
Start packaging updates for the new 15.6 upstream release

Remove all our patches, all upstream now

2 years agoNew upstream version 15.6
Steve McIntyre [Wed, 22 Jun 2022 23:16:56 +0000 (00:16 +0100)]
New upstream version 15.6

2 years agoUpdate upstream source from tag 'upstream/15.6'
Steve McIntyre [Wed, 22 Jun 2022 23:16:56 +0000 (00:16 +0100)]
Update upstream source from tag 'upstream/15.6'

Update to upstream version '15.6'
with Debian dir 952ad3d5a92a2003f3496a79d1875a951c255396

2 years agoUpdate the 32-bit format patch after upstream review
Steve McIntyre [Sun, 1 May 2022 18:17:48 +0000 (19:17 +0100)]
Update the 32-bit format patch after upstream review

2 years agoAdd patch headers for our patches now I've pushed PRs
Steve McIntyre [Thu, 28 Apr 2022 11:51:50 +0000 (12:51 +0100)]
Add patch headers for our patches now I've pushed PRs

2 years agoTry again on the string format fix
Steve McIntyre [Wed, 27 Apr 2022 23:53:26 +0000 (00:53 +0100)]
Try again on the string format fix

2 years agoFix format strings for 32-bit builds
Steve McIntyre [Wed, 27 Apr 2022 23:47:27 +0000 (00:47 +0100)]
Fix format strings for 32-bit builds

2 years agoAdd new build-dep on libefivar-dev for tests
Steve McIntyre [Wed, 27 Apr 2022 23:19:27 +0000 (00:19 +0100)]
Add new build-dep on libefivar-dev for tests

2 years agoTry again with includes
Steve McIntyre [Wed, 27 Apr 2022 22:15:28 +0000 (23:15 +0100)]
Try again with includes

2 years agoTweak setup for dh_auto_test so the tests work
Steve McIntyre [Wed, 27 Apr 2022 22:15:28 +0000 (23:15 +0100)]
Tweak setup for dh_auto_test so the tests work

2 years agoStart packaging updates for the new 15.51 upstream release
Steve McIntyre [Wed, 27 Apr 2022 21:50:33 +0000 (22:50 +0100)]
Start packaging updates for the new 15.51 upstream release

Remove all our patches, all upstream now.

2 years agoNew upstream version 15.5
Steve McIntyre [Wed, 27 Apr 2022 21:41:59 +0000 (22:41 +0100)]
New upstream version 15.5

2 years agoUpdate upstream source from tag 'upstream/15.5'
Steve McIntyre [Wed, 27 Apr 2022 21:41:59 +0000 (22:41 +0100)]
Update upstream source from tag 'upstream/15.5'

Update to upstream version '15.5'
with Debian dir 3ac353daa3d32301e3b225b2b6f446200a2c682f

3 years agoTweak how we call grub-install; don't abort on error
Steve McIntyre [Mon, 12 Jul 2021 08:51:50 +0000 (09:51 +0100)]
Tweak how we call grub-install; don't abort on error

Not ideal behaviour either, but don't break upgrades. Copy the
behaviour from the grub packages here. Closes: #990966

3 years agoRelease 15.4-6
Steve McIntyre [Wed, 23 Jun 2021 18:05:01 +0000 (19:05 +0100)]
Release 15.4-6

3 years agoIn insecure mode, don't abort if we can't create the MokListXRT var
Steve McIntyre [Tue, 22 Jun 2021 21:19:08 +0000 (22:19 +0100)]
In insecure mode, don't abort if we can't create the MokListXRT var

Upstream issue #372. Closes: #989962, #990158

3 years agoAdd arm64 patch to tweak section layout and stop crashing problems
Steve McIntyre [Mon, 21 Jun 2021 11:43:33 +0000 (12:43 +0100)]
Add arm64 patch to tweak section layout and stop crashing problems

Upstream issue #371. Closes: #990082, #990190

3 years agoAdd defensive code around calls to db_get
Steve McIntyre [Wed, 5 May 2021 23:40:56 +0000 (00:40 +0100)]
Add defensive code around calls to db_get

Don't fail if they return errors.

3 years agoFix up the template maintainer scripts
Steve McIntyre [Tue, 4 May 2021 13:45:00 +0000 (14:45 +0100)]
Fix up the template maintainer scripts

if we're not running on an EFI system then exit cleanly

3 years agoAdd maintainer scripts to the template packages
Steve McIntyre [Mon, 3 May 2021 19:52:35 +0000 (20:52 +0100)]
Add maintainer scripts to the template packages

Manage installing and removing fbXXX.efi and mmXXX.efi when we
install/remove the shim-helpers-$arch-signed packages. Closes: #966845

3 years agoAdd changelog for 15.4-2 with new patches
Steve McIntyre [Tue, 20 Apr 2021 23:25:59 +0000 (00:25 +0100)]
Add changelog for 15.4-2 with new patches

3 years agoDon't call QueryVariableInfo() on EFI 1.10 machines
Steve McIntyre [Tue, 20 Apr 2021 23:25:20 +0000 (00:25 +0100)]
Don't call QueryVariableInfo() on EFI 1.10 machines

New patch from upstream, don't break old Macs

3 years agoFix handling of ignore_db and user_insecure_mode
Steve McIntyre [Tue, 20 Apr 2021 23:24:31 +0000 (00:24 +0100)]
Fix handling of ignore_db and user_insecure_mode

Extra patch from upstream

3 years agoStop hardcoding the release version in the rules file
Steve McIntyre [Sat, 17 Apr 2021 14:57:22 +0000 (15:57 +0100)]
Stop hardcoding the release version in the rules file

We can grab it from the changelog already

3 years agoClean more things
Steve McIntyre [Sat, 17 Apr 2021 14:52:42 +0000 (15:52 +0100)]
Clean more things

3 years agoPrep for releasing based on 15.4
Steve McIntyre [Sat, 17 Apr 2021 14:49:51 +0000 (15:49 +0100)]
Prep for releasing based on 15.4

3 years agoallocate MOK config table as BootServicesData
Steve McIntyre [Wed, 14 Apr 2021 20:42:57 +0000 (21:42 +0100)]
allocate MOK config table as BootServicesData

Another patch from upstream, needed with newer kernels on x86

3 years agoAdd one more patch from upstream to fix i386 binary relocations
Steve McIntyre [Wed, 31 Mar 2021 19:51:26 +0000 (20:51 +0100)]
Add one more patch from upstream to fix i386 binary relocations

3 years agoMove the sha256sum call to the end of the install phase
Steve McIntyre [Wed, 31 Mar 2021 17:52:40 +0000 (18:52 +0100)]
Move the sha256sum call to the end of the install phase

Make the output easier to find

3 years agoOverride dh_auto_build setting INSTALL, cut down on build noise
Steve McIntyre [Wed, 31 Mar 2021 17:42:38 +0000 (18:42 +0100)]
Override dh_auto_build setting INSTALL, cut down on build noise

3 years agoUpdate to the 15.4 release
Steve McIntyre [Wed, 31 Mar 2021 17:27:09 +0000 (18:27 +0100)]
Update to the 15.4 release

3 years agoUpdate upstream source from tag 'upstream/15.4'
Steve McIntyre [Wed, 31 Mar 2021 17:24:30 +0000 (18:24 +0100)]
Update upstream source from tag 'upstream/15.4'

Update to upstream version '15.4'
with Debian dir 93160080661283eee071d2c92a27ce9b39acb998

3 years agoNew upstream version 15.4
Steve McIntyre [Wed, 31 Mar 2021 17:24:24 +0000 (18:24 +0100)]
New upstream version 15.4

3 years agoPrint sha256 checksums of the EFI binaries when the build is done
Steve McIntyre [Wed, 24 Mar 2021 16:34:14 +0000 (16:34 +0000)]
Print sha256 checksums of the EFI binaries when the build is done

3 years agoTweak the SBAT data to keep reproducibility
Steve McIntyre [Wed, 24 Mar 2021 13:23:26 +0000 (13:23 +0000)]
Tweak the SBAT data to keep reproducibility

Only include the upstream version in the Debian SBAT metadata, so
we don't break reproducibility on every minor packaging change.

3 years agoAdd missing build-dep on xxd for build-time unit tests
Steve McIntyre [Wed, 24 Mar 2021 02:21:53 +0000 (02:21 +0000)]
Add missing build-dep on xxd for build-time unit tests

3 years agoNew upstream version 15.3
Steve McIntyre [Tue, 23 Mar 2021 23:49:46 +0000 (23:49 +0000)]
New upstream version 15.3

3 years agoUpdate upstream source from tag 'upstream/15.3'
Steve McIntyre [Tue, 23 Mar 2021 23:49:46 +0000 (23:49 +0000)]
Update upstream source from tag 'upstream/15.3'

Update to upstream version '15.3'
with Debian dir 1b484f1c1ac270604a5a1451b34de4b0865c6211

3 years agoSwitch to using the 15.3 release from upstream
Steve McIntyre [Tue, 23 Mar 2021 23:43:27 +0000 (23:43 +0000)]
Switch to using the 15.3 release from upstream

3 years agoRemove all out outstanding patches
Steve McIntyre [Tue, 23 Mar 2021 23:38:30 +0000 (23:38 +0000)]
Remove all out outstanding patches

 * cast-CHAR8-string-handling.patch no longer needed
 * fix-Make.coverity-bashisms.patch went upstream

3 years agoUpdate copyright file
Steve McIntyre [Mon, 15 Mar 2021 21:39:49 +0000 (21:39 +0000)]
Update copyright file

Update a couple of top-level changes, copy in gnu-efi information from
the gnu-efi package

3 years agoFix up some of the options we're using at build time
Steve McIntyre [Mon, 15 Mar 2021 20:19:01 +0000 (20:19 +0000)]
Fix up some of the options we're using at build time

Definitely don't want to be setting EFI_PATH, as that over-rides the
vendored gnu-efi. Argh

3 years agoImprove how the dbx hashes are handled
Steve McIntyre [Sun, 14 Mar 2021 16:04:15 +0000 (16:04 +0000)]
Improve how the dbx hashes are handled

Only include the hashes for the architecture we're building for - no
point in adding bloat and delay here.

Add a script "block_signed_deb" to scan a set of .deb files, extract
the hashes for .efi binaries and list them in the format wanted for
the dbx hashes file.

Split out the code to use that file from the rules file into a
separate helper.

3 years agoTweak the gnu-efi tarball code
Steve McIntyre [Sat, 13 Mar 2021 20:00:58 +0000 (20:00 +0000)]
Tweak the gnu-efi tarball code

3 years agoAdd an extra rule to generate the extra gnu-efi tarball
Steve McIntyre [Sat, 13 Mar 2021 19:43:00 +0000 (19:43 +0000)]
Add an extra rule to generate the extra gnu-efi tarball

Thanks to Dmitri John Ledkov for help

3 years agoAdd Debian SBAT data to the shim build
Steve McIntyre [Sat, 13 Mar 2021 19:06:37 +0000 (19:06 +0000)]
Add Debian SBAT data to the shim build

Add a Debian SBAT template, and rules to use it
Adds a build-dep on dos2unix

3 years agoAdd dbx entries for all our existing grub binaries
Steve McIntyre [Sat, 13 Mar 2021 18:59:25 +0000 (18:59 +0000)]
Add dbx entries for all our existing grub binaries

They're insecure, let's break the chainloading hole

3 years agoChange changelog to shut lintian up
Steve McIntyre [Sun, 21 Feb 2021 17:06:12 +0000 (17:06 +0000)]
Change changelog to shut lintian up

3 years agoRemove artifacts that upstream installs that we don't use
Steve McIntyre [Sun, 21 Feb 2021 16:14:14 +0000 (16:14 +0000)]
Remove artifacts that upstream installs that we don't use

... to keep debhelper from complaining