tis-openvpn-connect icon

OpenVPN Connect

Silent install package for OpenVPN Connect

3.7.3-3

  • package: tis-openvpn-connect
  • name: OpenVPN Connect
  • version: 3.7.3-3
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: OpenVPN 3 is distributed under GNU Affero General Public License version 3 with a special permission to link against OpenSSL
  • target_os: windows
  • impacted_process: OpenVPNConnect
  • architecture: x86
  • signature_date:
  • size: 91.96 Mo
  • installed_size: 314.46 Mo
  • homepage : https://openvpn.net/
  • conflicts :

package           : tis-openvpn-connect
version           : 3.7.3-3
architecture      : x86
section           : base
priority          : optional
name              : OpenVPN Connect
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : OpenVPN Connect is a free and full-featured VPN Client
depends           : 
conflicts         : tis-openvpn
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 314462208
impacted_process  : OpenVPNConnect
description_fr    : OpenVPN Connect est un client VPN gratuit et complet
description_pl    : OpenVPN Connect to darmowy i w pełni funkcjonalny klient VPN
description_de    : OpenVPN Connect ist ein kostenloser und voll funktionsfähiger VPN-Client
description_es    : OpenVPN Connect es un cliente VPN completo y gratuito
description_pt    : O OpenVPN Connect é um cliente VPN gratuito e com todas as funcionalidades
description_it    : OpenVPN Connect è un client VPN gratuito e completo
description_nl    : OpenVPN Connect is een gratis en volledige VPN-client
description_ru    : OpenVPN Connect - бесплатный и полнофункциональный VPN-клиент
audit_schedule    : 
editor            : 
keywords          : 
licence           : OpenVPN 3 is distributed under GNU Affero General Public License version 3 with a special permission to link against OpenSSL
homepage          : https://openvpn.net/
package_uuid      : dca64ec1-f3ac-44c9-b9d9-510058053c97
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 6a972bef440796530e09d50762042dd9846b0acc6f85f75f9e41346fb43a53bc
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-23T18:01:41.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         : UZJ/nESiP0KYtOzPHKVNXCBG/RvNya93Nv4GufdSRQT0C/Kv0XQT3rd88XKLcfp9vKxyleSBtReZ7rQv+2fUwahMj2qVDGWhfte8KPesmnYVeT4poqVshTHbHvsuyUcTyxmPlSO1rqU9YlerPH4GexMXHrVh4GYnS2t3NrynVzwL+vX0BJt04S6KylIw5hlDo3jUNTEWHFUhls5ARyebfReTO5E5AZcUkfulbar/zSweUReN8bX8Dd9kfp7hKoU5wIPZ/9SPxPEBPHxyq3k5z8wnWcsAUXBRhuOmjhmblokJwaJzML7hovFASye4MJv3F73kwap6doJoqmVy8hBxTQ==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('openvpn-connect-*.msi')[0]

    # Installing the software
    install_msi_if_needed(
        bin_name,
        name="OpenVPN Connect",
        min_version=control.get_software_version()
    )

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import requests
import waptlicences

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    version_url = "https://openvpn.net/connect-docs/windows-release-notes.html"

    for bs_search in bs_find_all(version_url, "span", "style", "white-space: pre;"):
        if bs_search.get_text().split(" ")[-1].endswith("x86.msi"):
            latest_bin = bs_search.get_text().split(" ")[-1]
            short_version = latest_bin.rsplit("-")[-1].split(".")[0]

    download_url = f"https://packages.openvpn.net/connect/v{short_version}/{latest_bin}"

    latest_bin_extension = latest_bin.rsplit('.', 1)[-1]

    # Downloading latest binaries
    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}")

    # Obtenir la version à partir du binaire
    version = get_version_from_binary(latest_bin)

    expected_issuer = "OpenVPN Inc."
    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

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
88a8cc9638160b10eea23915acba2b786f5c90d2863901a953affda0c765ab99 : WAPT/control
6a972bef440796530e09d50762042dd9846b0acc6f85f75f9e41346fb43a53bc : WAPT/icon.png
0f7dfcacef01dde96f36568f6db5d99af25e70973a3c5fa35beeb85919d3c517 : luti.json
030e70c37c0240bfcced09b9b66879eac5c30ce93e7b1567211080751daca2a3 : openvpn-connect-3.7.3.4351_signed_x86.msi
78f80a128d979549ca53e1ddab3a877a94263f41610fb298a9728c9bba193e4c : setup.py
bbbbd2abc99bd3ab3af5b8a4e14350206ce55ff1192266b047553c39af569d49 : update_package.py