tis-trusted-key-manager icon

Trusted Key Manager

Silent install package for Trusted Key Manager

1.7.3-0

  • package: tis-trusted-key-manager
  • name: Trusted Key Manager
  • version: 1.7.3-0
  • categories: Security
  • maintainer: WAPT Team,Tranquil IT,Clément BAZIRET
  • editor: Certeurope
  • licence: proprietary_free,wapt_private
  • locale: all
  • target_os: windows
  • impacted_process: Trusted Key Manager
  • architecture: x86
  • signature_date:
  • size: 101.83 Mo
  • installed_size: 230.64 Mo
  • homepage : https://support.certeurope.fr/

package           : tis-trusted-key-manager
version           : 1.7.3-0
architecture      : x86
section           : base
priority          : optional
name              : Trusted Key Manager
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Clément BAZIRET
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    : 230641494
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_private
homepage          : https://support.certeurope.fr/
package_uuid      : 82912f43-2243-4ad6-81d2-26291d4ff862
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 9097e2431f9a5cb586bc0429f3f341423d4207cfc6ae422708ac369cae6cd492
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : gY84uDMj4Bs1iYdkEbaLNthN6rK8eIA8LlEzeYaAp/8aI2Xo7ZB0bt72gydLSUwEbGqpKp6boc/jiWKyIMEF72J32+NAk8DK+8+hQMSfwwTBy3na9+BDD+iuqBpOEIOuoRzDsoR9BG78kCaNaOKNB65tzzDT4MVDFFXttR8HyYfXmFpAhz/ReyHTzH86RiDt5tcYC1pds9zRBB6PoP+1nkJAoZGzQsNAlxG7Gj6KwEuaiGBBAp3GIGxkaIewoemnWzje+Qs3nUqvMWfplPY9Oyt1+JYG4h3/RJCByCUUFljV2+5jpCqxNDoiJc1br1k/3SAKgxg/32jh5xgA3m8Wnw==
signature_date    : 2023-10-25T09:00:21.540221
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

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


def install():
    bin_name = glob.glob("TrustedKeyManager32.msi")[0]
    properties = {
        "APPLICATIONFOLDER": '"%s"' % makepath(programfiles, "Trusted Key Manager"),
    }

    install_msi_if_needed(
        bin_name,
        properties=properties,
        timeout=600,
    )

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    download_dict = {
        "windows-x64": "https://www.certeurope.fr/fichiers/certeurope/tkm/TrustedKeyManager64.msi",
        "windows-x86": "https://www.certeurope.fr/fichiers/certeurope/tkm/TrustedKeyManager32.msi",
    }
    download_url = download_dict[control.target_os + "-" + ensure_list(control.architecture)[0]]
    latest_bin = download_url.split("/")[-1]

    url = "https://support.certeurope.fr/installer-tkm/"
    tag_contains = download_url.split("TrustedKeyManager")[1].split(".msi")[0]
    for bs_search in bs_find_all(url, "tr", "class"):
        if tag_contains in bs_search.text:
            version = bs_search.contents[3].text
            break

    # Deleting binaries
    remove_outdated_binaries("*")

    # Downloading latest binaries
    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)

    # 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("INFO: Binary file version corresponds to online version")
        else:
            error("ERROR: Binary file version do NOT corresponds to online 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 update-package-sources
    return package_updated

a5558af9d574cca4709f5a6f207ff201656fd88dfafb6adb0a25bed844ac116a : setup.py
0a71db668101dbfbb6eb38095b4e4f6757a45ca9c2d2620d7f10140ff3778305 : update_package.py
9097e2431f9a5cb586bc0429f3f341423d4207cfc6ae422708ac369cae6cd492 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
8f1c888b558976640b7c9812574984a00943cfd3e5078ad566e14b46542faf97 : luti.json
8417ce4b1e0f1df262a3c924a4434aa462d4d65f43a83fcba87eb1f3caa34ea6 : TrustedKeyManager32.msi
ec33ee6e23849580f4c8d7ffed524931fabb6507f460545748f390653aa2a484 : WAPT/control