The Chromium keychain prompt on a Mac is the browser reading its Chromium Safe Storage item at startup and macOS not recognising the program that asked. Ours kept appearing, and every one of them came from something that started a browser without going through Mosaic's launcher. Profiles launched by the app already carried the two flags that prevent it.
The dialog, word for word
"Tesseract" wants to use your confidential information stored in
"Chromium Safe Storage" in your keychain.
It was reported as arriving again and again, with the right diagnosis attached: it seemed to show up mostly while we were testing. The sentence names two products because Chromium Safe Storage is compiled into the binary rather than written in a translatable string, so renaming our Chromium build to Tesseract Chrome never reached it.
Why the Chromium keychain prompt on a Mac keeps coming back
The keychain hands over an item without asking only to code identities on that item's access list. Clicking Always Allow adds the identity that asked. With a stable signing certificate, that identity carries over to the next build. With ad-hoc signing it is not: the signature is a hash of the bundle's contents, so a different bundle is a different application.
Every bundle we start is a different bundle. Profiles launch under one of a few pooled launcher bundles, one per window slot (the Dock tile per slot post has why), and each is re-dressed for the profile it opens. So the grant from one launch does not cover the next, and nothing converges. A stable signing identity would fix that, and an ad-hoc bundle does not have one.
The prompt is also worse than an interruption. Chromium makes the keychain call on its main thread, before the first window. The process sits in SecItemCopyMatching until somebody answers, so a missing flag looks like a hang with no error. That is how we first met it: a finished build that wrote Local State, opened no window and used 0% CPU.
The fingerprint is changed inside the engine, not painted on topIn Mosaic: Fingerprints set inside the browser. Tesseract Chrome: values set inside, not by a script. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.
Mosaic is a desktop app
Email yourself the link and open it on your computer.
How it works: Fingerprints set inside the browser
Two flags, because each works on one platform
baseArgs(), the function every launch goes through, passes --use-mock-keychain and --password-store=basic. We checked both names against the binaries with strings, exact-line matches:
| Switch | Tesseract Framework | Google Chrome Framework |
|---|---|---|
use-mock-keychain | 1 | 2 |
password-store | 0 | 0 |
They are not alternatives. --password-store is the Linux keyring switch; macOS accepts it and does nothing with it, without a word. --use-mock-keychain is the macOS one. Either flag alone is correct on one platform and quietly inert on the other, which is a fault this codebase keeps meeting (silently ignored flags collects the others). So they travel together, from one array: KEYCHAIN_FREE_FLAGS in the app and scripts/lib/keychain-free.mjs for scripts.
Chromium honours the last copy of a switch. Mosaic therefore applies its two flags again after a profile's own extra arguments, so a pasted --password-store= cannot hand the keychain back.
Where the prompts really came from
We read the live command line of a profile started through the app. Both flags were there. The prompts came from three places that start a browser on their own:
compare-with-stock.mjs, which runs a real Google Chrome as the control in our stock comparison.make-installer-art.mjs, which renders the disk-image artwork in a headless browser.- Throwaway probe scripts, written the day before while we chased macOS notification banners.
None of them went through the launcher, so none of them had the flags.
No single fix point, so we wrote a check
A script that starts a browser is something somebody writes in an afternoon, and it will keep happening. check:keychain runs in every build. It asserts that the app's list and the scripts' list agree, that baseArgs spreads them, that a profile's extraArgs cannot override them, and that every browser command line under scripts/ carries them, spelled as the shared constant rather than a copy.
Writing it took two tries to see every script. Looking for the first ] after a spawn( call found four of six, because an args[0] inside the command line closed the bracket early. Looking for spawn( at all found five, because one script builds const args = [...] and spawns it later. The check now starts at --user-data-dir and walks out to the array that contains it, wherever that array is used. It also refuses to pass if it finds fewer than six, so a detector that quietly stops finding files fails instead of reporting a clean repository.
Measured after
Both changed command-line shapes, started for real and off-screen:
Tesseract DevTools up in 1639ms SecurityAgent 0 → 0
stock Chrome DevTools up in 3939ms SecurityAgent 0 → 0
SecurityAgent is the process macOS starts to draw the dialog. It did not start. We did not run the case without the flags, because proving it would have put the dialog on the screen of the person who asked for it to stop.
If you run Chromium yourself and want the prompt gone, --use-mock-keychain does it on a Mac. Know the cost first: your cookies are then encrypted under a password anyone can look up. What that exposed on our disk, and how Tesseract Chrome gets a per-profile key instead, is in Chromium's mock keychain.






