Browser is one Chromium installation: a single UserDataDir holding profiles that share a master key. The key is derived once and reused across profiles.
| 16 | // Browser is one Chromium installation: a single UserDataDir holding profiles |
| 17 | // that share a master key. The key is derived once and reused across profiles. |
| 18 | type Browser struct { |
| 19 | cfg types.BrowserConfig |
| 20 | retrievers masterkey.Retrievers |
| 21 | profiles []*profile |
| 22 | |
| 23 | keysOnce sync.Once |
| 24 | keys masterkey.MasterKeys |
| 25 | } |
| 26 | |
| 27 | // NewBrowser discovers the profiles under cfg.UserDataDir, or returns nil if none resolve. |
| 28 | // Call SetRetrievers before Extract to enable decryption. |
nothing calls this directly
no outgoing calls
no test coverage detected