tis-bitwarden icon

Bitwarden

Paquet d’installation silencieuse pour Bitwarden

2023.4.0-15

  • package: tis-bitwarden
  • name: Bitwarden
  • version: 2023.4.0-15
  • categories: Security,Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
  • editor: 8bit Solutions LLC
  • licence: AGPL-3.0 (d) and GPL-3.0
  • locale: all
  • target_os: windows
  • impacted_process: Bitwarden
  • architecture: x64
  • signature_date:
  • size: 73.83 Mo
  • installed_size: 214.13 Mo
  • homepage : https://bitwarden.com

package           : tis-bitwarden
version           : 2023.4.0-15
architecture      : x64
section           : base
priority          : optional
name              : Bitwarden
categories        : Security,Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
description       : Bitwarden is a freemium and open source password manager under the AGPL license, which allows you to generate and store passwords in a secure manner. These elements are protected by a single password called "master password"
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://github.com/bitwarden/desktop/releases
installed_size    : 214131817
impacted_process  : Bitwarden
description_fr    : Bitwarden est un gestionnaire de mots de passe freemium et open source sous licence AGPL, qui permet de générer et de conserver des mots de passe de manière sécurisée. Ces éléments sont protégés par un seul et unique mot de passe appelé « mot de passe maître »
description_pl    : Bitwarden to freemium i open source menedżer haseł na licencji AGPL, który pozwala na generowanie i przechowywanie haseł w bezpieczny sposób. Elementy te są chronione przez pojedyncze hasło zwane "hasłem głównym"
description_de    : Bitwarden ist ein Freemium- und Open-Source-Passwortmanager unter der AGPL-Lizenz, mit dem Sie Passwörter auf sichere Weise erzeugen und speichern können. Diese Elemente werden durch ein einziges Passwort geschützt, das "Master-Passwort" genannt wird
description_es    : Bitwarden es un gestor de contraseñas freemium y de código abierto bajo licencia AGPL, que permite generar y almacenar contraseñas de forma segura. Estos elementos están protegidos por una única contraseña llamada "contraseña maestra"
description_pt    : Bitwarden é um gestor de senhas livre e de código aberto sob a licença AGPL, que lhe permite gerar e armazenar senhas de uma forma segura. Estes elementos são protegidos por uma única palavra-passe chamada "master password"
description_it    : Bitwarden è un gestore di password freemium e open source con licenza AGPL, che consente di generare e memorizzare le password in modo sicuro. Questi elementi sono protetti da un'unica password chiamata "master password"
description_nl    : Bitwarden is een freemium en open source wachtwoordmanager onder de AGPL licentie, die u in staat stelt wachtwoorden te genereren en op te slaan op een veilige manier. Deze elementen worden beschermd door een enkel wachtwoord genaamd "master password"
description_ru    : Bitwarden - это freemium-менеджер паролей с открытым исходным кодом под лицензией AGPL, который позволяет генерировать и хранить пароли в защищенном виде. Эти элементы защищены одним паролем, называемым "мастер-паролем"
audit_schedule    : 
editor            : 8bit Solutions LLC
keywords          : 
licence           : AGPL-3.0 (d) and GPL-3.0
homepage          : https://bitwarden.com
package_uuid      : 9aa945ea-c9e5-42b4-978e-71ab51c7fd0c
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/bitwarden/desktop/releases
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 6ae13462bbcc8bb661e2aaba2b48439d70dd241410918e8eb54b89d7a4e92f01
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : W8Zx5s1e/DgLk4mOWys12QSDA3PWSHu62aWku/JDgFktYzCHfAYXrb4YxXEhc4uk8xEPPTigEKdhC9gGCKeH8kkNudgPKxMli4EyOVGQUku43bX3HIRERs1cDjOwhIpLtk/n9OQbCM5NzgGnTSKAPIoaAxc/0I2OErcVXkRiVYWtp/6sAqeVL31yH0cKTIeuVA0K61Us0qzOLUBmq6W3MaPu1M0uGAqe0+OmOQe4TOU/tkOejcTinuHM17yetffnvmjxvh6LCF80RrnLyYGq8XffQD1qz3FtBk1oJ0kYTjRJqv1s/CU0AmhBTVB/qArh35twV/BxoFOrTt3uMqiwjA==
signature_date    : 2023-05-02T16:45:39.141348
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

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("Bitwarden-Installer-*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/S /ALLUSERS",
        key="173a9bac-6f0d-50c4-8202-4744c69d091a",
        min_version=control.get_software_version(),
    )

    # Disabling updater (source: https://github.com/bitwarden/desktop/issues/697)
    set_environ_variable("ELECTRON_NO_UPDATER", "1")


def uninstall():
    for uninstall in installed_softwares(name=r"\bBitwarden\b"):
        print("Removing: %s (%s)" % (uninstall["name"], uninstall["version"]))
        run(uninstall_cmd(uninstall["key"]))
        wait_uninstallkey_absent(uninstall["key"])

# -*- coding: utf-8 -*-
from setuphelpers import *
import json


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://api.github.com/repos/bitwarden/clients/releases"
    dict_arch_name = {"x64": "x64", "x86": "ia32"}

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    dict_result = json.loads(wgets(api_url, proxies=proxies))
    for tag in dict_result:
        if tag["name"].startswith("Desktop ") and not tag["draft"] and not tag["prerelease"]:
            print("Tag URL used is: %s" % tag["html_url"])
            version = tag["tag_name"].split("-")[-1].replace("v", "")
            for download in tag["assets"]:
                if "Bitwarden-Installer-" in download["name"]:
                    download_url = download["browser_download_url"]
                    latest_bin = download["name"]
                if "-%s.nsis.7z" % dict_arch_name[control.architecture] in download["name"]:
                    latest_bin_7z = download["name"]
                    download_url_7z = download["browser_download_url"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL 1 is: %s" % download_url)
    print("Download URL 2 is: %s" % download_url_7z)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)
    if not isfile(latest_bin_7z):
        print("Downloading: %s" % latest_bin_7z)
        wget(download_url_7z, latest_bin_7z, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin_7z)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin).split("-")[0]
    # if not version_from_file.startswith(version) and version_from_file != '':
    if Version(version_from_file) != Version(version) and version_from_file != "":
        print("Changing version to the version number of the binary")
        os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version, list_extensions=["exe", "msi", "7z"])

    # Validating update-package-sources
    return package_updated

db51588d8d01cb54f76a1be35fa20e0c60579b3bf8f90181c9cb322f71e52a33 : setup.py
707949e3d17f3d1e59856cc30535195738f92faae7e5cb06e7b328582edc16e5 : update_package.py
6ae13462bbcc8bb661e2aaba2b48439d70dd241410918e8eb54b89d7a4e92f01 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
dbf8b607ebe2628d1cb6a375b5f9e2157641ee283c4b1ad48db9bdf0c5fb73fc : WAPT/changelog.txt
32e54c5f07010e5334d1c6d01b743becdd989e134ce7f519f8e51adcc1ac360f : luti.json
7c3c9d40418b0d93dd31acf7fc8daeca336d04ed887cb332b61e916358516fc9 : Bitwarden-Installer-2023.4.0.exe
2c6ce2f729805b08e15e4b6c9c1b21253b5b582311c377d5a833727a3a2a36df : bitwarden-2023.4.0-x64.nsis.7z
a8daef4f31369ee8878280392f9bf05ba22b34136b7a58f8354c4ccd9783f41d : WAPT/control

https://github.com/bitwarden/desktop/releases
2022.6.2-15

migrate to the new bitwarden github repo