
lastpass
Paquet d’installation silencieuse pour lastpass
4.133.2.811-1
- package: tis-lastpass
- name: lastpass
- version: 4.133.2.811-1
- maintainer: Amel FRADJ
- licence: https://www.lastpass.com/legal-center/terms-of-service/business
- target_os: windows
- architecture: all
- signature_date:
- size: 50.50 Mo
- homepage : https://www.lastpass.com/
package : tis-lastpass
version : 4.133.2.811-1
architecture : all
section : base
priority : optional
name : lastpass
categories :
maintainer : Amel FRADJ
description : Fills in your application's login data for you; lets you stop using the "Remember password" function
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : Remplit les données de connexion de votre application pour vous ; vous permet d'arrêter d'utiliser la fonction « Mémoriser le mot de passe »
description_pl : Wypełnia dane logowania do aplikacji; umożliwia zaprzestanie korzystania z funkcji "Zapamiętaj hasło"
description_de : Füllt die Anmeldedaten Ihrer Anwendung für Sie aus; lässt Sie die Funktion "Passwort speichern" nicht mehr verwenden
description_es : Rellena por ti los datos de acceso a tu aplicación; te permite dejar de utilizar la función "Recordar contraseña"
description_pt : Preenche os dados de início de sessão da sua aplicação; permite-lhe deixar de utilizar a função "Lembrar palavra-passe
description_it : Compila i dati di accesso all'applicazione per l'utente; consente di non utilizzare più la funzione "Ricorda password"
description_nl : Vult de aanmeldingsgegevens van je applicatie voor je in; stelt je in staat om de functie "Wachtwoord onthouden" niet meer te gebruiken
description_ru : Заполняет за вас данные для входа в приложение; позволяет отказаться от использования функции "Запомнить пароль"
audit_schedule :
editor :
keywords :
licence : https://www.lastpass.com/legal-center/terms-of-service/business
homepage : https://www.lastpass.com/
package_uuid : d64ce2c8-8542-4dbc-99f2-0a68e128ba09
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 7e11e87958243a7c43d5ffa192410c62eb97938a0a7ade1a5e092a9b23d03798
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-02-02T14:00:17.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 : DAuXL8xdKQbnr5/RLHesibLoitDGsk/aX7fBrmyLOylt07mr7qx7TpETrXsLqldxB3p6YEPi//09iJTWzMobwNpMGO0MX0dlgZaasxkThXahC7JShPQN03bA81lcnkRyxIYx1+jEIX1pKq1ndYufDPVSADb6ojlXQ4JXUeQcG2pWpmXcePTIbRQioN8ChbbbgYJ37y/ESg9qsSuIoImy8nQGRfmFNdQf68ckUq2HToTS/4YE37jc9pMA0hj7F6bKBhx6OzDgxT76UTPhl8Viy6gwMkKKhfXxWT9qVFUZ2OD6DD+nhU5vMBlSs+O5ICQ/oZ9elYynDYJlIpjurI7YGw==
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
# Installing the software
print("Installing: LastPassInstaller.msi")
install_msi_if_needed('LastPassInstaller.msi')
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
import requests
import os
def get_headers(url, proxies=None):
response = requests.head(url, allow_redirects=True, proxies=proxies)
return response.headers
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
url_base = "https://download.cloud.lastpass.com/windows_installer/LastPassInstaller.msi"
latest_bin = "LastPassInstaller.msi"
headers_file = "last_headers.txt"
# Get current headers from the URL
current_headers = get_headers(url_base, proxies)
current_etag = current_headers.get('ETag')
current_last_modified = current_headers.get('Last-Modified')
# Load previous headers
previous_etag = None
previous_last_modified = None
if os.path.isfile(headers_file):
with open(headers_file, 'r') as f:
previous_etag = f.readline().strip()
previous_last_modified = f.readline().strip()
# Check if there is an update
download_url = url_base
if (current_etag and current_etag != previous_etag) or (current_last_modified and current_last_modified != previous_last_modified):
print("A new version is available. Downloading the latest version.")
package_updated = True
elif not os.path.isfile(latest_bin):
print("File does not exist locally. Downloading the file.")
package_updated = True
else:
print("The current version is up to date. No need to download.")
# Downloading latest binaries if needed
if package_updated:
print(f"Downloading: {latest_bin}")
wget(download_url, latest_bin, proxies=proxies)
# Save the current headers for future comparison
with open(headers_file, 'w') as f:
if current_etag:
f.write(current_etag + '\n')
if current_last_modified:
f.write(current_last_modified + '\n')
# Delete outdated binaries
for f in glob.glob('*.msi'):
if f != latest_bin:
remove_file(f)
# Update the package if there is a new version
version = get_version_from_binary(latest_bin)
control.set_software_version(version)
control.save_control_to_wapt()
9992dad775c33f3282284105202a155de90d3fd42bbe5a46db690b6611a802f0 : LastPassInstaller.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
9bf98d9660c03b88b7875756c95098bc5b0d0af6e721a14b9f9f18c78c4221de : WAPT/control
7e11e87958243a7c43d5ffa192410c62eb97938a0a7ade1a5e092a9b23d03798 : WAPT/icon.png
aa72ab138877fbc63a8cf9bfdaa4ff1f94fb8099495b29f774e98dfff24e680d : last_headers.txt
9283ea7d4ecf5a2c7bc77f9f23dc9ea12b040ecf10a001fd1e6f85a8c1436d15 : luti.json
9f93b967357473afb1c6db3c6d0d1386c715436957499eb51d008e70912fab9b : setup.py
ba82ee350e2309e829b5170c81cc8b2f3bf17c50da84cb19e981eac9512fe91a : update_package.py