tis-trusted-key-manager icon

Trusted Key Manager

Silent install package for Trusted Key Manager

1.7.3-1

  • package: tis-trusted-key-manager
  • name: Trusted Key Manager
  • version: 1.7.3-1
  • 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: x64
  • signature_date:
  • size: 103.18 Mo
  • installed_size: 230.64 Mo
  • homepage : https://support.certeurope.fr/

package           : tis-trusted-key-manager
version           : 1.7.3-1
architecture      : x64
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      : c49525ca-ea09-4d24-aa1e-8b089dd3ac2e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : ff8b2b25b088e5ea64e2ff5f4b5616660ae093558f0b3ae058e3d5cfd2503181
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : DR0isZyIUDCDQ5S/ZZWvPiSoQrgKlQmI+GMM+tD5oQB5oF5AC9KZmoLpC9ijfprpAOHXeRBS/oNzVh0j8q+zVmby3G1JooCgyQGwdrF5U/B7HSLvvQc7c07EIY1kkvtNOmRR7JNBNvHN7dsK+1yqRmqJPqPmDRQFY1aODyOIGeWNmnFIT2EJQ9MqDbSfm7r3rfzgv6rcP3BZh0zaF6WJZOgwMfsRp0zTn/P+/i0ZMGL3v5zYgxgi438c1712cmtFmV8GS5qOKPrrJZ3x3BUw8LZF+lNhjd0YVTtCQ/69gA91fBBRJtNnv8yXJbTo0zP4AoyVZ3fxera+m2rpnMlU7A==
signature_date    : 2023-10-30T12:01:54.808542
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("TrustedKeyManager64.msi")[0]
    app_dir = makepath(programfiles, "Trusted Key Manager")
    properties = {
        "APPLICATIONFOLDER": '"%s"' % app_dir,
    }

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

    print("Creating software shortcuts")
    binary_path = makepath(programfiles, "Trusted Key Manager", "Trusted Key Manager.exe")
    create_desktop_shortcut(control.name, target=binary_path)
    create_programs_menu_shortcut(control.name, target=binary_path)

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

a89f62905169c6b709e2d767bdf1dfec3f8dcc4ed2f52a10fec1c60ea78ddaf3 : setup.py
0a71db668101dbfbb6eb38095b4e4f6757a45ca9c2d2620d7f10140ff3778305 : update_package.py
ff8b2b25b088e5ea64e2ff5f4b5616660ae093558f0b3ae058e3d5cfd2503181 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
cbd2e7041d0453ef3d2e10e7bcb4fbed10c2c3c78552b941c38a87c78873248f : luti.json
79fbec5b7c1472efad734808bce809d729a76170c39bc3853e92673cd547f47e : TrustedKeyManager64.msi
bb2eb19dc8ed68e4148e274cbf98482ad3bd5df976c97cbc71e54d82fe50edae : WAPT/control