tis-protonmail-bridge icon

Proton Mail Bridge

Paquet d’installation silencieuse pour Proton Mail Bridge

3.20.0-1

  • package: tis-protonmail-bridge
  • name: Proton Mail Bridge
  • version: 3.20.0-1
  • 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(>=10),ubuntu(>=18)
  • impacted_process: proton-bridge
  • architecture: x64
  • signature_date:
  • size: 81.79 Mo
  • installed_size: 173.99 Mo
  • homepage : https://proton.me/fr/mail/bridge

package           : tis-protonmail-bridge
version           : 3.20.0-1
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(>=10),ubuntu(>=18)
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      : 9146457f-82d6-43b7-b767-31bd77376eb9
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    : 2025-05-20T12:00:17.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         : uGj7vCkqne4UCp0T5WRWh6yvLGc0WMq6uKp69DcmTZ5jHvz12dRZAl7UBxGO7T367Jo0nmnCD1OheU0DHlH67SbQbmvXp5qaCOzPiC52iBdRYl2DHJF9uDWms2BKf4sTVt46ogd0M6k81ZLlQcaV/wMVB4cOMmK8lnVMb3h9QbbmUIYo2KzZUNzxiU3j/B0vi11oxFl1TWS3juzfaBVyiorow0GSeiEzIgyYID09baXKJn8/MfFK34VXDzxwK5XrbpUoOvm1OBHTRYXawqdafkfFEsxADrhsI6HlNLQzi+tj8FDhZ7dqxcNSmyDPc3ZFZCqEcvSqy5fWgJpY/hpnOg==

# -*- 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(>=10),ubuntu(>=18)" : ".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
aaf5b69e695f88843a0643e4a2695bb255512f691bba06b7347526d8652610b6 : WAPT/control
4aac9a7519cefa9566998d5662c181f17d6b04008a212b02f93d646f7e7dee51 : WAPT/icon.png
d63d15079a5a1ee16fd117300db5e27e3f4956c2a27154d4391c6c14c3b2890b : luti.json
f323ef94a9fb411b8c4cf4835c8a42462f9e71e78c8dcd08d4fafa5736c59958 : protonmail-bridge_3.20.0-1_amd64.deb
146e30b66b471a0b89a66d62cb1d09fedbc493aa13bde5f8766ebf37d9b91f37 : setup.py
90eabc91c86c2af6e05a7623b5ab24337e8d69a7adb0353244b3506bb35666ef : update_package.py