tis-cryptolib-cps icon

CryptolibCPS

Silent install package for CryptolibCPS

5.2.6-1
Utilities
Utilities

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-cryptolib-cps
  • name: CryptolibCPS
  • version: 5.2.6-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Joffrey Le Piquet
  • editor: Agence du Numérique en Santé
  • licence: proprietary_free,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: Screenpresso,ScreenpressoBrowserNative,ScreenpressoRpc
  • architecture: all
  • signature_date:
  • size: 15.00 Mo
  • homepage : https://esante.gouv.fr/services/espace-cps/telechargements-libres/cryptolib-cps-windows

package           : tis-cryptolib-cps
version           : 5.2.6-1
architecture      : all
section           : base
priority          : optional
name              : CryptolibCPS
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Joffrey Le Piquet
description       : 
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : windows
min_wapt_version  : 2.4-
sources           : https://esante.gouv.fr/services/espace-cps/telechargements-libres/cryptolib-cps-windows
installed_size    : 
impacted_process  : Screenpresso,ScreenpressoBrowserNative,ScreenpressoRpc
description_fr    : La « Cryptolib CPS » est un logiciel qui permet l’interfaçage entre des applications informatiques et la carte CPS.
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : Agence du Numérique en Santé
keywords          : CPS,cryptolib
licence           : proprietary_free,wapt_public
homepage          : https://esante.gouv.fr/services/espace-cps/telechargements-libres/cryptolib-cps-windows
package_uuid      : 9a591a8a-4830-47c4-8151-d4ccb6df422f
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : d26339243e0a087180e376cd5f8e082d814826d5f250d32883335c4227ad8e1c
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-03-10T14:33:48.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         : Oph6g/M99VRbWwRsa2V/tNoilVdlgK+0VBZz65qYnYmf905wZX7nwBvZAriUK6XZaohItFCcQ/zSAQAIbCG0MB2lxgR365LSnEcYoolOB8384bHSnF8AHTQaopXe0/uOyBvNzmtUqonu6vF5ePtiM0sSuYGp3/xpYBV8f9m/xlVaGHVHwZioj5b5jPajYhBTzoefsR03MihvlDpRoflKvPw0o826yQ4xWxA0N/m8y5CFQaN8G4sIdoLlN8GxKyqjeodisVLQPUQFPU1gsw5BGNn/6LwZdUJdheQTJ6aF+xWLkTWpuX2VssZDiR1f/VR7Zfcn3r2AyVpbiS6T1glZ3w==

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

def install():
    bin_name = glob.glob("cryptolibcps-*.exe")[0]

    install_exe_if_needed(
        bin_name,
        name="^Composants Cryptographiques CPS",
        silentflags='/qn',
        min_version=control.get_software_version(),
        )

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

    url = "https://esante.gouv.fr/services/espace-cps/telechargements-libres/cryptolib-cps-windows"

    # 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(".exe"):
            download_url = "https://esante.gouv.fr" + bs_search["href"]
            latest_bin = download_url.split("/")[-1]
            version = latest_bin.split("-")[1].split("_")[0].rsplit(".",1)[0]
            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)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.exe'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

939b84ff9512e7181c766441dde421362f93c67f67717eb93c366d5ac3b55897 : CryptolibCPS-5.2.6.exe
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
9cee655db772e256816da457a0f2b9a4802247445a031dfd95d3ca8db38a41c4 : WAPT/control
d26339243e0a087180e376cd5f8e082d814826d5f250d32883335c4227ad8e1c : WAPT/icon.png
7e1dc9e1655b4a64d7a5091d6c2d4295fbcb4ad7fbaaad51d2f5aaaab2133da1 : luti.json
33bf10f7f3909d756bc820b2aeed8e52f233cde3e50d73b67b0e340711b2f6eb : setup.py
6459832c6ec9fbbea417b0a613fea442d92bb5b1c1468129925c3a34a434ce6a : update_package.py