Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 1 addition & 50 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,53 +50,4 @@ or contact `opencode@microsoft.com <mailto:opencode@microsoft.com>`_. with any a

## License

Terms of Use for Microsoft Secure Boot Objects ("Secure Boot Objects")

By downloading the Secure Boot Objects, you agree to the following terms.
If you do not accept them, do not download or use the Secure Boot Objects.

These terms do not provide you with any legal rights to any intellectual
property in any Microsoft product.

You may copy and use the Secure Boot Objects for your internal, reference
purposes and to design, develop, and test your software, firmware or hardware,
as applicable; and you may distribute the Secure Boot Objects to end users
solely as part of the distribution of a software product, or
as part of the distribution of updates to a software product;
and you may distribute the Secure Boot Objects to end users or through your
distribution channels solely as embodied in a firmware product or hardware
product that embodies nontrivial additional functionality. Without limiting the
foregoing, copying or reproduction of the Secure Boot Objects to any other
server or location for further reproduction or redistribution on a standalone
basis is expressly prohibited.

If you are engaged in the business of developing and commercializing hardware
products that include the UEFI standard
(available at <https://uefi.org/specifications>), you may copy and use the Secure
Boot Objects for your internal, reference purposes and to design, develop, and
test your software; and you may distribute the Secure Boot Objects end users
solely as part of the distribution of a software product, or
as part of the distribution of updates to a software product.
Without limiting the foregoing, copying or reproduction of the Secure Boot
Objects to any other server or location for further reproduction or
redistribution on a standalone basis is expressly prohibited.
The Secure Boot Objects are provided “as-is.” The information contained in the
Secure Boot Objects may change without notice. Microsoft does not represent
that the Secure Boot Objects is error free and you bear the entire risk of
using it. NEITHER MICROSOFT NOR UEFI MAKES ANY WARRANTIES, EXPRESS OR IMPLIED,
WITH RESPECT TO THE SECURE BOOT OBJECTS, AND MICROSOFT AND UEFI EACH EXPRESSLY
DISCLAIMS ALL OTHER EXPRESS, IMPLIED, OR STATUTORY WARRANTIES. THIS INCLUDES
THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
NON-INFRINGEMENT.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL MICROSOFT
OR UEFI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
DAMAGES WHATSOEVER ARISING OUT OF OR IN CONNECTION WITH THE USE OR DISTRIBUTION
OF THE SECURE BOOT OBJECTS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION.

YOU AGREE TO RELEASE MICROSOFT (INCLUDING ITS AFFLIATES, CONTRACTORS, AGENTS,
EMPLOYEES, LICENSEES AND ASSIGNEES) AND UEFI (INCLUDING ITS AFFILIATES,
CONTRACTORS, AGENTS, EMPLOYEES, LICENSEES AND SUCCESSORS) FROM ANY AND ALL
CLAIMS OR LIABILITY ARISING OUT OF YOUR USE OR DISTRIBUTION OF THE SECURE
BOOT OBJECTS AND ANY RELATED INFORMATION.
The files in this repository are licensed under the [BSD-2-Clause-Patent](License.txt) license.
54 changes: 0 additions & 54 deletions scripts/information/prebuilt_binaries_license.md

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/prepare_firmware_binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}

INFORMATION = (pathlib.Path(__file__).parent / "information" / "firmware_binaries_information.md").read_text()
LICENSE = (pathlib.Path(__file__).parent / "information" / "prebuilt_binaries_license.md").read_text()
LICENSE = (pathlib.Path(__file__).parent.parent / "License.txt").read_text()

def get_receipt(bin_file: str) -> dict:
"""Attempts to retrieve a receipt for the given binary file using multiple methods.
Expand Down
2 changes: 1 addition & 1 deletion scripts/prepare_signed_binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from utility_functions import get_signed_payload_receipt

INFORMATION = (pathlib.Path(__file__).parent / "information" / "signed_binaries_information.md").read_text()
LICENSE = (pathlib.Path(__file__).parent / "information" / "prebuilt_binaries_license.md").read_text()
LICENSE = (pathlib.Path(__file__).parent.parent / "License.txt").read_text()

LAYOUT = {
"edk2-2011-signed-secureboot-binaries": "DBX",
Expand Down
2 changes: 1 addition & 1 deletion scripts/secure_boot_default_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

FIRMWARE_INFORMATION = (pathlib.Path(__file__).parent / "information" / "firmware_defaults_information.md").read_text()
IMAGING_INFORMATION = (pathlib.Path(__file__).parent / "information" / "imaging_binaries_information.md").read_text()
LICENSE = (pathlib.Path(__file__).parent / "information" / "prebuilt_binaries_license.md").read_text()
LICENSE = (pathlib.Path(__file__).parent.parent / "License.txt").read_text()

def _is_pem_encoded(certificate_data: Union[str, bytes]) -> bool:
"""This function is used to check if a certificate is pem encoded (base64 encoded).
Expand Down