Aktualizacja: 2025-09-30 15:30:24

This commit is contained in:
wesmar
2025-09-30 15:30:24 +02:00
parent 2d75f86142
commit aa3dd56fe2
55 changed files with 3813 additions and 3419 deletions

17
kvc/EdgeDPAPI.h Normal file
View File

@@ -0,0 +1,17 @@
// EdgeDPAPI.h - DPAPI operations for Edge password key extraction
#ifndef EDGE_DPAPI_H
#define EDGE_DPAPI_H
#include <Windows.h>
#include <vector>
#include <filesystem>
#include "CommunicationLayer.h"
namespace fs = std::filesystem;
// Extracts and decrypts Edge password encryption key using Windows DPAPI
// This function runs in the orchestrator's context, avoiding the need for
// COM elevation specifically for Edge password decryption
std::vector<uint8_t> DecryptEdgePasswordKeyWithDPAPI(const fs::path& localStatePath, const Console& console);
#endif // EDGE_DPAPI_H