Browser is one Safari installation, holding the default profile and any named profiles. Passwords come from the shared macOS Keychain; the login password is set on the installation and threaded to each profile at extract time.
| 11 | // profiles. Passwords come from the shared macOS Keychain; the login password is |
| 12 | // set on the installation and threaded to each profile at extract time. |
| 13 | type Browser struct { |
| 14 | cfg types.BrowserConfig |
| 15 | keychainPassword string |
| 16 | profiles []*profile |
| 17 | } |
| 18 | |
| 19 | // SetKeychainPassword sets the macOS login password used to unlock the Keychain. |
| 20 | func (b *Browser) SetKeychainPassword(password string) { b.keychainPassword = password } |
nothing calls this directly
no outgoing calls
no test coverage detected