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É,Kevin CHEREL
  • editor: Certeurope
  • licence: proprietary_free,wapt_public
  • locale: all
  • target_os: mac
  • impacted_process: Trusted Key Manager
  • architecture: all
  • signature_date:
  • size: 114.65 Mo
  • installed_size: 279.87 Mo
  • homepage : https://support.certeurope.fr/

package           : tis-trusted-key-manager
version           : 2.3.2-1
architecture      : all
section           : base
priority          : optional
name              : Trusted Key Manager
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Clément BAZIRET,Jimmy PELÉ,Kevin CHEREL
description       : Electronic Certificate creator software made by Certeurope
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : mac
min_wapt_version  : 2.3
sources           : https://support.certeurope.fr/telechargements/
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      : 61f19ddd-2803-4f60-911e-79b8f01826c2
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:04:33.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         : sIH9b8WmtoJ5gtrvaRGvcer9lA//o/HWW/FECgldPH98Vjfh1iKwtrMbcm8uWxMxNyL9kU68QtCHoAzVhLOvqrkbPKiUDAXAkWVEo8Mz156EZh9s7OtVIPc/ZBn2gDiXD57Fh4An8dVHnUKM9YF3hJQZ6CixhWhLjCHC8XxTOQwzk5SxvdIkA6TbdYRfuZAafHf2ZCs4o+/bCIKDup8rNW3cRi6m9SefV24Otgq/Rcw+bVYr6Cwu6fAxWTxBhis0U2n30ICEfSa+xtbcbudEZnOZGWLEH5PnLKZueUGGsxw5a/mVafigQGfgIRtTF+xRfd0ggoSw80P/wz9O7Nh8Iw==

# -*- coding: utf-8 -*-

from setuphelpers import *

def install():
    install_dmg(glob.glob("Trusted_Key_Manager*.dmg")[0])

def uninstall():
    uninstall_app("Trusted key manager.app")

# -*- 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"

    version = None

    for bs_search in bs_find_all(url, "a", "href", proxies=proxies):
        href = bs_search["href"]
        latest_bin = os.path.basename(href)
        if latest_bin.startswith("Trusted_Key_Manager") and latest_bin.endswith(os_suffix):
            download_url = href
            version = latest_bin.rsplit("_", 1)[-1].replace(os_suffix, "")
            break

    if version is not None:
        print("Latest %s version is: %s" % (control.name, version))
    else:
        print("Aucune version trouvée pour %s" % control.name)


    # 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)

2bc4c01284aad656d5b2aef9da685d8993990863414ae8429f13259e44f86366 : Trusted_Key_Manager_2.3.2.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1acf56502ff0e479efe2c5faf9ce22d0e0bd1fc3cf539548210090426293db4e : WAPT/changelog.txt
e7533dc36791214b368509d3aadb1bd522d20358353c81d053529a1d1efaf4f5 : WAPT/control
ff8b2b25b088e5ea64e2ff5f4b5616660ae093558f0b3ae058e3d5cfd2503181 : WAPT/icon.png
06cfed4e4b4769edf6a1a3cb0025486d21cec1637526eb83ca0531e6075360aa : luti.json
1e8d4aeeb404493146e8bead25ff891586947cb723b966a337b6174e6235607f : setup.py
b6c685c9f1081ae36a6663c65d0ec5dd89eb53522afab9300ae7c93d5e686259 : 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