tis-protonmail-bridge icon

Proton Mail Bridge

Silent install package for Proton Mail Bridge

3.22.0-3
Messaging
Messaging

  • package: tis-protonmail-bridge
  • name: Proton Mail Bridge
  • version: 3.22.0-3
  • categories: Messaging
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: Proton AG
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
  • locale: all
  • target_os: debian(>=11),ubuntu(>=20)
  • impacted_process: proton-bridge
  • architecture: x64
  • signature_date:
  • size: 84.46 Mo
  • installed_size: 173.99 Mo
  • homepage : https://proton.me/fr/mail/bridge

package           : tis-protonmail-bridge
version           : 3.22.0-3
architecture      : x64
section           : base
priority          : optional
name              : Proton Mail Bridge
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Proton Mail Bridge is a desktop application that runs in the background, encrypting and decrypting messages as they enter and leave your computer
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian(>=11),ubuntu(>=20)
min_wapt_version  : 2.3
sources           : 
installed_size    : 173989655
impacted_process  : proton-bridge
description_fr    : Proton Mail Bridge est une application de bureau qui fonctionne en arrière-plan et qui crypte et décrypte les messages à mesure qu'ils entrent et sortent de votre ordinateur
description_pl    : Proton Mail Bridge to aplikacja działająca w tle, która szyfruje i odszyfrowuje wiadomości przychodzące i wychodzące z komputera użytkownika
description_de    : Proton Mail Bridge ist eine Desktop-Anwendung, die im Hintergrund läuft und Nachrichten verschlüsselt und entschlüsselt, während sie auf Ihrem Computer ein- und ausgehen
description_es    : Proton Mail Bridge es una aplicación de escritorio que se ejecuta en segundo plano, cifrando y descifrando los mensajes a medida que entran y salen del ordenador
description_pt    : O Proton Mail Bridge é uma aplicação de ambiente de trabalho que funciona em segundo plano, encriptando e desencriptando mensagens à medida que estas entram e saem do seu computador
description_it    : Proton Mail Bridge è un'applicazione desktop che funziona in background, crittografando e decrittografando i messaggi mentre entrano ed escono dal computer
description_nl    : Proton Mail Bridge is een desktopapplicatie die op de achtergrond draait en berichten versleutelt en ontsleutelt terwijl ze je computer binnenkomen en verlaten
description_ru    : Proton Mail Bridge - это настольное приложение, которое работает в фоновом режиме, шифруя и расшифровывая сообщения по мере их поступления и отправления с вашего компьютера
audit_schedule    : 
editor            : Proton AG
keywords          : email,encrypt
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage          : https://proton.me/fr/mail/bridge
package_uuid      : 1722d596-d29a-4cc5-9329-34fe2840382e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 4aac9a7519cefa9566998d5662c181f17d6b04008a212b02f93d646f7e7dee51
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-02-17T12:09:38.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : vx4Ekxevck783HHrwlZ7w38nbsDyaMlU74HSpFOZBTEPXLnhqStdfbQ8a8SbHIYZ57tbTaax3qbGBZOWPaQUVYwWjfHdaZUSidQqYM1rQe8KcKfXGcQ6V9pBFlxcfo9HzKOklPriwc2ax2E4k3j8IClsrn90X7g/OQEv2OIVGrtbeHZgUrhBqgWhrhn64Nke5ADdDUscBaWX4HvFZKuhqcAG9/2iZtkhrpY7XdQFfHK36kR01MmoMv85bEhfhY2GtQSpK386v/6PZdmRcKibtHe10VGCHec8V229u5uqgzQyVNOei2XZEwkFehx6snSOTYQmb5Jbtyv//1WCxfH63w==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    install_deb(glob.glob("protonmail-bridge_*_amd64.deb")[0])


def uninstall():
    uninstall_apt("protonmail-bridge")



# -*- coding: utf-8 -*-
from setuphelpers import *
import re


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {"windows": ".exe", "redhat_based" : ".rpm", "debian(>=11),ubuntu(>=20)" : ".deb", "macos": ".dmg"}
    api_url = "https://api.github.com/repos/ProtonMail/proton-bridge/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    deb_found = False  # Flag pour indiquer la découverte d'un fichier .deb
    for release in releases_dict:
        if deb_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".deb") and update_dict[control.target_os] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["name"].split(" ")[2].replace("v", "")
                deb_found = True  # Mettre à jour le flag pour indiquer qu'un deb a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.deb"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
ebd92f5837519c07e9e414c134b74f7d5c0c1ad82b3faf7621da9a4941206441 : WAPT/control
4aac9a7519cefa9566998d5662c181f17d6b04008a212b02f93d646f7e7dee51 : WAPT/icon.png
5ecbc2a8f78b4c0626210abf45633efb0f403cee09b70cfae6ab9ad93d1e21f8 : luti.json
b7a576267cba7b582faa0095efaae0d30b1d27c1490311d297e1c557fd1e9553 : protonmail-bridge_3.22.0-1_amd64.deb
146e30b66b471a0b89a66d62cb1d09fedbc493aa13bde5f8766ebf37d9b91f37 : setup.py
d736fe580753286836551987cb0da16bad6cc704cff2ec69eb535c8884356556 : update_package.py