- package: tis-vault-portable
- name: vault
- version: 1.20.0-1
- categories: Security
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ
- licence: opensource_free,wapt_public
- target_os: windows
- architecture: x86
- signature_date:
- size: 162.52 Mo
- homepage : https://github.com/anchore/grype
package : tis-vault-portable
version : 1.20.0-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 : PROD
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 : fe901886-4b26-47fc-88b3-79768f262a2a
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 6c2331236d699d2abf19b5000dc743dba323941d5a40f572f9f18ba66a623f21
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-06-30T15:01:14.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 : jR66g6eByEZsiRoMPnf4zQb8Pf+gRJB/4O+tlBeJX6l9HN495dpAzvXm39TftkdcScMLVHfN8u8xDwPkQbVJnXuNCL1FKoOwsj5Z1EGfzRxOvTZ4po43UmjNaCpR0dL8vUHNXJSL85yC5gEgfJxozi9KHwZDSu1ni2ZJuvd4phvD9eiwEeVruxBSTppeeTGpqSJWRUSwGMd7yVumopNW/ZFxR4liM3WTNsieD0EbdqHjNNb2fSGnhxRoLotRPYAxnkD9tvQl8m6hXLEO0wsV9leDJGcaSXbN2KNHJjA47szYepfw8RYp6jsm4EUtf+Fl37M2AXNE+MQQGQg1WeGUTw==
# -*- 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()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d3097be04c888d2c7f46560b1ad46eb334124cdfa57aa441238e0609e6ae71fd : WAPT/control
6c2331236d699d2abf19b5000dc743dba323941d5a40f572f9f18ba66a623f21 : WAPT/icon.png
64b624deb180670a898ffa37d3a3fbd06791312f3fe2a736644c5742cf056bdc : luti.json
7eacc7efd94e09d7595edca040e03c781b7609abe7700d443ba8f1de3d6fc15c : setup.py
fd7ac1432ac0627d4bdc576cee8c93eeb914a5dbb8d314d3cdf9fc46508eb0d2 : update_package.py
47bafd6fca4159d2c0e723f31e4dc0f29ee73344dd10230253497c35ef3e1400 : vault_1.20.0_windows_386.zip