Aktualizacja: 2025-09-30 15:30:24
This commit is contained in:
17
kvc/EdgeDPAPI.h
Normal file
17
kvc/EdgeDPAPI.h
Normal 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
|
||||
Reference in New Issue
Block a user