tis-trusted-key-manager icon

Trusted Key Manager

Silent install package for Trusted Key Manager

2.3.2-1
Security
Security

  • package: tis-trusted-key-manager
  • name: Trusted Key Manager
  • version: 2.3.2-1
  • categories: Security
  • maintainer: WAPT Team,Tranquil IT,Clément BAZIRET,Jimmy PELÉ
  • editor: Certeurope
  • licence: proprietary_free,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: Trusted Key Manager
  • architecture: x64
  • signature_date:
  • size: 137.10 Mo
  • installed_size: 279.87 Mo
  • homepage : https://support.certeurope.fr/

package           : tis-trusted-key-manager
version           : 2.3.2-1
architecture      : x64
section           : base
priority          : optional
name              : Trusted Key Manager
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Clément BAZIRET,Jimmy PELÉ
description       : Electronic Certificate creator software made by Certeurope
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://support.certeurope.fr/installer-tkm/
installed_size    : 279873807
impacted_process  : Trusted Key Manager
description_fr    : Logiciel de création de certificats électroniques réalisé par Certeurope
description_pl    : Oprogramowanie do tworzenia certyfikatów elektronicznych firmy Certeurope
description_de    : Software zur Erstellung elektronischer Zertifikate von Certeurope
description_es    : Programa de creación de certificados electrónicos de Certeurope
description_pt    : Software de criação de certificados electrónicos fabricado por Certeurope
description_it    : Software per la creazione di certificati elettronici prodotto da Certeurope
description_nl    : Software voor het maken van elektronische certificaten gemaakt door Certeurope
description_ru    : Программа для создания электронных сертификатов, разработанная компанией Certeurope
audit_schedule    : 
editor            : Certeurope
keywords          : electronic,certificate,creator,software,certeurope
licence           : proprietary_free,wapt_public
homepage          : https://support.certeurope.fr/
package_uuid      : 53faad56-3a51-4bda-83d2-8853a1a56aab
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : ff8b2b25b088e5ea64e2ff5f4b5616660ae093558f0b3ae058e3d5cfd2503181
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-01-20T14:00:31.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         : wohR0RGHr1/nMuiZohLhNewTAEXNGDe/E+cmqi7Cuqh9yCW+zFeIwUSmLg7sFIY4QkpzcbzobE6yLyDUs7/01RWSSPGU1D3HOKitD+uNHJ5DtvMpsZ/EatiX3yKWy1vEOpUniMfSej8HlzDqr4ZYIXW5/3W8YmuSBnzDeCv1oLum2/NX/YxqlMbxrWTvL5SBxhiJiDEV8W1ZEU6+zYBOw68/T52W8rdvR1CbKmBWhtJ1+2T1KHxTlohOS8Lu6gc3B5vDUBvESGdcAeJ/W86vsOYtL5/x07z0GTI8GDHD+cc7S/HD0q9LD9vjiVVJtKmAx3lez0VIq+hln/QONtdisg==

from setuphelpers import *

def install():
    # Configuration
    os_extensions = {"windows": ".exe", "mac": ".dmg"}
    app_name = 'Trusted_Key_Manager'

    # Récupération des chemins
    os_suffix = os_extensions[control.target_os]
    exe_name = glob.glob(f'{app_name}_*{os_suffix}')[0]
    path_app = makepath(programfiles, app_name)

    # Installation
    mkdirs(path_app)
    filecopyto(exe_name, path_app)
    create_desktop_shortcut(app_name, exe_name)
    create_programs_menu_shortcut(app_name, exe_name)
    register_windows_uninstall(control)

def uninstall():
    app_name = 'Trusted_Key_Manager'
    path_app = makepath(programfiles, app_name)

    remove_tree(path_app)
    remove_desktop_shortcut(app_name)
    remove_programs_menu_shortcut(app_name)
    unregister_uninstall(app_name)

def audit():
    app_name = 'Trusted_Key_Manager'
    path_app = makepath(programfiles, app_name)

    if isdir(path_app):
        print('File Found')
        return "OK"
    else:
        print('File not found')
        return "ERROR"

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

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    os_dict = {
            "windows": ".exe",
            "mac": ".dmg",
    }
    os_suffix = os_dict[control.target_os]  # Ex: ".exe", ".dmg"

    url = "https://support.certeurope.fr/telechargements/"
    #Téléchargement de l'exe: "https://www.certeurope.fr/fichiers/certeurope/tkm/Trusted_Key_Manager_2.3.2.exe"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", "href", proxies=proxies):
        if bs_search['href'].endswith(os_suffix):
            download_url = bs_search["href"]
            latest_bin = bs_search["href"].split("/")[-1]
            version = latest_bin.rsplit("_",1)[-1].replace(".exe","")
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)
    # arch_list = ensure_list(control.architecture)
    # remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))

    # # Checking version from file
    # if get_os_name() == "Windows" and "windows" in control.target_os.lower():
    #     version_from_file = get_version_from_binary(latest_bin)
    #     if Version(version_from_file, 4) == Version(version, 4):
    #         print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
    #     else:
    #         error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating or not update-package-sources
    return package_updated

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)

eab2ce4683084b7ac11d1d3550046dd1f41b323efbd657525569a3ac9708500a : Trusted_Key_Manager_2.3.2.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1acf56502ff0e479efe2c5faf9ce22d0e0bd1fc3cf539548210090426293db4e : WAPT/changelog.txt
38c6b67d12bfda530874108dfa3dc41f39b0bc35bd5e5a403eabd95582666ac9 : WAPT/control
ff8b2b25b088e5ea64e2ff5f4b5616660ae093558f0b3ae058e3d5cfd2503181 : WAPT/icon.png
0bf585c8630ccdad5f59855d125cd8322f11195842b43851383f11b328241895 : luti.json
74a607ded62eb65801b26284d89926dd84f31033979f72ebf2f5fbb15282af77 : setup.py
c2285428aed8e445f4d1eb2cc7b506190e7b97e4c5f65e3910b29953b0a576ad : update_package.py

1.8.0-4
===
Migration de MSI vers la version EXE du logiciel comme recommandé par l'éditeur :
WINDOWS 11, 10		1.8.0	Désinstaller les anciennes versions du TKM au besoin