codex icon indicating copy to clipboard operation
codex copied to clipboard

Windows: Chrome 157 password and cookie imports fail with "unsupported Chrome key data"

Open kuangmoge9-art opened this issue 3 weeks ago • 5 comments

What version of the Codex App are you using (From “About Codex” dialog)?

  • Windows MSIX package: 26.1103.7773.0.
  • Bundled application version: 26.1103.60933; release channel: prod.
  • These versions were read from the installed package and application metadata, not the About dialog.
  • The official stable update feed still listed package 26.1103.7773.0 when checked on 2026-11-10.

What subscription do you have?

Not collected for this report.

What platform is your computer?

Windows 11 Pro for Workstations, 10.0.26300, x64.

Google Chrome: 157.0.8103.39.

What issue are you seeing?

The Codex desktop browser-data importer repeatedly fails to import saved passwords and cookies from the existing Chrome profile, even after accepting the Windows administrator (UAC) prompt. Importing only browsing history succeeds.

Each category was tested independently:

Selected data Result
Browsing history only Success
Saved passwords only Failure
Cookies only Failure

The importer error recovered after a failed reproduction was:

Browser import helper found unsupported Chrome key data.

The normal app log does not expose this message. It records:

Browser profile import request failed without a result
requestOutcome=CODEX_BROWSER_PROFILE_IMPORT_REQUEST_OUTCOME_FAILED_WITHOUT_RESULT
source=CODEX_BROWSER_PROFILE_IMPORT_SOURCE_CHROME
windowsChromeAdminApprovalNoticeAcknowledged=true
windowsChromeAdminApprovalNoticeRequired=true

When all three categories are selected, the UI marks all three as failed and shows “Make sure Chrome is fully closed” for history, even though history-only import works. The password and cookie errors are generic.

What steps can reproduce the bug?

On the affected installation and existing Chrome profile:

  1. Fully exit Chrome, including background processes.
  2. Open Codex Settings and start importing browser data from that Chrome profile.
  3. Select only browsing history and import: this succeeds.
  4. Repeat with only saved passwords selected; accept the Windows administrator prompt: this fails.
  5. Repeat with only cookies selected; accept the Windows administrator prompt: this also fails.

The cookies-only failure was reproduced again on 2026-11-10 at approximately 12:01 UTC+8. A clean Chrome profile or a second machine has not been tested.

What is the expected behavior?

Import the selected passwords and cookies through the authorized import flow. If the current Chrome key representation is unsupported, preserve the specific helper error in diagnostics and display actionable guidance instead of only a generic import failure.

Additional information

Read-only diagnostics on the affected installation:

  • No Chrome background processes remained, and the source history, password and cookie database files were readable and could be opened exclusively.
  • SQLite quick_check returned ok for Login Data, Login Data For Account, and Network/Cookies. The account password store and cookie store contain records with the v20 encrypted-data prefix.
  • Chrome Local State contains both encrypted_key and app_bound_encrypted_key, with the expected outer DPAPI and APPB markers. No key contents are included here.
  • Windows System event 7045 recorded creation of the temporary OwlBrowserProfileImport-<redacted> helper service as LocalSystem during failed attempts.
  • Chrome's elevation-service executable path/version and Google signature were valid. CryptSvc, KeyIso, and RpcSs were running.
  • The Codex package status was OK; the app and its elevation helper had valid OpenAI signatures.

Error provenance: because the regular log drops the underlying exception, a read-only inspection limited to allowlisted importer-error strings was performed after the failed import. The exact unsupported Chrome key data message appeared in the main and UI renderer processes, including as the message field of serialized error objects in the renderer. This is not a native stack trace; no memory dump or browser data is attached.

Inspection of the packaged frontend error path also showed that it discards the underlying error and constructs generic failed results for the requested categories. The “fully closed” history guidance is a generic failure message, not evidence that Chrome was still running.

The evidence points to the helper rejecting this profile's Chrome key representation. It does not establish that all v20 data or all Chrome 157 installations are affected. Please investigate compatibility with this key representation and retain the original helper error in logs/UI.

Related but different: #43945 reports history-only failure while passwords/cookies succeed; this report has the opposite independent-category results.

No passwords, cookie values, usernames, website lists, encryption keys, or process dumps are included.

kuangmoge9-art avatar Nov 10 '26 04:11 kuangmoge9-art

I met this problem, too. It is really annoying.

Sunlight-zero avatar Nov 11 '26 15:11 Sunlight-zero

Additional related reproduction from a Windows ChatGPT desktop user:

The built-in Browser in the ChatGPT desktop app cannot import/reuse the existing Chrome sign-in session (described from the user side as a browser token/session import failure). This appears to be an import/integration problem rather than Chrome itself being unable to launch.

I have not captured the exact importer exception, the ChatGPT desktop package/build number, or Chrome profile encryption metadata, so I cannot confirm that this is the same unsupported Chrome key data / App-Bound Encryption failure described here. Please treat this as a symptom-level related report, not confirmation of the same root cause.

Could maintainers confirm whether the in-app Browser import path in ChatGPT desktop shares this importer with Codex desktop, and advise which non-sensitive diagnostics would help distinguish a cookie/key-format failure from an auth/session handoff failure?

No passwords, cookie values, tokens, keys, or browser profile data are attached.

LongLongSol avatar Nov 16 '26 13:11 LongLongSol

Additional reproduction on Windows 10 with Chrome 157.

  • Windows 10 Pro 22H2, build 19045.6466
  • Google Chrome 157.0.8103.79
  • ChatGPT desktop/Codex Windows package 26.1111.9664.0 (also reproduced on 26.1111.2228.0)

Chrome was fully closed. Importing browsing history alone succeeded. Importing Cookies alone failed. Windows successfully repaired the desktop app in place and the app was restarted. All three cookies-only attempts after the repair still failed.

For each post-repair attempt, Windows started the temporary import service, it stopped within 37–54 ms, and the desktop log reported CODEX_BROWSER_PROFILE_IMPORT_REQUEST_OUTCOME_FAILED_WITHOUT_RESULT. In a pre-repair trace, the service ran with system privileges and Windows recorded a successful data-protection operation shortly before the service exited with code 1. The desktop logs do not expose the exact native error on this machine.

Could the maintainers check Chrome 157 compatibility on this Windows build and surface the underlying helper error in the import result or logs?

Gjx031720 avatar Nov 19 '26 15:11 Gjx031720

Additional reproduction on Chrome 158 and a newer Windows Codex desktop build, observed on November 28, 2026.

  • Windows 10 Pro x64, build 19045
  • Google Chrome 158.0.8127.88
  • OpenAI.Codex Windows package 26.1120.6357.0

In Settings → Browser → Import, selecting browsing history only succeeded. Selecting cookies only reproduced the generic “Cookies couldn’t be imported” error. Saved passwords also failed to import. In the earlier attempt with all three categories selected, the UI marked all three as failed and showed “Make sure Chrome is fully closed” for browsing history.

During read-only diagnostics, no Chrome processes were running. All four Chrome source Cookie databases were readable, passed SQLite quick_check, and used schema version 24. Nearly all records had the v20 format marker. For the cookies-only retry, Windows recorded event 7045 for registration of the temporary Codex import service and event 7024 for its exit with service-specific status 0. These events do not show what the importer returned or whether it decrypted or wrote any cookies.

The observed behavior matches this issue, but the exact “unsupported Chrome key data” error was not captured on this machine. Could you check whether Chrome 158 is affected by the same failure and expose a redacted diagnostic that distinguishes source access, key handling, and destination write errors?

No cookie values, passwords, keys, URLs from browser history, private paths, screenshots, or raw logs are included.

KannaNya avatar Nov 28 '26 14:11 KannaNya

Still reproduces on newer versions:

  • Codex App (Windows MSIX): 26.1120.6357.0 (bundled app 26.1120.50957)
  • Windows 11 Pro 10.0.26300, x64
  • Google Chrome 158.0.8127.37

Same behavior: history-only import succeeds; saved passwords and cookies fail after accepting the UAC prompt. Chrome had no running processes, and the profile's History, Network\Cookies and Login Data files opened for exclusive read before the import. Log shows Browser profile import request failed without a result, requestOutcome=CODEX_BROWSER_PROFILE_IMPORT_REQUEST_OUTCOME_FAILED_WITHOUT_RESULT, windowsChromeAdminApprovalNoticeAcknowledged=true. When all categories are selected, history is also marked failed with "Make sure Chrome is fully closed", even though history-only works.

Manik400 avatar Nov 28 '26 18:11 Manik400