Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iCloud Password Extension #144

Closed
dbrewood opened this issue Jan 26, 2024 · 13 comments
Closed

iCloud Password Extension #144

dbrewood opened this issue Jan 26, 2024 · 13 comments

Comments

@dbrewood
Copy link

Install the extension and try to sign it into iCloud via authentication. You are informed you must be using macOS Sonoma and are asked to download it.
I'm running macOS Sonoma :)

@dbrewood
Copy link
Author

I don't have this issue with Brave or Vivaldi.....

@claudiodekker
Copy link

claudiodekker commented Jan 27, 2024

This has to do with that a NativeMessagingHosts file isn't being created for Chromium, but does for those other browsers.

To fix this you can copy the com.apple.passwordmanager.json from Vivaldi/Brave's NativeMessagingHosts folder into Chromium's, or simply run the following command in Terminal:

echo '{
    "name": "com.apple.passwordmanager",
    "description": "PasswordManagerBrowserExtensionHelper",
    "path": "/System/Cryptexes/App/System/Library/CoreServices/PasswordManagerBrowserExtensionHelper.app/Contents/MacOS/PasswordManagerBrowserExtensionHelper",
    "type": "stdio",
    "allowed_origins": [
        "chrome-extension://pejdijmoenmkgeppbflobdenhhabjlaj/",
        "chrome-extension://mfbcdcnpokpoajjciilocoachedjkima/"
    ]
}' > ~/Library/Application\ Support/Chromium/NativeMessagingHosts/com.apple.passwordmanager.json

@dbrewood
Copy link
Author

Thanks that has indeed fixed the issue. Surely though there should not be a need to fix this?

@Cubik65536
Copy link
Member

Cubik65536 commented Jan 27, 2024

Thanks that has indeed fixed the issue. Surely though there should not be a need to fix this?

This is an issue of vanilla Chromium (you may already discovered), as ungoogled-chromium wants to stay as close as possible to vanilla, we might not fix it here. I do recommend you to report this to Chromium dev directly though.

Wrong info due to lack of prior research, check #144 (comment) for more info.

@PF4Public
Copy link
Contributor

Does the proposed solution adequately fix this issue, can we close it?

@dbrewood
Copy link
Author

I can't say as I stopped using the program.

@PF4Public
Copy link
Contributor

Well, let's consider it solved for now then.

@dbrewood
Copy link
Author

To clarify, running the script above did indeed fix the problem, although I still think a permanent fix needs to be incorporated into the program itself. The need for manual fixes like this having to be applied is why I stopped using it.

@Cubik65536
Copy link
Member

To clarify, running the script above did indeed fix the problem, although I still think a permanent fix needs to be incorporated into the program itself. The need for manual fixes like this having to be applied is why I stopped using it.

NativeMessagingHosts should be installed by the extension rather than the browser, there’s absolutely nothing we can do, neither actually Chromium devs, you should report this to Apple if what you want is a permanent fix, otherwise I could only suggest you to use the temporary fix or stop using browsers that Apple haven’t considered at the first place.

@Cubik65536
Copy link
Member

Reference: keeweb/keeweb@e674607 (another password manager that uses NativeMessagingHosts)

@dbrewood
Copy link
Author

Interesting, I can't see that Apple have considered Vivaldi or Brave and they both work.

@Cubik65536
Copy link
Member

Cubik65536 commented Feb 27, 2024

Interesting, I can't see that Apple have considered Vivaldi or Brave and they both work.

Let me correct myself: "absolutely nothing no proper way".

Brave points their location to Chrome (code). Which:

  1. Chromium doesn't, obviously.
  2. They actually shouldn't do that. (I shall remind you this involves permission settings, permission to access passwords, I don't think anyone wants to share these kinds of permissions across different applications, especially when you don't even realize it's shared)

I could assume that Vivaldi do the same.

And I will go strongly against adding this for UGC. For the reason described above.

But, everyone can have a different standard for "proper way", other browser's dev thinks it's okay to share these hosts, it's not how I think, especially considering the nature of UGC.

@dbrewood
Copy link
Author

Fair enough I understand your position.

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

No branches or pull requests

4 participants