Skip to content

Allow Proton Pass

Jace edited this page Nov 25, 2026 · 3 revisions

The Proton Pass extension can reach the Proton Pass app in Dia, so you can unlock it with Touch ID. Without it, the extension can't connect to the desktop app and asks for your password or PIN instead. It hasn't been confirmed against every Proton Pass version, so if the extension doesn't connect, please say so on the issue tracker.

Why use it

Proton Pass's extension talks to its app through a small helper file. The app only sets that file up for the browsers it knows, and Dia isn't one of them. Dia reads it from Chrome's folder, so if you haven't set it up for Chrome the file can be missing, and the extension can't reach the desktop app.

Turn it on if Proton Pass is your password manager and you want to unlock the extension with Touch ID. Biometric unlock on desktop needs a paid Proton Pass plan. If the extension already connects to the app in Dia, you don't need it. If you only type your password or PIN, you don't need it either.

Turn it on

It's off by default. Open Dia → Settings → Patches → Password Managers and switch on Allow Proton Pass. Or run:

diatweaks enable protonPass

It needs the Proton Pass desktop app installed. Then set up Touch ID the way Proton Pass does for other browsers:

  1. Open the Proton Pass desktop app, sign in, open Settings → Security, and turn on Biometrics under Unlock with. Leave the app running.
  2. In the Proton Pass extension in Dia, open Settings → Security and switch on Unlock with biometrics.
  3. Confirm with Touch ID when asked.

FAQ

What does it change?

It writes one file, me.proton.pass.nm.json, inside ~/Library/Application Support/Google/Chrome/NativeMessagingHosts — or ~/Library/Application Support/Dia/User Data/NativeMessagingHosts on Macs where Chrome's folder doesn't exist and macOS blocks creating it — pointing at Contents/Resources/assets/proton_pass_nm_host inside the installed Proton Pass app. It creates the folders on the way if they aren't there.

It only writes the file when it's missing. If Proton Pass already wrote that file, it leaves it alone and never changes it.

Does it open a second Dia like Allow 1Password?

No. This tweak only writes the one file and starts nothing.

What happens when I turn it off?

It deletes only the file it wrote. A file written by Proton Pass stays, and so do the folders.

It says "Couldn't write … NativeMessagingHosts: You don't have permission"

When ~/Library/Application Support/Google/Chrome/NativeMessagingHosts already exists on your Mac, Dia reads extension helpers from there. If that folder, or the Google folder it sits in, isn't yours to write to (usually because an installer or a command run with sudo made it), take it back by running the command the alert shows in Terminal and typing your Mac password when asked:

sudo chown -R "$(whoami)" "$HOME/Library/Application Support/Google" && chmod -R u+rwX "$HOME/Library/Application Support/Google"

Then turn the switch on again. Chrome keeps working as before, since the folder still belongs to you.

On a Mac without Chrome where macOS blocks creating Chrome's folder, Dia and DiaTweaks automatically fall back to Dia's own ~/Library/Application Support/Dia/User Data/NativeMessagingHosts folder instead, so no Terminal command is needed.

It says the Proton Pass app isn't installed

The alert says "The Proton Pass desktop app isn't installed. Install it, then try again." DiaTweaks asks macOS where Proton Pass is installed (and also checks /Applications/Proton Pass.app and ~/Applications/Proton Pass.app) and looks for its helper inside the app. If it can't find the app, it switches itself off. Install Proton Pass, then turn this on again.

It says Proton Pass's file points to something that isn't there

The file in the host folder isn't the one this tweak wrote, and it points to a helper that isn't there, usually because the Proton Pass app was moved or replaced. This tweak leaves files it didn't write alone, so quit and reopen Proton Pass, as the alert says, then turn this on again.

Does it work with tabs at the top?

Yes. It doesn't change anything you see in Dia.

Why did it switch itself off?

It checks its setup when you turn it on and each time Dia opens: the Proton Pass app, and the file that tells the extension where to connect. If something's missing, it sets it up again, up to three times. If that doesn't fix it, it switches itself off and an alert says what's wrong, like the Proton Pass app not being installed or the folder not being writable.

All tweaks

Clone this wiki locally