Report this

What is the reason for this report?

How to connect pass with proton mail-bridge --cli

Posted on June 1, 2023

I have been following tutorials for protonmail-bridge --cli including creating and exporting a ProtonMail Bridge key using:

gpg --batch --passphrase '' --quick-gen-key 'ProtonMail Bridge' default default
gpg --export -a "ProtonMail Bridge"
// pass was already installed so that command was skipped
pass init "ProtonMail Bridge"

// then I tried to run protonmail-bridge --cli and get the following errors
root@IHC:~# protonmail-bridge --cli
WARN[0000] Failed to add test credentials to keychain    error="failed to create item: Object does not exist at path “/org/freedesktop/secrets/collection/login”" helper="*keychain.SecretServiceDBusHelper"
WARN[0000] Failed to add test credentials to keychain    error="Object does not exist at path “/org/freedesktop/secrets/collection/login”" helper="*secretservice.Secretservice"
INFO[0000] Migrating keychain helper                    

            Welcome to Proton Mail Bridge interactive shell
                              ___....___
    ^^                __..-:'':__:..:__:'':-..__
                  _.-:__:.-:'':  :  :  :'':-.:__:-._
                .':.-:  :  :  :  :  :  :  :  :  :._:'.
             _ :.':  :  :  :  :  :  :  :  :  :  :  :'.: _
            [ ]:  :  :  :  :  :  :  :  :  :  :  :  :  :[ ]
            [ ]:  :  :  :  :  :  :  :  :  :  :  :  :  :[ ]
   :::::::::[ ]:__:__:__:__:__:__:__:__:__:__:__:__:__:[ ]:::::::::::
   !!!!!!!!![ ]!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![ ]!!!!!!!!!!!
   ^^^^^^^^^[ ]^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[ ]^^^^^^^^^^^
            [ ]                                        [ ]
            [ ]                                        [ ]
      jgs   [ ]                                        [ ]
    ~~^_~^~/   \~^-~^~ _~^-~_^~-^~_^~~-^~_~^~-~_~-^~_^/   \~^ ~~_ ^


>>> info
>>> No active accounts.  Please add account to continue.

What the heck am I doing wrong, and how can I fix it? I had it installed and added an account, but it kept not recognizing my keychain helper.

I DO have a paid business account with ProtonMail.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.