vault
Silent install package for vault
2.1.1-2
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-2
- categories: Security
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: opensource_free,wapt_public
- target_os: windows
- architecture: x86
- signature_date:
- size: 186.44 Mo
- homepage : https://github.com/anchore/grype
package : tis-vault-portable
version : 2.1.1-2
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 : 49579900-061e-4eba-a84d-c8e09501783f
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10
max_os_version :
icon_sha256sum : 6c2331236d699d2abf19b5000dc743dba323941d5a40f572f9f18ba66a623f21
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-09-18T15:23:11.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 : rVc742pS0TmHHqcsWcbuBvhSGAN/sh3esgCQCfHs3zSwzCuKpC5bze1sY9rf9DH9GCcoCsOvDCTmop4Z7lLI1OWLR4akcmWo2PK3VRLJPFtaS6VEIiouVtMAgfqtNN3obo5bqXgf6uiY6C3Z3B16BVKUk1ibk7IF6dRehqJ5dqE7XZRy+01ZKdklX8k9QOAV6G0UrXRUbfvLdWvaIIWQJKsH3l34F3N3hDxQDvEocq1qNaMAFhC0Z2ohdNQXEbyU7dZM6ogHduSXdkGGB7NIvk0O0o0hmBbYA7oL3Cnp9RIYbEJ+VzzgPv2RBABNAfHWiJsIrObaAgnQJ0MperpLFQ==
# -*- 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_386.zip
latest_bin = f"vault_{version}+ent_windows_386.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
48404945a87110254d8e3d69357a7b0b226a9c9f60506dd98c64a2de90b63a8b : WAPT/control
6c2331236d699d2abf19b5000dc743dba323941d5a40f572f9f18ba66a623f21 : WAPT/icon.png
9707e7a7b5b5fefa54329956936a18f89e4825dbf4e7961ae928f15961cd3bee : luti.json
7eacc7efd94e09d7595edca040e03c781b7609abe7700d443ba8f1de3d6fc15c : setup.py
fcc83f1e2da65109451c67eddec0d176f952203ed84579343d00dae554243a73 : update_package.py
28e160de69c59f233206adbe1a40353850b6b1ef017b8036dbd454922f6106ba : vault_2.1.1+ent_windows_386.zip