tis-veracrypt

1.26.24-2
VeraCrypt is a free and open-source utility for on-the-fly encryption (OTFE)
2807 downloads
Download
See build result See VirusTotal scan
tis-veracrypt icon
  • package : tis-veracrypt
  • name : VeraCrypt
  • version : 1.26.24-2
  • categories : System and network
  • maintainer : WAPT Team,Tranquil IT,Clément BAZIRET
  • editor :
  • licence : opensource_free,cpe:/a:apache:license_2.0,wapt_private
  • locale : all
  • target_os : centos7
  • impacted_process : VeraCrypt
  • architecture : x64
  • signature_date : 2025-06-05 15:00
  • size : 13.19 Mo
  • installed_size : 44.13 Mo
  • homepage : https://www.veracrypt.fr/en/Home.html
package           : tis-veracrypt
version           : 1.26.24-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         : centos7
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      : 5a3be582-09dc-4039-90fd-d24b19b1de10
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    : 2025-06-05T15:00:13.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         : dZ7Nw9cAOZjbpHCRpm/pnd3pcDyj1X2QmZRAus3nXqpSuiR3bFbfRox0fX2uzprSZjKLEkLMlfGAsJ8vT7ZRhOMwcQEdL61FCc5ZLd4OchbLQsnZ2euDkgpsN/9mXVvNHK73jsaTtOwjf+2HlGPO1XGb/QTs2iRPMzwVr1XyCILOVyj5hGVwtBSgEZapDt+5kyFO8R7CUSk2Zpg4lE9B583SoYSxSq2ZsigCghU26qVdN8z8vmL8xdCkPGtqK60EiIg/izm81IMkQLHGETnocSFhW9erhl4Z9FTGJgyjKwHKg3QwG3Himb9YPlQE5CiQ/2P24NV6MqvFXE+93lgpyQ==
# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("veracrypt-*-CentOS-7-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",
        "centos7-x64": "CentOS-7-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
796a8036b113ceef951d2a71ab7788b6dc2df4079a841ecb3bd85b7b01903458 : WAPT/control
3efa1d2410d693f6c3ef1aec3342a4ae1b0216cd7821f77079bfa8027baaab70 : WAPT/icon.png
329184a831d31d7eb02fd4edd4fdfe0f91934aa830e7c22d44288d2def5f3430 : luti.json
3dcf38a2e9409a80960defa05a15607680adeffa6242dd7ab36885fbbc68eaee : setup.py
f4761c498eb7d8eb40d374ed6bf9caeb86ce68c99f62a59a3897bfc44022f6ec : update_package.py
5c02c6af4ddf684ad9cd5b6906098d25b605f50e1f32791b5505bdae69e09d46 : veracrypt-1.26.24-CentOS-7-x86_64.rpm