mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-07-04 21:37:47 +02:00
feat(restore): cross-platform restore via dump engine rebuild (#606)
Restore previously required the dump's origin OS, overlaying keys onto locally-discovered browsers. It now rebuilds Chromium engines from the dump's vaults (v2 adds engine kind), so copied data or an archive zip decrypts on any OS.
This commit is contained in:
@@ -91,9 +91,12 @@ func discoverFromConfigs(configs []types.BrowserConfig, opts DiscoverOptions) ([
|
||||
}
|
||||
|
||||
// KeyManager is implemented by installations accepting external master-key retrievers (Chromium only).
|
||||
// BrowserKey/Kind expose the identity a portable dump needs to rebuild the engine off the platform table.
|
||||
type KeyManager interface {
|
||||
SetRetrievers(masterkey.Retrievers)
|
||||
ExportKeys() (masterkey.MasterKeys, error)
|
||||
BrowserKey() string
|
||||
Kind() types.BrowserKind
|
||||
}
|
||||
|
||||
// KeychainPasswordReceiver is implemented by installations that need the macOS login password (Safari only).
|
||||
|
||||
Reference in New Issue
Block a user