VirtualBox

Changeset 104794 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 27, 2024 7:17:25 PM (6 months ago)
Author:
vboxsync
Message:

Main: Actually add new Microsoft KEK cert issued 2023, was forgotten in previous change. bugref:10699

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/TrustAnchorsAndCerts.h

    r104793 r104794  
    3939extern const unsigned g_cbUefiMicrosoftKek;
    4040
     41extern const unsigned char g_abUefiMicrosoftKek2023[];
     42extern const unsigned g_cbUefiMicrosoftKek2023;
     43
    4144extern const unsigned char g_abUefiMicrosoft3rdCa[];
    4245extern const unsigned g_cbUefiMicrosoft3rdCa;
  • trunk/src/VBox/Main/src-server/UefiVariableStoreImpl.cpp

    r104793 r104794  
    533533    if (SUCCEEDED(hrc))
    534534    {
    535         hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoft3rdCa, g_cbUefiMicrosoft3rdCa,
     535        hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidGlobalVar, "KEK", g_abUefiMicrosoftKek2023, g_cbUefiMicrosoftKek2023,
    536536                                             GuidMs, SignatureType_X509);
    537537        if (SUCCEEDED(hrc))
    538538        {
    539             hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoft3rdCa2023, g_cbUefiMicrosoft3rdCa2023,
     539            hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoft3rdCa, g_cbUefiMicrosoft3rdCa,
    540540                                                 GuidMs, SignatureType_X509);
    541541            if (SUCCEEDED(hrc))
    542542            {
    543                 hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoftWinCa, g_cbUefiMicrosoftWinCa,
     543                hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoft3rdCa2023, g_cbUefiMicrosoft3rdCa2023,
    544544                                                     GuidMs, SignatureType_X509);
    545545                if (SUCCEEDED(hrc))
    546                     hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoftWinCa2023, g_cbUefiMicrosoftWinCa2023,
     546                {
     547                    hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoftWinCa, g_cbUefiMicrosoftWinCa,
    547548                                                         GuidMs, SignatureType_X509);
     549                    if (SUCCEEDED(hrc))
     550                        hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoftWinCa2023, g_cbUefiMicrosoftWinCa2023,
     551                                                             GuidMs, SignatureType_X509);
     552                }
    548553            }
    549554        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette