[idd] network: provision persistent server identity

This commit is contained in:
Geoffrey McRae
2026-09-30 14:32:34 +10:00
parent 5dcfad9bb0
commit 298577d25a
6 changed files with 601 additions and 5 deletions

View File

@@ -35,6 +35,8 @@
#include <sddl.h>
#include <aclapi.h>
#include "NetworkIdentity.h"
#pragma comment(lib, "cfgmgr32.lib")
#define LGIDD_CLASS_GUID GUID_DEVCLASS_DISPLAY
@@ -1022,6 +1024,10 @@ void install(const DeviceDesc *const devices[DEVICE_COUNT])
if (!ensureKeyWithAce())
goto cleanup;
_putws(L"Preparing network identity...");
if (!networkIdentityProvision())
goto cleanup;
for (size_t i = 0; i < DEVICE_COUNT; ++i)
{
const DeviceDesc *device = devices[i];