vault
Silent install package for vault
2.1.1-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-vault-portable
- name: vault
- version: 2.1.1-1
- categories: Security
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: opensource_free,wapt_public
- target_os: windows
- architecture: x64
- signature_date:
- size: 196.63 Mo
- homepage : https://github.com/anchore/grype
package : tis-vault-portable
version : 2.1.1-1
architecture : x64
section : base
priority : optional
name : vault
categories : Security
maintainer : WAPT Team,Tranquil IT,Amel FRADJ
description : Vault is a tool for secure access to secrets
depends :
conflicts :
maturity : PREPROD
locale :
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process :
description_fr : Vault est un outil permettant d'accéder en toute sécurité aux secrets
description_pl : Vault to narzędzie zapewniające bezpieczny dostęp do sekretów
description_de : Vault ist ein Werkzeug für den sicheren Zugriff auf Geheimnisse
description_es : Vault es una herramienta que te da acceso seguro a los secretos
description_pt : O Vault é uma ferramenta que lhe dá acesso seguro a segredos
description_it : Vault è uno strumento che consente di accedere in modo sicuro ai segreti
description_nl : Vault is een tool waarmee je veilig toegang krijgt tot geheimen
description_ru : Vault - это инструмент для обеспечения безопасного доступа к секретам
audit_schedule :
editor :
keywords :
licence : opensource_free,wapt_public
homepage : https://github.com/anchore/grype
package_uuid : 036fd414-e4cc-4b28-89a1-9b32a4039a75
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 6c2331236d699d2abf19b5000dc743dba323941d5a40f572f9f18ba66a623f21
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-09-18T10:03:59.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 : LRHw0v6yFEpNNfPaGJwOQOt2YTaJm9td1/CZFV0HP4pCGK8CveuIZRXWTjBJS2QBIWMXeiMC7vktr+hDVh5tYhOebgR6SDwnCcImZ9dFTPZi8QmjyIbwKRcbjmcW6UTWr+IXTfloVral26dlQJrmSJFZ+CHorIYm5ECqw4qT/fLJyHvPbs27woPURBzuE94ERP5xTAClxZKG+XA2f2w0Ggusw5l24OB2OfeMwn15zSuEcyrQpoZ72T1fUdv2zdttmIK4yes8WrR01IKwxHlaq+3FpOP+gJ5n2aJU+h/D57WZsjGfKkF+zz9eQ2scVNAm/TqpQuVcD1KButyNFU8J4w==
# -*- coding: utf-8 -*-
from setuphelpers import *
"""
"""
app_name = "vault "
editor_dir = makepath(programfiles, "vault")
app_dir = makepath(editor_dir, "vault")
app_path = makepath(app_dir, "vault.exe")
audit_version = False
def get_installed_version(app_path):
return get_file_properties(app_path).get("FileVersion", "")
def install():
# Declaring local variables
zip_name = glob.glob(f"vault*.zip")[0]
unzipped_dir = "vault"
# Installing software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir) and force:
remove_tree(app_dir)
mkdirs(app_dir)
print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
unzip(zip_name, unzipped_dir)
print('Copy vault to %s' % app_dir)
copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)
add_to_system_path(app_path)
def audit():
# Auditing software
audit_status = "OK"
installed_version = get_installed_version(app_path)
if Version(installed_version) < Version(control.get_software_version()) and audit_version:
print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
audit_status = "WARNING"
elif isdir(app_dir) and not dir_is_empty(app_dir):
print("%s (%s) is installed" % (app_name, installed_version))
audit_status = "OK"
else:
print("%s is not installed" % app_name)
audit_status = "ERROR"
return audit_status
def uninstall():
# Uninstalling software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir):
remove_tree(app_dir)
if dir_is_empty(editor_dir):
remove_tree(editor_dir)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
git_repo = "hashicorp/vault"
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))
version = json_load["tag_name"].replace("v","")
# Add +ent with version 2.0.1 => link https://releases.hashicorp.com/vault/2.0.1+ent/vault_2.0.1+ent_windows_amd64.zip
latest_bin = f"vault_{version}+ent_windows_amd64.zip"
download_url = f"https://releases.hashicorp.com/vault/{version}+ent/" + latest_bin
# Downloading latest binaries
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
package_updated = True
else:
print("Binary is present: %s" % latest_bin)
# Deleting outdated binaries
for f in glob.glob('*.zip'):
if f != latest_bin:
remove_file(f)
# Mettre à jour le package
control.set_software_version(version)
control.save_control_to_wapt()
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
5cd503d167fba9bb1c0ac4e9fbe95b5a3405dff770a593503bd71d3b65d89ffd : WAPT/control
6c2331236d699d2abf19b5000dc743dba323941d5a40f572f9f18ba66a623f21 : WAPT/icon.png
772d274189dab88a6d07376b4575515675e76eec83e64b9063bf53fe2a2187dc : luti.json
7eacc7efd94e09d7595edca040e03c781b7609abe7700d443ba8f1de3d6fc15c : setup.py
36c51457397ba98e4cdfb7cb3cda0af1df728ad13317dcda4c51acbe281f7945 : update_package.py
9e6780fcddb70903f67a55e0bdcc3895dc90b17a308c6a67b4d14d15d2619964 : vault_2.1.1+ent_windows_amd64.zip