tis-veracrypt

1.26.20-2
VeraCrypt est un utilitaire libre et gratuit pour le chiffrement à la volée (OTFE)
2807 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal
tis-veracrypt icon
  • package : tis-veracrypt
  • name : VeraCrypt
  • version : 1.26.20-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 : debian-bookworm
  • impacted_process : VeraCrypt
  • architecture : x64
  • signature_date : 2025-02-10 13:15
  • size : 9.63 Mo
  • installed_size : 44.13 Mo
  • homepage : https://www.veracrypt.fr/en/Home.html
package           : tis-veracrypt
version           : 1.26.20-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         : debian-bookworm
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      : 46926730-9caf-497f-829e-049228d6790c
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-02-10T13:15:57.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         : pX3LW/b/Sm1TbIzPC+XbQTaSmiW23aX6BJOOu+RgBreYX/CjhRB4PRALqOQTCpFRCbgAkx3jaxidKcgjQXGBGRtqPf5kpod8Qv93cymArkOhxlouNmUgTdP6VGYaNRd8r7iSqAyqg+Lg47n6mL2aMdeCNz9xFr9CyijhuD3lsLBu2Oq97yT/bq2WFLEmo2V8x2pIRHJTq55BpEw1WJkS98RkWzvVbIIERGpTs9tqjoF/wByNye1e0vdr0qup2fEXhI5+bE9Dx6PUcHlg2sN3cdT102vGjsLjmZ5uyOAthu6V1Af6N/rSIOExBvmn5YsSiUwnXUzMirKMLxr5dphEog==
# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("veracrypt-*-Debian-12-amd64.deb")[0]

    install_deb(bin_name)

def uninstall():
    uninstall_apt("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
5a753755cd8146febda200a11363f8e0b2d3fcf384564e760d2607d22df051f8 : WAPT/control
3efa1d2410d693f6c3ef1aec3342a4ae1b0216cd7821f77079bfa8027baaab70 : WAPT/icon.png
d34612b99d90529072e1775b73884cb9124cfff94f78564af3208639732d5340 : luti.json
3904202b3e9ac1a7ad5102ea6608bdacd677db8537ffb439abd12da683d15123 : setup.py
f4761c498eb7d8eb40d374ed6bf9caeb86ce68c99f62a59a3897bfc44022f6ec : update_package.py
182f9f20af2247215cd601450068d349087205597ca0901f5e7f22c760fc89e0 : veracrypt-1.26.20-Debian-12-amd64.deb