newCredentialInjector wires the Windows Chromium retrievers: v10 (DPAPI) and v20 (ABE). The two tiers are orthogonal — a pre-127-upgraded profile carries v20 cookies alongside v10 passwords — so both run independently, not as a chain.
(_ DiscoverOptions)
| 128 | // newCredentialInjector wires the Windows Chromium retrievers: v10 (DPAPI) and v20 (ABE). The two tiers are orthogonal |
| 129 | // — a pre-127-upgraded profile carries v20 cookies alongside v10 passwords — so both run independently, not as a chain. |
| 130 | func newCredentialInjector(_ DiscoverOptions) browserInjector { |
| 131 | retrievers := masterkey.DefaultRetrievers() |
| 132 | return func(b Browser) { |
| 133 | if km, ok := b.(KeyManager); ok { |
| 134 | km.SetRetrievers(retrievers) |
| 135 | } |
| 136 | } |
| 137 | } |
nothing calls this directly
no test coverage detected