tis-nitrokey-app2 icon

Nitrokey-App

Silent install package for Nitrokey-App

2.5.2.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.2.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.92 Mo

package           : tis-nitrokey-app2
version           : 2.5.2.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      : c456c936-7e31-435d-b4cd-66af1cc0a81f
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-30T10:02:34.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         : pZWdk8muBMVdFIiqi6uEjPmriMieYikwjPVHOhPZeSp2erV/Y6R80JfgCU6wOxbWCEHn9uSdJLC6wyal9DTxVx+lgyK4bvIBuY+8EX3dWpNljE8MljYJwbEZNrBNwghxzZcIPv47J/DER5hvvPul6t5GiAhF+5np9CY28se44foFnkdjuNXWLnMH5X3GlsmLAycpbCAM8uoVo+e3A7AOt7IRkZXfI1OAyhdR2oSpuM+SzX5bZ3WpOxrLupoWJRjFxOJsXUGJUro3tVd92/VgNjrrYwtrwK9ohj4jEObg9KUlzc7rvoKVYwz/6Hn8G0I3ekqJIf0GuAAXZmIPe1OBAQ==

# -*- 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
91752aecc3bbee4632b81e442356340a38d185247baa1f3ad967e4936959dcce : WAPT/control
2ff5145cb24ef98864547032e3f2e7436013b1c25d637e64b6f11d6b408de0bb : WAPT/icon.png
fda8b38790322f086cd023104b15a3d39b4dbb72157e29816acb331c0bddeaf6 : luti.json
e951147473c83aaf41a47df2f27299dfbfa6e53771918d405060889e06778471 : nitrokey-app-v2.5.2-x64-windows-installer.msi
386ba16b735a7884a4df3344a9b383d0236978c38f77027cff9330cffec5a3cd : setup.py
8ce7debbda696d00dbf002c62adfdf375c841ccd18b4d01f0c6f2a2e2fc00a48 : update_package.py