• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Is supporting Secure Boot now possible?

Scheduled Pinned Locked Moved
General
7
29
10.8k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    Lee Rowlett Developer
    last edited by Jan 24, 2018, 11:57 AM

    This post is deleted!
    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator @Lee Rowlett
      last edited by george1421 Jan 24, 2018, 7:01 AM Jan 24, 2018, 1:00 PM

      @lee-rowlett I’ve been toying with the issue, just now my mind went blank where I was able to pxe boot linux in secure boot. It did work and it worked well with a grub based environment. The concept that I worked out was to use the ubuntu signed shim with grub to boot into FOS with secure boot on. I did this over the christmas holiday and for the life of me I can’t remember the setup.

      This is where I got the files from: https://launchpad.net/ubuntu/+source/shim-signed

      Also I had this one book marked for pxe booting.
      https://www.downtowndougbrown.com/2017/03/hosting-ubuntu-16-04-desktop-live-install-iso-on-a-pxe-netboot-server-bios-and-uefi-simultaneously/

      Understand this process requires both iPXE to be signed as well as the kernel FOS (or if a shim is used, the shim signed). If we could come up with a way to use these shims then FOS would not need to be signed by MS.

      L 1 Reply Last reply Jan 24, 2018, 9:02 PM Reply Quote 0
      • J
        jdd49
        last edited by Jan 24, 2018, 1:41 PM

        I wanted to share my experience with trying to get something signed for Secure Boot with my imaging program. It basically comes down to that it’s very difficult for open source projects to get something signed.

        First of all you need to get your bootloader signed by Microsoft, no way around it. Second it requires an EV code signing certificate. These are expensive and you can only get them if you are a legitimate business. You must use a shim, otherwise every change to a kernel or bootloader would require resigning them from Microsoft which is not feasible. Also, shim does not currently support Proxy DHCP servers. The basic workflow is this:

        Compile the shim with a self signed CA baked in, then you can sign your kernels and bootloaders against the CA without the needing resign the shim with MS for every change.

        Submit the shim and your EV certificate to Microsoft

        They will reach out to the shim maintainers who will ask you a bunch of questions about how you will use the shim. If you tell them you are going to use it with iPXE they probably won’t approve it. You need to tell them you are using Grub. If they catch you signing anything other than what you say, they will blacklist your shim.

        If everything checks out then they’ll send you the precious signed shim.

        I personally scrapped the idea of trying to get a signed shim because of the business requirement. Too much extra cost, not to mention the hassle of doing taxes with a business that doesn’t actually make any money.

        The future looks dim because of secure boot

        L 1 Reply Last reply Jan 24, 2018, 9:03 PM Reply Quote 2
        • L
          Lee Rowlett Developer @george1421
          last edited by Jan 24, 2018, 9:02 PM

          @george1421 i can get it to boot to grub now but cannot get it to chainload into FOS

          G 1 Reply Last reply Jan 24, 2018, 9:41 PM Reply Quote 0
          • L
            Lee Rowlett Developer @jdd49
            last edited by Jan 24, 2018, 9:03 PM

            @jdd49 it sure does 😞 microsoft monopolizing the process?..NEVER!!!

            1 Reply Last reply Reply Quote 0
            • G
              george1421 Moderator @Lee Rowlett
              last edited by george1421 Jan 24, 2018, 8:02 PM Jan 24, 2018, 9:41 PM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • L
                Lee Rowlett Developer @Tom Elliott
                last edited by Jan 24, 2018, 10:16 PM

                @george1421 nice one george! i guess at the moment it is a toss up of functionality over “security” - nice work! i’m sure @tom-elliott could give a better insight on the ipxe parameters…

                G 1 Reply Last reply Jan 24, 2018, 10:21 PM Reply Quote 0
                • G
                  george1421 Moderator @Lee Rowlett
                  last edited by Jan 24, 2018, 10:21 PM

                  @lee-rowlett Just thinking out loud here, but if FOS handled the iPXE menu internally with its own ncurses menus, there would be no need to iPXE. We could use this concept to boot right into FOS and let FOS manage what to do next. I know something similar is planned for “FOG too” but that product is a ways off still.

                  1 Reply Last reply Reply Quote 1
                  • T
                    Tom Elliott
                    last edited by Jan 24, 2018, 11:20 PM

                    I am locking this thread as the information we need to work out should first be done on the backend between the developers and few testers so we know what is feasible and have a more defined control set.

                    While I understand there may be many people interested in this, we have not done it and don’t want to put systems in a bad state where you can potentially lose your data due to failure to be able to boot to any OS anymore.

                    We will open a new thread once we have solidified a plan of action and tested feasibility.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 3
                    • 1
                    • 2
                    • 2 / 2
                    2 / 2
                    • First post
                      21/29
                      Last post

                    267

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project