tis-buttercup icon

Buttercup

Paquet d’installation silencieuse pour Buttercup

2.28.1-1

  • package: tis-buttercup
  • name: Buttercup
  • version: 2.28.1-1
  • categories: Security
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: Vault Garden
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: Buttercup
  • architecture: x64
  • signature_date:
  • size: 75.41 Mo
  • installed_size: 259.65 Mo
  • homepage : https://buttercup.pw/

package           : tis-buttercup
version           : 2.28.1-1
architecture      : x64
section           : base
priority          : optional
name              : Buttercup
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Buttercup is an open-source and cross-platform secure password manager
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 259649614
impacted_process  : Buttercup
description_fr    : Buttercup est un gestionnaire de mots de passe sécurisé, open-source et multiplateforme
description_pl    : Buttercup to otwarty i wieloplatformowy bezpieczny menedżer haseł
description_de    : Buttercup ist ein quelloffener und plattformübergreifender sicherer Passwortmanager
description_es    : Buttercup es un gestor de contraseñas seguro, multiplataforma y de código abierto
description_pt    : O Buttercup é um gestor de senhas seguro de código aberto e multiplataforma
description_it    : Buttercup è un gestore di password sicuro, open-source e multipiattaforma
description_nl    : Buttercup is een open-source en cross-platform veilige wachtwoordmanager
description_ru    : Buttercup - это кроссплатформенный менеджер паролей с открытым исходным кодом
audit_schedule    : 
editor            : Vault Garden
keywords          : secure,password,manager
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage          : https://buttercup.pw/
package_uuid      : ea9fa946-5f7c-4506-8cc6-aee4ebb5c817
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/buttercup/buttercup-desktop/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : e3a0c47fb511f662c05bc3ab56f704203b1cef5c8ab60810a572ed968a0bfaf2
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-09-14T00:01:15.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         : p2ta6MvqTZ7GXprCnAVrBYbbtM2DPMhGKzJVI/Csj53RIXqyjy+cDj5VINs9tDeGfFEaVzH7tXsXwkpmNi2nh73P/if4uG8+rmTdbhMUwPEzEqIDiu9xvrQTZ2mNO3/LYXM7h+3sUtwrrIlTGmneU3cn6kNsDvJyHy/dKmbmVFmLow8HEDlp+lJ5/fFBzFyJdvzoMz6ZiWNBExHxIOQFHp46BfVRuC/5mOM39GlvRXi9SfTz0k64BNpKjdlde8anO36NWgzHYJzzK/gidGk1kDOZUo7RJbKW0/kf89CX+XDJEyEQ61PF542MoMGumZH/GGJ/cVeYr51p9NrIZy21bw==

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


def install():
    bin_name = glob.glob("Buttercup-win-x64-*-installer.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags=" /allusers /S",
        key="4c001084-53b7-523b-b2ec-956799d8be55",
        min_version=control.get_software_version(),
    )

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {"windows": "installer.exe", "debian_based": ".deb", "redhat_based": ".rpm", "darwin": ".dmg"}
    api_url = "https://api.github.com/repos/buttercup/buttercup-desktop/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    exe_found = False  # Flag pour indiquer la découverte d'un fichier .exe
    # version = json_loads["tag_name"].replace("v", "").replace(".windows", "")
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".exe") and update_dict[control.target_os] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["tag_name"].replace("v", "")
                exe_found = True  # Mettre à jour le flag pour indiquer qu'un exe a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.exe"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    version = get_version_from_binary(latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

f1f66b7a7bfeccc717402696c936b311b3983d5545606ef73102d2475ba6ba50 : Buttercup-win-x64-2.28.1-installer.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
cb22a3b3e74abe454a11e7173fb8ccc64d64c85c542a4e99a11ce1d12023d6a5 : WAPT/control
e3a0c47fb511f662c05bc3ab56f704203b1cef5c8ab60810a572ed968a0bfaf2 : WAPT/icon.png
235bb149118d31d536300655984c8f603c5b31c1a37e1bcefcfdc187648f0635 : luti.json
19953138e57b5c57ad9b9a9864a5f3ce1a78341f6f08ec684b7d5568aff6f6d2 : setup.py
b31c2588871cfd7578d886619ff3c243062374557cfc8d565ed3255ce239bb45 : update_package.py