mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
feat(keys): add cross-host master key export (#599)
This commit is contained in:
@@ -20,6 +20,7 @@ type Browser interface {
|
||||
BrowserName() string
|
||||
ProfileName() string
|
||||
ProfileDir() string
|
||||
UserDataDir() string
|
||||
Extract(categories []types.Category) (*types.BrowserData, error)
|
||||
CountEntries(categories []types.Category) (map[types.Category]int, error)
|
||||
}
|
||||
@@ -114,6 +115,7 @@ func pickFromConfigs(configs []types.BrowserConfig, opts PickOptions) ([]Browser
|
||||
// KeyManager is implemented by engines that accept externally-provided master-key retrievers (Chromium family only).
|
||||
type KeyManager interface {
|
||||
SetKeyRetrievers(keyretriever.Retrievers)
|
||||
ExportKeys() (keyretriever.MasterKeys, error)
|
||||
}
|
||||
|
||||
// KeychainPasswordReceiver is implemented by engines that need the macOS login password (Safari only).
|
||||
|
||||
Reference in New Issue
Block a user