desktop icon indicating copy to clipboard operation
desktop copied to clipboard

iCloud Passwords extension broken

Open RealLastRock opened this issue 1 year ago • 29 comments

Captchas

  • [x] I have read the instructions.
  • [x] I have searched existing issues and avoided creating duplicates.
  • [x] I am not filing an enhancement request.

What happened?

When attempting to use the iCloud Passwords extension, you never get prompted by your mac to enter a code.

Image

Please note that I am on MacOS Sequoia 15.4 Beta 2 While this might be an issue with Apple's developer beta, the issue is not present in Firefox so it might be a Zen Browser issue.

Reproducible?

  • [x] I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.9b

What platform are you seeing the problem on?

macOS - aarch64

Relevant log output if applicable


RealLastRock avatar Mar 10 '25 20:03 RealLastRock

@RealLastRock The same issue, by the way. Try opening any page and clicking on the extension—it should work.

utopiaeh avatar Mar 10 '25 20:03 utopiaeh

Temporary work around:

  • open input popup on Zen
  • use Firefox to trigger macOS popup
  • enter code into Zen

Worked for me on latest Twilight build

raymondpattend avatar Mar 16 '25 14:03 raymondpattend

Is it possible in theory to implement a secure solution integrated with default browser password manager? The experience of entering numbers every time sucks 😟

wtf403 avatar Mar 16 '25 17:03 wtf403

Temporary work around:

  • open input popup on Zen
  • use Firefox to trigger macOS popup
  • enter code into Zen

Worked for me on latest Twilight build

doesnt work for me i open the popup on zen, trigger it in firefox, then the code doesnt work in zen. also if i try to open up the extension for a second time, i see this:

Image

only workaround to open the input again is to restart zen fully (running latest build)

jakeleventhal avatar Mar 19 '25 16:03 jakeleventhal

Also tested, last Twilight build as of March 22nd is having the same issue: 1.10.1t (Firefox 136.0.2) (2025-03-22) (aarch64)

kyvandoan avatar Mar 23 '25 09:03 kyvandoan

Nothing the Zen team can do here. I took a look into: /System/Cryptexes/App/System/Library/CoreServices/PasswordManagerBrowserExtensionHelper.app/Contents/MacOS/PasswordManagerBrowserExtensionHelper with a hex editor. Basically, Apple whitelists the browsers that are allowed to talk to the ExtensionHelper via signing-identifier and team-identifier.

stonerl avatar Mar 24 '25 14:03 stonerl

Apple whitelists the browsers that are allowed to talk to the ExtensionHelper

Slightly out of my depth, but I'm assuming there's no easy way to modify the whitelist?

bboonstra avatar Mar 25 '25 04:03 bboonstra

Sadly not. Maybe, when Zen is out of beta, the devs can contact Apple and ask to be whitelisted.

stonerl avatar Mar 25 '25 08:03 stonerl

LibreWolf has documented NativeMessagingHost support: https://librewolf.net/docs/faq/#how-do-i-get-native-messaging-to-work-1

I tried adding the NativeMessagingHost config, but it does not seem to work on Sequoia 15.4 RC 🥲

echo '{ "name": "com.apple.passwordmanager", "description": "PasswordManagerBrowserExtensionHelper", "path": "/System/Cryptexes/App/System/Library/CoreServices/PasswordManagerBrowserExtensionHelper.app/Contents/MacOS/PasswordManagerBrowserExtensionHelper", "type": "stdio", "allowed_extensions": [ "[email protected]" ] }' > ~/Library/Application\ Support/zen/NativeMessagingHosts/com.apple.passwordmanager.json

I will keep on digging out from this as it seems to affect Librewolf as well.

kyvandoan avatar Mar 25 '25 14:03 kyvandoan

Closing this issue as part of a repo cleanup

Due to technical-debt we had in the past, we are currently clearing out old, duplicate, stale, and non-actionable issues to improve issue tracking and make it easier to focus on fixing real bugs.

If this issue is still relevant, please open a new issue using our updated issue template, which will help us categorize and address it more efficiently.

Thanks for your understanding and for helping us improve the project! 🚀

This issue can be reopened at: https://github.com/zen-browser/desktop/issues/new?template=bug_report.yml&title=iCloud%20Passwords%20extension%20broken%0A

zen-browser-auto avatar Mar 29 '25 15:03 zen-browser-auto

LibreWolf has documented NativeMessagingHost support: https://librewolf.net/docs/faq/#how-do-i-get-native-messaging-to-work-1

I tried adding the NativeMessagingHost config, but it does not seem to work on Sequoia 15.4 RC 🥲

echo '{ "name": "com.apple.passwordmanager", "description": "PasswordManagerBrowserExtensionHelper", "path": "/System/Cryptexes/App/System/Library/CoreServices/PasswordManagerBrowserExtensionHelper.app/Contents/MacOS/PasswordManagerBrowserExtensionHelper", "type": "stdio", "allowed_extensions": [ "[email protected]" ] }' > ~/Library/Application\ Support/zen/NativeMessagingHosts/com.apple.passwordmanager.json

I will keep on digging out from this as it seems to affect Librewolf as well.

Hello! Did you find solution to make it working with Sequoia 15.4+ ?

kupchic avatar Apr 12 '25 09:04 kupchic

Temporary work around:

* open input popup on Zen

* use Firefox to trigger macOS popup

* enter code into Zen

Worked for me on latest Twilight build

I’ve tried, but when I change the focus to Zen, the popup with the password disappears. How do you handle this?

utopiaeh avatar Apr 28 '25 13:04 utopiaeh

I found another workaround that works, keep in mind it requires SIP to be disabled and AMFI to be disabled. You will also need firefox and ldid which you can get from homebrew.

Once you have rebooted with AMFI disabled, run the following:

ldid -e /Applications/Firefox.app/Contents/MacOS/firefox > firefox.xml
ldid -Sfirefox.xml /Applications/Zen\ Browser.app/Contents/MacOS/zen

What this does is it fakesigns Zen with the Firefox signature which make it appear like Firefox as long as AMFI is disabled. Not ideal but best solution for now.

joshrad-dev avatar Apr 28 '25 16:04 joshrad-dev

Since I was following this thread, this will be fixed in an upcoming release of macOS as Zen Browser has been signed in iCloud Password:

  • Opened issue by @mcg : https://github.com/apple/password-manager-resources/issues/895
  • Commit #53a309e : https://github.com/apple/password-manager-resources/commit/53a309ed657df0f698ef630eab2ed5161941da2d

kyvandoan avatar May 03 '25 06:05 kyvandoan

I've also sent a fix: https://github.com/apple/password-manager-resources/pull/900

mr-cheffy avatar May 12 '25 07:05 mr-cheffy

Since I was following this thread, this will be fixed in an upcoming release of macOS as Zen Browser has been signed in iCloud Password

Still not working on Zen v1.12.3b and macOS 15.5.

xilopaint avatar May 13 '25 01:05 xilopaint

Probably not merged upstream in macOS yet. As Ricky Mondello (from Apple’s Passwords Team) stated, quite hard to estimate when it may ship.

kyvandoan avatar May 13 '25 02:05 kyvandoan

Any updates? It still exists

Image Image Image

alexeikaratai avatar May 14 '25 19:05 alexeikaratai

@alexeikaratai Apple has to integrate the changes here https://github.com/apple/password-manager-resources/issues/895 then release a new macOS. As stated in that issue, some future release.

mcg avatar May 14 '25 19:05 mcg

Not sure that fix is exactly working @mcg

https://github.com/apple/password-manager-resources/issues/895#issuecomment-2881327377

jakeleventhal avatar May 14 '25 19:05 jakeleventhal