protonmail bridge

I am attempting to get protonmail bridge to build on FreeBSD 14.

It looks manageable but we'll see. So far ..

1. use gmake (not make)
2. replace #!/bin/bash with #!/usr/bin/env bash
3. requires zip, ninja and cmake
4. some go modules are missing from go.mod (like filebase/go-keychain).

At the moment, I'm stuck on the go compiler choking - likely on more missing go modules.

undefined: osSupportCertInstall
internal/certs/installer.go:47:12: undefined: installCert
internal/certs/installer.go:59:12: undefined: uninstallCert
internal/certs/installer.go:69:9: undefined: isCertInstalled
# github.com/ProtonMail/proton-bridge/v3/internal/versioner
internal/versioner/remove.go:64:16: v.RemoveCurrentVersion undefined (type *Versioner has no field or method RemoveCurrentVersion)

I don't know go so it takes me a while to figure out the package name from the undefined symbols.

Tips are welcome!
 
I've seen references to that in context with protonmail but never used it. I'll check it out. Having multiple apps that cover the same use case is important so I still want to get protonmail bridge working.
 
Freebsd newbie here.. Just installed Freebsd 15 , thunderbird and a debian vm using bhyve. I installed protonbridge to vm and used socat e.g.

Bash:
socat TCP-LISTEN:11430,fork,bind=0.0.0.0,reuseaddr TCP:127.0.0.1:1143 &
socat TCP-LISTEN:10250,fork,bind=0.0.0.0,reuseaddr TCP:127.0.0.1:1025 &

then i was able to connect my thunderbird using as hostname the ip of the vm and used ports 11430 and 10250 .
 
I installed mail/hydroxide but it does not work:

Code:
sudo service hydroxide oneinit
Enter mail account id:fred@proton.me
Password:
2026/05/07 16:34:27 request failed: POST https://mail.proton.me/api/auth: [9001] For security reasons, please complete CAPTCHA. If you can't pass it, please try updating your app or contact us here: https://proton.me/support/appeal-abuse
2026/05/07 16:34:27 [9001] For security reasons, please complete CAPTCHA. If you can't pass it, please try updating your app or contact us here: https://proton.me/support/appeal-abuse

I had exactly the same problem using a self-compiled hydroxide.

Compiling proton-bridge did not work:

Code:
gmake: *** No rule to make target 'cmd/Desktop-Bridge/deploy/freebsd', needed by 'bridge_freebsd_138d935e62.tgz'.  Stop.
 
I installed mail/hydroxide but it does not work:

Code:
sudo service hydroxide oneinit
Enter mail account id:fred@proton.me
Password:
2026/05/07 16:34:27 request failed: POST https://mail.proton.me/api/auth: [9001] For security reasons, please complete CAPTCHA. If you can't pass it, please try updating your app or contact us here: https://proton.me/support/appeal-abuse
2026/05/07 16:34:27 [9001] For security reasons, please complete CAPTCHA. If you can't pass it, please try updating your app or contact us here: https://proton.me/support/appeal-abuse

I had exactly the same problem using a self-compiled hydroxide.
Yes, it does not work now due to captcha problem, unfortunately.

 
After a while, when I was using Hydroxide, I ran into that error, and the workaround (at least for my use case) is to send the message to myself (the same account used by hydroxide). Now I've switched to Google app passwords.
 
Back
Top