vault
Silent install package for vault
1.21.3-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: 1.21.3-1
- categories: Security
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: opensource_free,wapt_public
- target_os: windows
- architecture: x86
- signature_date:
- size: 159.09 Mo
- homepage : https://github.com/anchore/grype
package : tis-vault-portable
version : 1.21.3-1
architecture : x86
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 : 9bcc3ee3-2163-4ced-b9ac-0381609dad38
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-03-04T23:53:42.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 : kDT1LRBMgUYw2b6R5EKCEhONEOWv+9zRHvE/8XCXUw6S6QAnIAL39PXTAWAYugc+fGRXFb5XqCkCkgJsNJlRXNj+cjpizKljWon8clG3K+WqRsVE7T86KVxfr5dZ09/GW3OUIDNL3SzEOqVr1ZMXFmCU6t9FxInVNdBvCXzv295r2BTfPUJUgxoH53yLjXZlCaqEtHw53umYWdMWouvUlTjxaJfpvXC9dS8riPJIrxhV1oy070b9+cIvWLlg1VkmMhr6TM0Ek+keSX9hBLJceb1i+4EIlyLXT54eSmXeVQrLJ1kt8wwewHZMEjYeImnkzWvEYqTKzsOvygcNfteYrQ==
# -*- 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","")
latest_bin = f"vault_{version}_windows_386.zip"
download_url = f"https://releases.hashicorp.com/vault/{version}/" +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
a9aa3949edbc2662bc00a343b7cc0cbfc46ca52094c4b4579628ddeb7edc8fb5 : WAPT/control
6c2331236d699d2abf19b5000dc743dba323941d5a40f572f9f18ba66a623f21 : WAPT/icon.png
d7b32a3b4408383a95cb5b575905a1bf1c2bb458c75e5a285f057b9a53f8fc2b : luti.json
7eacc7efd94e09d7595edca040e03c781b7609abe7700d443ba8f1de3d6fc15c : setup.py
fd7ac1432ac0627d4bdc576cee8c93eeb914a5dbb8d314d3cdf9fc46508eb0d2 : update_package.py
3355de7e36cd5bc2a92828793b49dea9f2193f1eedf8a0fe62099947efd774a0 : vault_1.21.3_windows_386.zip