tis-nitrokey-app2 icon

Nitrokey-App

Silent install package for Nitrokey-App

2.5.1.0-1
Security
Security

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-nitrokey-app2
  • name: Nitrokey-App
  • version: 2.5.1.0-1
  • categories: Security
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,cpe:/a:apache:license_2.0,wapt_public
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 60.91 Mo

package           : tis-nitrokey-app2
version           : 2.5.1.0-1
architecture      : x64
section           : base
priority          : optional
name              : Nitrokey-App
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Graphical application to manage and use Nitrokey 3 devices
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Application graphique pour gérer et utiliser les appareils Nitrokey 3
description_pl    : Graficzna aplikacja do zarządzania i korzystania z urządzeń Nitrokey 3
description_de    : Grafische Anwendung zur Verwaltung und Nutzung von Nitrokey 3 Geräten
description_es    : Aplicación gráfica para gestionar y utilizar los dispositivos Nitrokey 3
description_pt    : Aplicação gráfica para gerir e utilizar os dispositivos Nitrokey 3
description_it    : Applicazione grafica per la gestione e l'utilizzo dei dispositivi Nitrokey 3
description_nl    : Grafische toepassing voor het beheren en gebruiken van Nitrokey 3 apparaten
description_ru    : Графическое приложение для управления и использования устройств Nitrokey 3
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,cpe:/a:apache:license_2.0,wapt_public
homepage          : 
package_uuid      : 4df8e182-3cab-4c53-9998-bcd59e3f87c7
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 2ff5145cb24ef98864547032e3f2e7436013b1c25d637e64b6f11d6b408de0bb
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-01-29T13:22:56.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         : PYh4JjZoEkAe9xf8zTBVu4vQRjaWT4FJatzjrsKhADiCgK+df6Od/HFIdfN70bwxiXcQsNxRvkZwNNyNU4rpAm9affm8biveFUa2CgjWDq7Ny59dBng9RLLGd2mEvCT4nYB0TyNoWwaiHpBCHyLvXa1d1pH5CJ4we46N3QKlWn6q9D59rKBOvCfcrSxwcsdSoDbGzg1Gjl6MKP9B1sderpi5YW/y3pjBKRCHfdxOY6oV3lzwTTGnjv3S7A5ejQySoiUoAQb84agAwjvCf4HiNoRNvO9OSZhtngjJpCnw2CJCPYgJQCn3PGPnDUP2OxlkxYekAzZ/0+9YbA92R1wy6w==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name= glob.glob('nitrokey-app-*.msi')[0]
    # Installing the software
    
    install_msi_if_needed(bin_name)



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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()
    
    git_repo = "Nitrokey/nitrokey-app2"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo   
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.msi') :
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v","")
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.msi'):
        if f != filename:
            remove_file(f)

    version =get_version_from_binary(filename)
    control.set_software_version(version)
    control.save_control_to_wapt()

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
406fc16a47f463d6b4582178e85558e2b66a8b302e22344cc258c927fd497c28 : WAPT/control
2ff5145cb24ef98864547032e3f2e7436013b1c25d637e64b6f11d6b408de0bb : WAPT/icon.png
e0d6ae445adb1386d30e59017dcfa56635f5b7df64acc8b7347cadbe8f7235d1 : luti.json
f132e57b960c2dcbed4ef6e83348562fa6ec7f6056d9f377f55249759742618b : nitrokey-app-v2.5.1-x64-windows-installer.msi
386ba16b735a7884a4df3344a9b383d0236978c38f77027cff9330cffec5a3cd : setup.py
8ce7debbda696d00dbf002c62adfdf375c841ccd18b4d01f0c6f2a2e2fc00a48 : update_package.py