#959145 ITP: protonmail-bridge -- ProtonMail Bridge for e-mail clients.

#959145#5
Date:
2020-04-29 21:09:24 UTC
From:
To:
* Package name    : protonmail-bridge
  Version         : 1.2.6
  Upstream Author : Proton Technologies AG (ProtonMail Bridge
developers) <bridge@protonmail.ch>
* URL             : https://github.com/ProtonMail/proton-bridge
* License         : GPL
  Programming Lang: Go
  Description     : ProtonMail Bridge for e-mail clients.

IMAP/SMTP bridge to ProtonMail for paid clients.

ProtonMail stores emails on their servers encrypted with GnuPG key, that
is encrypted with a symmetric cipher, for which the password is your
ProtonMail account password. Those emails can be decrypted only when you
access your account through Web Mail interface (you log in and provide
the password then) and through this bridge (your email client can
download messages through IMAP from the bridge, and it's the bridge that
decrypts those emails).

#959145#10
Date:
2021-08-24 17:29:56 UTC
From:
To:
It would be fantastic to have this application packaged in Debian.
#959145#15
Date:
2022-09-12 04:42:11 UTC
From:
To:
Hello,

Are you still working on this package? I would be willing to pick up
where you left off.

Thanks,
--
Ben Westover

#959145#20
Date:
2022-09-12 14:24:01 UTC
From:
To:
Hey Ben,

Please, go for it -- I won't be able to get around to packaging it any
time soon.

#959145#25
Date:
2023-06-20 06:24:36 UTC
From:
To:
I've given up packaging this; there are too many weird dependencies
which I don't have the Go experience to handle, and the source for the
actual Bridge is a mess to package. Even before trying to package this
program, I couldn't get it to build on architectures other than amd64,
which is kind of unacceptable.

Thanks,
--
Ben Westover

#959145#36
Date:
2023-07-07 21:50:34 UTC
From:
To:
On 6/20/23 2:24 AM, Ben Westover wrote:
 > Even before trying to package this program, I couldn't get it to
 > build on architectures other than amd64, which is kind of
 > unacceptable.

So, I did some more research after this, and I found out some things:

  1. One of the libraries it uses only supports 64 bit architectures, and
     another only supports x86 (and ARM after I got a patch merged), so
     only the amd64 and arm64 architectures would be supported.

  2. The build script for the GUI arbitrarily won't let you build on
     ARM64 unless you're on macOS. In my bug report [1], the Proton team
     didn't give any practical reason for this other than "ARM on Linux
     is not supported" even though it builds and runs fine once you apply
     a one-line change to that build script to allow ARM builds on Linux.

So, with a simple patch, you can upgrade the number of supported
architectures from 1 to 2. That 64-bit-only library is pretty annoying.