tis-veracrypt icon

VeraCrypt

Silent install package for VeraCrypt

1.26.29-2
System and network
System and network

  • package: tis-veracrypt
  • name: VeraCrypt
  • version: 1.26.29-2
  • categories: System and network
  • maintainer: WAPT Team,Tranquil IT,Clément BAZIRET
  • licence: opensource_free,cpe:/a:apache:license_2.0,wapt_private
  • locale: all
  • target_os: almalinux8
  • impacted_process: VeraCrypt
  • architecture: x64
  • signature_date:
  • size: 13.54 Mo
  • installed_size: 44.13 Mo
  • homepage : https://www.veracrypt.fr/en/Home.html

package           : tis-veracrypt
version           : 1.26.29-2
architecture      : x64
section           : base
priority          : optional
name              : VeraCrypt
categories        : System and network
maintainer        : WAPT Team,Tranquil IT,Clément BAZIRET
description       : VeraCrypt is a free and open-source utility for on-the-fly encryption (OTFE)
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : almalinux8
min_wapt_version  : 2.3
sources           : https://www.veracrypt.fr/en/Downloads.html
installed_size    : 44126078
impacted_process  : VeraCrypt
description_fr    : VeraCrypt est un utilitaire libre et gratuit pour le chiffrement à la volée (OTFE)
description_pl    : VeraCrypt to darmowe i otwarte narzędzie do szyfrowania w locie (OTFE)
description_de    : VeraCrypt ist ein kostenloses und quelloffenes Dienstprogramm für fliegende Verschlüsselung (OTFE)
description_es    : VeraCrypt es una utilidad gratuita y de código abierto para el cifrado al vuelo (OTFE)
description_pt    : O VeraCrypt é um utilitário gratuito e de código aberto para encriptação on-the-fly (OTFE)
description_it    : VeraCrypt è un'utility gratuita e open-source per la crittografia al volo (OTFE)
description_nl    : VeraCrypt is een gratis en open-source hulpprogramma voor on-the-fly encryptie (OTFE)
description_ru    : VeraCrypt - это бесплатная утилита с открытым исходным кодом для шифрования "на лету" (OTFE)
audit_schedule    : 
editor            : 
keywords          : veracrypt,free,open,source,utility,encryption
licence           : opensource_free,cpe:/a:apache:license_2.0,wapt_private
homepage          : https://www.veracrypt.fr/en/Home.html
package_uuid      : b50c186c-f0e9-43cb-9bb7-6c11e4efc3bb
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/veracrypt/VeraCrypt/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 3efa1d2410d693f6c3ef1aec3342a4ae1b0216cd7821f77079bfa8027baaab70
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-06-17T09:09:00.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         : mYcdPL7ChE5pRvJ2VEGGH8SNHlH1/iimFbs6UnSO2gOk7IWaBBH0Hf/hwfE7SvQPTRpRuFUaCStA8i20MvMF/CB5gXKmEK829m02tTbxd+h5AXw9KHN/TcW4xpaZHHnu2kb81HD7/Fk8roKMB3z3ULinbeL5fAykgP/5xf6rv/rPHSwbJyeOVBTR3maAmjzLt7N0H1JjFhPBxZ3gnkLOe96iiVBDURVPesktxWOjZrfQHm8++Rz2DR97lAFBJF0VNwKP96aLWwsUtq0poNSSk9fjcS/WHm2GMYL0FfvWjZpGW/XPAT4gMUHf3mM1ngLI3kWvve1SJre34yzhSb+fhg==

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


def install():
    bin_name = glob.glob("veracrypt-*-CentOS-8-x86_64.rpm")[0]

    install_rpm(bin_name)


def uninstall():
    run("rpm -e veracrypt")

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


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

    api_url = "https://api.github.com/repos/veracrypt/VeraCrypt/releases"

    download_dict = {
        "windows-x64": ".msi",
        "mac-all": ".dmg",
        "debian-bookworm-x64": "Debian-12-amd64.deb",
        "almalinux8-x64": "CentOS-8-x86_64.rpm",
    }

    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]

    print("API used is: %s" % api_url)
    releases_dict = wgets(api_url, proxies=proxies, as_json=True)[:5] # Limit to 5 latest release
    valid_releases = [
        release for release in releases_dict
        if not release['prerelease']
        and not any(i in release['name'] for i in ['Windows', 'MacOSX'])
    ]
    latest_release = sorted(valid_releases, key=lambda release: Version(release['tag_name'].split("_")[-1]), reverse=True)[0]

    version = latest_release["tag_name"].split("_")[-1]
    for to_download in latest_release["assets"]:
        
        if to_download["name"].endswith(download_dict[os_type]):
            download_url = to_download["browser_download_url"]
            latest_bin = to_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}")

    # 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
63e796d8ecf7094f16d1c45cf1a5124f017cea3c1dfd9b5567a5a6a54b3122dd : WAPT/control
3efa1d2410d693f6c3ef1aec3342a4ae1b0216cd7821f77079bfa8027baaab70 : WAPT/icon.png
81be881ffe6a1e1443d7431773f919399c8ee1cfea3cb891d6f3d4b1c6ddc23c : luti.json
5ed44447e856a47c325883f4445ce1f475b1fa502fec8c66cefaee2abad90d2a : setup.py
69beb589e3a74fc9c59c2680550ac95fd27b3bb1ff38bd68d8273228347b7732 : update_package.py
b8dec481d3f51fa294d20b992edc2ebda9e8bbfdfd878f9f7e01a4a3aff5f0fe : veracrypt-1.26.29-CentOS-8-x86_64.rpm