Skip to content

fix: restore Chrome Extension ID to Web Store value (jadfnbfppmcpbfiickiolonfldkphmfb) - #32

Merged
pexatar merged 1 commit into
mainfrom
fix/chrome-extension-id
May 14, 2026
Merged

pexatar merged 1 commit into
mainfrom
fix/chrome-extension-id

Conversation

@pexatar

@pexatar pexatar commented May 14, 2026

Copy link
Copy Markdown
Owner

Bug

Chrome extension cannot connect to PassKey Desktop.

Root cause: The commit f7bad7f that updated ChromeExtensionId from the development
value (jmddfinmjgpgmfkiblhnjccagheadpop) to the Chrome Web Store value
(jadfnbfppmcpbfiickiolonfldkphmfb) was in branch feat/browser-extension-store-readiness
but was added after PR #28 was merged. It was never cherry-picked to main.
PR #29 (which contained this commit) was closed instead of merged.

As a result, the v1.0.13 installer shipped PassKey.Desktop.exe that writes the wrong
Chrome Extension ID into %LOCALAPPDATA%\PassKey\native-messaging\com.passkey.host.json,
causing Chrome to reject the native messaging connection.

Firefox was unaffected because its ID was correctly set in PR #28.

Fix

Cherry-pick of f7bad7f — updates 4 files:

  • src/PassKey.Desktop/Services/NativeMessagingRegistrationService.cs — ChromeExtensionId constant
  • scripts/build-installer.ps1 — manifest generation
  • src/PassKey.BrowserHost/Manifests/com.passkey.host.json — dev reference manifest
  • extensions/chrome/manifest.json — key field alignment

Impact

Requires a v1.0.14 installer release so users get the fixed exe.
Immediate workaround: overwrite com.passkey.host.json with the correct allowed_origins.

🤖 Generated with Claude Code

Replace the development key-derived ID with the ID assigned by the
Chrome Web Store (jadfnbfppmcpbfiickiolonfldkphmfb). Updates manifest
key field, NativeMessagingRegistrationService, BrowserHost manifest,
and build-installer script so all references stay consistent.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pexatar
pexatar merged commit 61496e6 into main May 14, 2026
1 check passed
@pexatar
pexatar deleted the fix/chrome-extension-id branch May 14, 2026 13:38
pexatar added a commit that referenced this pull request May 14, 2026
Fixes Chrome extension connectivity broken in v1.0.13 due to wrong
ChromeExtensionId (development ID was shipped instead of Web Store ID).
Fixed in PR #32 — this bump ensures users get the corrected exe.

Co-authored-by: Giuseppe Imperato <pexatar@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant