Changeset 104793 in vbox for trunk/src/VBox/Main
- Timestamp:
- May 27, 2024 6:56:45 PM (9 months ago)
- svn:sync-xref-src-repo-rev:
- 163365
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r104787 r104793 422 422 # 423 423 # Trust anchors and certificates -> .cpp 424 # Source for the Microsoft Certificates: https://github.com/microsoft/secureboot_objects 424 425 # 425 426 VBOX_SVC_CERTS_FILE = $(VBoxSVC_0_OUTDIR)/TrustAnchorsAndCerts.cpp 426 427 VBOX_SVC_CERTS := \ 427 428 UefiMicrosoftKek=MicCorKEKCA2011_2011-06-24.crt \ 428 UefiMicrosoftCa=MicCorUEFCA2011_2011-06-27.crt \ 429 UefiMicrosoftProPca=MicWinProPCA2011_2011-10-19.crt \ 429 UefiMicrosoftKek2023=microsoft_corporation_kek_2k_ca_2023.crt \ 430 UefiMicrosoft3rdCa=MicCorUEFCA2011_2011-06-27.crt \ 431 UefiMicrosoft3rdCa2023=microsoft_uefi_ca_2023.crt\ 432 UefiMicrosoftWinCa=MicWinProPCA2011_2011-10-19.crt \ 433 UefiMicrosoftWinCa2023=windows_uefi_ca_2023.crt \ 430 434 UefiOracleDefPk=OrclUefiDefPk2021_2021-09-29.crt 431 435 432 VBOX_SVC_CERT_NAMES := $(foreach cert,$(VBOX_SVC_CERTS),$(firstword $(subst =,$(SP ACE),$(cert))))436 VBOX_SVC_CERT_NAMES := $(foreach cert,$(VBOX_SVC_CERTS),$(firstword $(subst =,$(SP),$(cert)))) 433 437 VBOX_SVC_PATH_CERTIFICATES := $(PATH_SUB_CURRENT)/Certificates 434 438 435 439 $$(VBOX_SVC_CERTS_FILE): $(MAKEFILE_CURRENT) \ 436 $(foreach cert,$(VBOX_SVC_CERTS),$(VBOX_SVC_PATH_CERTIFICATES)/$(lastword $(subst =,$(SP ACE),$(cert)))) \440 $(foreach cert,$(VBOX_SVC_CERTS),$(VBOX_SVC_PATH_CERTIFICATES)/$(lastword $(subst =,$(SP),$(cert)))) \ 437 441 $(VBOX_BIN2C) \ 438 442 | $$(dir $$@) … … 443 447 '' 444 448 $(foreach cert,$(VBOX_SVC_CERTS), $(NLTAB)$(VBOX_BIN2C) -ascii --append \ 445 "$(firstword $(subst =,$(SP) 446 "$(VBOX_SVC_PATH_CERTIFICATES)/$(lastword $(subst =,$(SP) 449 "$(firstword $(subst =,$(SP),$(cert)))" \ 450 "$(VBOX_SVC_PATH_CERTIFICATES)/$(lastword $(subst =,$(SP),$(cert)))" \ 447 451 "$@") 448 452 -
trunk/src/VBox/Main/include/TrustAnchorsAndCerts.h
r98103 r104793 39 39 extern const unsigned g_cbUefiMicrosoftKek; 40 40 41 extern const unsigned char g_abUefiMicrosoft Ca[];42 extern const unsigned g_cbUefiMicrosoft Ca;41 extern const unsigned char g_abUefiMicrosoft3rdCa[]; 42 extern const unsigned g_cbUefiMicrosoft3rdCa; 43 43 44 extern const unsigned char g_abUefiMicrosoftProPca[]; 45 extern const unsigned g_cbUefiMicrosoftProPca; 44 extern const unsigned char g_abUefiMicrosoft3rdCa2023[]; 45 extern const unsigned g_cbUefiMicrosoft3rdCa2023; 46 47 extern const unsigned char g_abUefiMicrosoftWinCa[]; 48 extern const unsigned g_cbUefiMicrosoftWinCa; 49 50 extern const unsigned char g_abUefiMicrosoftWinCa2023[]; 51 extern const unsigned g_cbUefiMicrosoftWinCa2023; 46 52 47 53 extern const unsigned char g_abUefiOracleDefPk[]; -
trunk/src/VBox/Main/src-server/UefiVariableStoreImpl.cpp
r103532 r104793 533 533 if (SUCCEEDED(hrc)) 534 534 { 535 hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoft Ca, g_cbUefiMicrosoftCa,535 hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoft3rdCa, g_cbUefiMicrosoft3rdCa, 536 536 GuidMs, SignatureType_X509); 537 537 if (SUCCEEDED(hrc)) 538 hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoftProPca, g_cbUefiMicrosoftProPca, 538 { 539 hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoft3rdCa2023, g_cbUefiMicrosoft3rdCa2023, 539 540 GuidMs, SignatureType_X509); 541 if (SUCCEEDED(hrc)) 542 { 543 hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoftWinCa, g_cbUefiMicrosoftWinCa, 544 GuidMs, SignatureType_X509); 545 if (SUCCEEDED(hrc)) 546 hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoftWinCa2023, g_cbUefiMicrosoftWinCa2023, 547 GuidMs, SignatureType_X509); 548 } 549 } 540 550 } 541 551
Note:
See TracChangeset
for help on using the changeset viewer.