tis-nitrokey-app2 icon

Nitrokey-App

Silent install package for Nitrokey-App

2.7.1.0-1
Security
Security

  • package: tis-nitrokey-app2
  • name: Nitrokey-App
  • version: 2.7.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: 61.44 Mo

package           : tis-nitrokey-app2
version           : 2.7.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          : PROD
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      : f3c2b4fe-7ffd-401b-928b-3d7ac0989d54
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 2ff5145cb24ef98864547032e3f2e7436013b1c25d637e64b6f11d6b408de0bb
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-05-23T16:40:13.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         : yaw4luCbp/cOVaTsgIzw6sv76gk77ys7PFvecGLukxR3t8fFxerPXnbTKD/xxhqdFleHQQl3hDiffrfWxrSKjbMh+mZmB804o7gUkO60PcwAzcFwFvIcvt7BaNJ2ruEGGF/Spmh6hw0reQhhShSNEj/xpoN/5AIIzDueDHzv8OI/3gX9SkywF3NaIWK3zn7pHGX1/vHkqUnmbhf5dnuDKx6NsR+n3el8mb/1cB9xKUOBozKaEUYpnJzA9JQZ3oJFRmc1EaOncsQKsvVrZyRLmACer+XjlxMy/L3RtRBaNSrwoK0D7/QEBM5M3qHog8/7KGH/lwg0x1+2OZf2SeX4kA==

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

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
7f8077c0903ea131956ce86c1d58cb1b6017a3270b597c662440f8df3fb556bc : WAPT/control
2ff5145cb24ef98864547032e3f2e7436013b1c25d637e64b6f11d6b408de0bb : WAPT/icon.png
148b5d48f717b4abe67d21eed0afcc9c7cdeecf56937e51c633d06f17d0d7ef5 : luti.json
660fcbdc45ceb7372cd2e2fd0a537f68966ffeaa649add7e33608e7bd4eece09 : nitrokey-app-v2.7.1-x64-windows-installer.msi
386ba16b735a7884a4df3344a9b383d0236978c38f77027cff9330cffec5a3cd : setup.py
8ce7debbda696d00dbf002c62adfdf375c841ccd18b4d01f0c6f2a2e2fc00a48 : update_package.py