tis-gpg4win icon

Gpg4win

Silent install package for Gpg4win

5.0.0-0
Utilities
Security
Utilities
Security

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

package           : tis-gpg4win
version           : 5.0.0-0
architecture      : x64
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      : f75f68d9-d837-47f6-abb3-6064d3f66dd6
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    : 2026-01-20T09:09:16.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         : AzJMEQgW9jBr2JGr4Gm2/dL0/PYF9bYprPURGqHqoIqc29+poi9v+LBW/wP12IdpipV6vuUU2Mp0BUTfUxVTxC+ZBVnHU60/EYEU77jKXtX/KI43/UBb0f8x7as7QYtjBM8TpZ1XK92Tb6RXG9OEn/YXG+t/gONfFP/gdKO31prbNEyeXnjkB/WPGHwXvYR+VivM2TJnIiNURelYJTqvjKVUS7prfLYHdNf7I7Fn0qVIEsdBAdh6ulVg8jSxO3/q9g/GmV+h9dSWHFbyEyZMuKaaftc6PicDkN2IR5VTaRxOIAGY102jCHFz921BlzKxy/LwN3P2iwqjbGUBQo5Wyw==

# -*- 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
b964c75327df76beaadad6ea05e526e084f9ddf12e41562b4e72bd57e1505446 : WAPT/control
3d4b13b56a6b4676cf20a3acacc66f6d37a5e5362da72ab2d5870181e1c2b4fb : WAPT/icon.png
c6246be77fa0d87cb8860fc9de433dfc02b56edaaca368712d5b6267141eeee4 : WAPT/wapt.psproj
73b026d4eae86fe54ee538b73f0311a3cd77aa885343fbda0bffdcac2dfd704f : gpg4win-5.0.0.exe
91e4c24f5380ed57578d19997f1267097f74f2074d407e98365217cd7d13423c : luti.json
c4d8e78ae235dfbac38a85ffb1ec65f6adc92dfbd019b9223f1eb22d12857380 : setup.py
98d9fd46d75ac3de33b4c441a4bf0bfd3b278f8cb92022dab20f0d81eade46f7 : update_package.py