Package Details: protonmail-bridge-nogui 3.10.0-1

Git Clone URL: https://aur.archlinux.org/protonmail-bridge-nogui.git (read-only, click to copy)
Package Base: protonmail-bridge-nogui
Description: Integrate ProtonMail paid account with any program that supports IMAP and SMTP
Upstream URL: https://github.com/ProtonMail/proton-bridge
Licenses: GPL3
Conflicts: protonmail-bridge, protonmail-bridge-bin
Submitter: kausban
Maintainer: kausban
Last Packager: kausban
Votes: 27
Popularity: 0.22
First Submitted: 2020-04-17 09:58 (UTC)
Last Updated: 2024-03-24 03:55 (UTC)

Dependencies (7)

Required by (0)

Sources (2)

Pinned Comments

luoe commented on 2023-02-25 15:59 (UTC)

When using kwallet as provider for org.freedesktop.secrets and pass for key backend for the bridge, I've needed to add a delay before starting the systemd unit after login.

systemctl --user edit --full bridge.service

...
[Service]
...
ExecStartPre=/bin/sleep 30
...

Else the starting of the bridge might fail because kwallet isn't unlocked instantly after login and the GPG key for the pass repo thus is locked (Editing the systemd unit file will skip the need for manual input of the passphrase for the GPG key)

mclancy commented on 2020-06-15 16:35 (UTC)

hakayova and grimfrenzy: I managed to solve the issue of "no account found" by providing the correct PASSWORD_STORE_DIR to the systemd service.

In my case I provided: Environment="PASSWORD_STORE_DIR=/home/mclancy/.local/share/pass"

Hope this helps!

kausban commented on 2020-04-21 14:37 (UTC) (edited on 2020-04-21 14:37 (UTC) by kausban)

Minimal fork of https://aur.archlinux.org/packages/protonmail-bridge/

Compiled with 'nogui' option

Included is a user systemd service. Try: systemctl status --user bridge.service

  1. You can login and register accounts using the interactive cli: protonmail-bridge --cli
  2. Once you have everything configured and automated. You can enable and use bridge.service to run bridge in background.

The following is an alternative way to run the bridge in interactive cli mode encapsulated within a named screen session. Can be added to bridge.service

ExecStart=/usr/bin/screen -Dm -S bridgedaemon sh -c "sleep 5; protonmail-bridge -c"
ExecStop=/usr/bin/screen -X -S bridgedaemon quit

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

thomaseizinger commented on 2021-12-12 04:42 (UTC)

I am seeing the following warning in my logs:

level=warning msg="Failed to add test credentials to keychain" error="Cannot create an item in a l ocked collection" helper="*secretservice.Secretservice"

It seems the systemd service is starting too early. I have GNOME configured for auto-login but still need to unlock the keychain on startup. Is it possible to modify the provided unit in a way that it only starts after the keychain is successfully unlocked?

th0rne commented on 2021-11-19 17:38 (UTC)

@kausban

"sudo rm -rf go/" did not help. However, using community/go, as you suggested, did help. I had core/gcc-go, and with that it didn't build.

kausban commented on 2021-11-17 11:11 (UTC)

@th0rne

I am able to build this on a clean chroot. Please try doing that if all else fails.

As for why you are seeing that build error - perhaps try cleaning your build directory or take a look at your go installation. I use community/go

th0rne commented on 2021-11-17 10:34 (UTC) (edited on 2021-11-17 10:35 (UTC) by th0rne)

It doesn't build for me:

go/pkg/mod/github.com/cronokirby/saferith@v0.31.0/arith_amd64.s:7:10: fatal error: textflag.h: No such file or directory
    7 | #include "textflag.h"
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:89: build-nogui] Error 2

WebFreak commented on 2021-06-15 16:58 (UTC)

Works with PinePhone after adding 'aarch64' as supported architecture and adding make and pkgconf as makedepends

kausban commented on 2021-05-02 09:44 (UTC)

Why is it so that protonmail-bridge --cli cannot be executed if the service runs? @Spixmaster: Because the service runs an instance of protonmail-bridge and the program prevents multiple instances. Would be nice it returned an error message.

Spixmaster commented on 2021-05-02 05:24 (UTC)

Why is it so that protonmail-bridge --cli cannot be executed if the service runs?

spoons commented on 2021-04-06 03:15 (UTC)

I got annoyed with bridge committing to my pass repo so I created a repo specifically for bridge by adding Environment="PASSWORD_STORE_DIR=/a/different/dir" to the unit file.

denisse commented on 2021-02-23 23:45 (UTC) (edited on 2021-02-24 00:02 (UTC) by denisse)

Hello, I'm experiencing this error after trying to add my account:

Adding account was unsuccessful: user is already connected

Has anyone else experienced this issue before?

Update: In case someone else has this issue I managed to overcome the issue by removing the previous password from gnome-keyring.

hakayova commented on 2020-06-20 03:57 (UTC)

@kausban: I added the export statement in $HOME/.bashrc since there is no .bashenv file in that directory. Moreover, there are many similar export statements about other environmental variables in that file. Unfortunately it didn't change the behavior.