tis-gpg4win icon

Gpg4win

Silent install package for Gpg4win

4.4.0-0

  • package: tis-gpg4win
  • name: Gpg4win
  • version: 4.4.0-0
  • categories: Utilities,Security
  • maintainer: Simon Fonteneau
  • locale: all
  • target_os: windows
  • impacted_process: kleopatra.exe
  • architecture: all
  • signature_date:
  • size: 35.88 Mo

package           : tis-gpg4win
version           : 4.4.0-0
architecture      : all
section           : base
priority          : optional
name              : Gpg4win
categories        : Utilities,Security
maintainer        : Simon Fonteneau
description       : Gpg4win is a file and e-mail encryption software running on Microsoft Windows. It uses GNU Privacy Guard's asymmetric encryption system to encrypt and sign.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : 
installed_size    : 
impacted_process  : kleopatra.exe
description_fr    : Gpg4win est un logiciel de cryptage de fichiers et de courriers électroniques fonctionnant sous Microsoft Windows. Il utilise le système de chiffrement asymétrique de GNU Privacy Guard pour chiffrer et signer
description_pl    : Gpg4win to program do szyfrowania plików i poczty elektronicznej działający w systemie Microsoft Windows. Do szyfrowania i podpisywania wykorzystuje system asymetrycznego szyfrowania GNU Privacy Guard
description_de    : Gpg4win ist eine Datei- und E-Mail-Verschlüsselungssoftware, die unter Microsoft Windows läuft. Es verwendet das asymmetrische Verschlüsselungssystem von GNU Privacy Guard zum Verschlüsseln und Signieren
description_es    : Gpg4win es un software de encriptación de archivos y correo electrónico que funciona en Microsoft Windows. Utiliza el sistema de cifrado asimétrico de GNU Privacy Guard para cifrar y firmar
description_pt    : Gpg4win é um software de encriptação de ficheiros e correio electrónico que corre no Microsoft Windows. Utiliza o sistema de encriptação assimétrica do GNU Privacy Guard para encriptar e assinar
description_it    : Gpg4win è un software di crittografia dei file e della posta elettronica che funziona su Microsoft Windows. Utilizza il sistema di crittografia asimmetrica di GNU Privacy Guard per crittografare e firmare
description_nl    : Gpg4win is een versleutelingsprogramma voor bestanden en e-mail dat draait op Microsoft Windows. Het gebruikt GNU Privacy Guard's asymmetrisch versleutelingssysteem om te versleutelen en te ondertekenen
description_ru    : Gpg4win - это программа для шифрования файлов и электронной почты, работающая под Microsoft Windows. Она использует асимметричную систему шифрования GNU Privacy Guard для шифрования и подписи
audit_schedule    : 
editor            : 
keywords          : gpg4win,email,encrypt,sign
licence           : 
homepage          : 
package_uuid      : 67c1da56-7bd4-4d8b-87f0-b6f4250e5f7e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 3d4b13b56a6b4676cf20a3acacc66f6d37a5e5362da72ab2d5870181e1c2b4fb
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-12-03T14:11:28.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         : E4/JGj2RutwNqwxGB0ml9GtyBGvhI5nBGXu0IjgCK8s5hFM8pOJlC2Ttooq86CBfU4FLuh6mSmMegvqiz6AND17TDi24MGQNg8ES1wtFTqkSLLCPefv3XtCW787o3q20M+N11dbYnEYZEQkSUrzOTL4afCRDtY9icwLpLkoQOSMWjoAL8K5ZjlzzRYQqGCsoH9/LBcJz5n9sYUCE7yJAL9PbUrawmVIIk8r8LPuah6/kdfgvcVLMih6Sx9uDjwWophVo1r90HnjZUpdbu2wvgQC12MTkiATb2neqCng4z1XHdjOEp3WF9KEsXXL6Go/buAECTepmKPuCHLg8hCSsDw==

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

def install():
    print("installing Gpg4win")
    versionpaquet = control["version"].split("-", 1)[0]
    install_exe_if_needed("gpg4win-%s.exe" % versionpaquet, "/S", key="Gpg4win", min_version=versionpaquet, killbefore="kleopatra.exe")
    remove_desktop_shortcut("Kleopatra")

    if iswin64():
        add_to_system_path(makepath(install_location("Gpg4win"), "Gpg4win", "bin_64"))


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



def update_package():
    proxies = {}
    if isfile(makepath(application_data(), "waptconsole", "waptconsole.ini")):
        proxywapt = inifile_readstring(makepath(user_local_appdata(), "waptconsole", "waptconsole.ini"), "global", "http_proxy")
        if proxywapt:
            proxies = {"http": proxywapt, "https": proxywapt}

    lastversion = wgets("https://www.gpg4win.org/thanks-for-download.html", proxies=proxies).split("gpg4win-")[1].split(".exe")[0]
    binaryfile = "gpg4win-%s.exe" % lastversion

    for exe in glob.glob("*.exe"):
        if exe != binaryfile:
            remove_file(exe)

    if not isfile(binaryfile):
        wget("https://files.gpg4win.org/" + binaryfile, binaryfile, proxies=proxies)

    os.chdir(os.path.dirname(__file__))
    from waptpackage import PackageEntry

    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())

    pe.version = lastversion + "-0"
    pe.save_control_to_wapt(os.getcwd())

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
82436675b35fa0ba0a813ed91517fe48075fef688ef76d045aa4e37dfaca344f : WAPT/control
3d4b13b56a6b4676cf20a3acacc66f6d37a5e5362da72ab2d5870181e1c2b4fb : WAPT/icon.png
c6246be77fa0d87cb8860fc9de433dfc02b56edaaca368712d5b6267141eeee4 : WAPT/wapt.psproj
765673854c1503602b09c97bfa6c72b534e2414185fb2f23a0ce19cf8cecd891 : gpg4win-4.4.0.exe
9f76459770fe1a4b2f4cb84467c54e71ffd865714a023dc2cd1fb2af4541134a : luti.json
c4d8e78ae235dfbac38a85ffb1ec65f6adc92dfbd019b9223f1eb22d12857380 : setup.py
98d9fd46d75ac3de33b4c441a4bf0bfd3b278f8cb92022dab20f0d81eade46f7 : update_package.py