VirtualBox

Changeset 104793 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
May 27, 2024 6:56:45 PM (10 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163365
Message:

Main: Add new Microsoft certs issued 2023 (KEK, Windows boot loader CA and 3rd party boot loader CA). Touch up the variable naming slightly to reflect the use of the certs in the DB better. Add a pointer where to get the certs (the github project has URLs which are the real authority). bugref:10699

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/UefiVariableStoreImpl.cpp

    r103532 r104793  
    533533    if (SUCCEEDED(hrc))
    534534    {
    535         hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoftCa, g_cbUefiMicrosoftCa,
     535        hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoft3rdCa, g_cbUefiMicrosoft3rdCa,
    536536                                             GuidMs, SignatureType_X509);
    537537        if (SUCCEEDED(hrc))
    538             hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoftProPca, g_cbUefiMicrosoftProPca,
     538        {
     539            hrc = i_uefiVarStoreAddSignatureToDb(&EfiGuidSecurityDb, "db", g_abUefiMicrosoft3rdCa2023, g_cbUefiMicrosoft3rdCa2023,
    539540                                                 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        }
    540550    }
    541551
Note: See TracChangeset for help on using the changeset viewer.

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