tis-verif-cert-secureboot icon

tis-verif-cert-secureboot

Silent install package for tis-verif-cert-secureboot

0-2

  • package: tis-verif-cert-secureboot
  • name: tis-verif-cert-secureboot
  • version: 0-2
  • maintainer: Simon Fonteneau, Kevin Cherel
  • licence: ©
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 6.07 Ko

package           : tis-verif-cert-secureboot
version           : 0-2
architecture      : all
section           : base
priority          : optional
name              : tis-verif-cert-secureboot
categories        : 
maintainer        : Simon Fonteneau, Kevin Cherel
description       : Ce code force l’exécution de la tâche Windows de mise à jour Secure Boot et contrôle que le démarrage sécurisé est activé et que le certificat Windows UEFI CA 2023 est bien présent dans la base UEFI.
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Ce code force l’exécution de la tâche Windows de mise à jour Secure Boot et contrôle que le démarrage sécurisé est activé et que le certificat Windows UEFI CA 2023 est bien présent dans la base UEFI.
description_pl    : Skrypt aktualizuje konfigurację Secure Boot, uruchamia zaplanowane zadanie systemu Windows oraz sprawdza, czy certyfikat Windows UEFI CA 2023 jest obecny w bazie UEFI.
description_de    : Dieses Skript aktualisiert die Secure-Boot-Konfiguration, startet die geplante Windows-Aufgabe und überprüft, ob das Zertifikat Windows UEFI CA 2023 in der UEFI-Datenbank vorhanden ist.
description_es    : Este script actualiza la configuración de Secure Boot, ejecuta la tarea programada de Windows y verifica la presencia del certificado Windows UEFI CA 2023 en la base de datos UEFI.
description_pt    : Este script atualiza a configuração do Secure Boot, executa a tarefa agendada do Windows e verifica a presença do certificado Windows UEFI CA 2023 na base de dados UEFI.
description_it    : Questo script aggiorna la configurazione di Secure Boot, esegue l’attività pianificata di Windows e verifica la presenza del certificato Windows UEFI CA 2023 nel database UEFI.
description_nl    : Dit script werkt de Secure Boot-configuratie bij, voert de geplande Windows-taak uit en controleert of het certificaat Windows UEFI CA 2023 aanwezig is in de UEFI-database.
description_ru    : Этот скрипт обновляет конфигурацию Secure Boot, запускает запланированную задачу Windows и проверяет наличие сертификата Windows UEFI CA 2023 в базе данных UEFI.
audit_schedule    : 
editor            : 
keywords          : 
licence           : ©
homepage          : 
package_uuid      : 7f55196a-4c4b-4494-bed2-b9c3ae305dc6
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0.22000
max_os_version    : 
icon_sha256sum    : 03c0491e556f63f98f6ca32ec6beb1894fac54fb804d53e6086e4a26c0ac7491
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-02-12T16:00:25.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         : Vo73TmL89cTGRvpgZGbdMMtV+kSSxTth6GveFx6kqZ8kyj2TXs3j9Bj728I7Yun12aw40P2TsXPnEbZbiyhWFlzl4/eEtc1algeYVD4Fe/Ci7GAiuss+pCmtHu/VoZr0xuptiRocw8uPynnGPHPVpXytcxEtjLTTGDafRV5pCSY+BhDidbnCEdqpE4h86DzbQHzyVlr7kqZhjiOCTqZ74502EqT6+xI03z9r9EaiMLo0CIDPaiFkgg1vETbYcu9Fqk6nT1XTIoLBGSI1yHnas2RamNLqOiWAdLuX2W/JMt0BPVk723mkKqatVoazockcMQuc/GC77JkaAktLsQQ7Eg==

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

def install():
    registry_set(HKEY_LOCAL_MACHINE,r'SYSTEM\CurrentControlSet\Control\SecureBoot','AvailableUpdates',64)
    run_task(r'\Microsoft\Windows\PI\Secure-Boot-Update')

def audit():
    if not run_powershell("Confirm-SecureBootUEFI"):
        print("secure boot not enable")
        return "ERROR"
    if run_powershell(r"[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Windows UEFI CA 2023'"):
        return "OK"
    else:
        print('Windows UEFI CA 2023 not found')
        return "ERROR"

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
878251b89208a27cbb21e6c32da222afec1b5cadd1bb1901b5e7633a9010a14f : WAPT/control
03c0491e556f63f98f6ca32ec6beb1894fac54fb804d53e6086e4a26c0ac7491 : WAPT/icon.png
e64c25c7f455235f816a1610c969769c87736e3e33251af4dba1a4126f52cd21 : luti.json
fa6e767db7fda53899b9fa0bb448301295e00c58c38d5777dc5ad7e755057f24 : setup.py