- package: tis-proton-vpn
- name: Proton VPN
- version: 4.2.0-2
- categories: Security
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: opensource_free,wapt_public
- target_os: windows
- impacted_process: ProtonVPNService,ProtonVPN
- architecture: x64
- signature_date:
- size: 114.55 Mo
- homepage : https://protonvpn.com/
package : tis-proton-vpn
version : 4.2.0-2
architecture : x64
section : base
priority : optional
name : Proton VPN
categories : Security
maintainer : WAPT Team,Tranquil IT,Amel FRADJ
description : Official ProtonVPN Windows app
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process : ProtonVPNService,ProtonVPN
description_fr : Application Windows officielle de ProtonVPN
description_pl : Oficjalna aplikacja ProtonVPN na Windows
description_de : Offizielle ProtonVPN Windows-Anwendung
description_es : Aplicación oficial de ProtonVPN para Windows
description_pt : Aplicação oficial da ProtonVPN para Windows
description_it : Applicazione ufficiale ProtonVPN per Windows
description_nl : Officiële Windows-app van ProtonVPN
description_ru : Официальное приложение ProtonVPN для Windows
audit_schedule :
editor :
keywords :
licence : opensource_free,wapt_public
homepage : https://protonvpn.com/
package_uuid : 0a972057-07b2-46df-993d-381f3298834f
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : 607ec93d3b82c0a6920d6f158b4423732570e49e710d3d2814c675c463ba8014
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-07-09T09:00:19.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 : ITHLQstqnR3UQuEUz6lvTW2L1txtC8IpK+7NayDJ6JCme5i2PLuJiQmMSFU2N1i8lccw7EgTLHazuAAi140doMMhq/qZUaAvgBTkwoBJcNwPXVIoBNoHFa8bQ1OfzSzcv+EaDvKw4wT3h3lb8k4ThI5PVGY2FepbBNVkT9FUxeax+EZ1PfyledQuxyl+4SBef93ROYQdA9LBWi2nFVvQU5czWMnERsZgD8BUtdUWn04GpPiEu836bMq2Cgi53RcoF53GZfiTBOrgODK4S/XWpWG1pxWubNuUeAkhWiScXSX+ibgONKmxKC3WJgXxxnvTJ5itRvxQ5rEOdSeVoGaOig==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
# Declaring local variables
bin_name = glob.glob('ProtonVPN_*.exe')[0]
uninstall_older_version()
# Installing the software
install_exe_if_needed(bin_name,
silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /ALLUSERS /FORCECLOSEAPPLICATIONS',
key='Proton VPN_is1',
min_version=control.get_software_version(),
)
def uninstall_older_version():
killalltasks(ensure_list(control.impacted_process))
for soft in installed_softwares('Proton VPN_is1'):
uninstall_key = soft['key']
if Version(soft['version']) < Version(control.get_software_version()):
run(uninstall_cmd(uninstall_key))
wait_uninstallkey_absent(uninstall_key)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import waptlicences
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
git_repo = "ProtonVPN/win-app"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
os_dict = { 'windows-x64': 'x64.exe' }
os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = wgets(url_api, proxies=proxies, as_json=True)
for download in json_load["assets"]:
if download["name"].endswith(os_dict[os_type]) :
download_url = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
latest_bin = download["name"]
latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
break
# Downloading latest binaries
print(f"Latest {app_name} version is: {version}")
print(f"Download URL is: {download_url}")
if not isfile(latest_bin):
print(f"Downloading: {latest_bin}")
wget(download_url, latest_bin, proxies=proxies)
else:
print(f"Binary is present: {latest_bin}")
expected_issuer = "Proton AG"
sign_name = waptlicences.check_msi_signature(latest_bin)[0]
if sign_name != expected_issuer:
error(f'Bad issuer {sign_name} != {expected_issuer} ')
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
package_updated = True
else:
print(f"Software version up-to-date ({Version(version)})")
for f in glob.glob(f'*.{latest_bin_extension}'):
if f != latest_bin:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
return package_updated
297edcc81aec28324f45e2587d6dade9bf16a02f8c939ed4f45ca8e43ad35ada : ProtonVPN_v4.2.0_x64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
b94c01b4c6f05fd01197de75fdd9563a98e4bd781bde4e9f8f92e325d649d9c8 : WAPT/control
607ec93d3b82c0a6920d6f158b4423732570e49e710d3d2814c675c463ba8014 : WAPT/icon.png
27902ce37187c19d330e9140eca1d196dfd2e4b98d9b4e06a57bcffc73ab249c : luti.json
b95082f3fe16e3ba9cff432d23704340870cf9eacb8d55a9c530874afd97b614 : setup.py
19fc49e049c06d731df409c69bb8dbfa010b6d9d51275505d849b58a5bc5616c : update_package.py