tis-buttercup icon

Buttercup

Paquet d’installation silencieuse pour Buttercup

2.28.0-1

  • package: tis-buttercup
  • name: Buttercup
  • version: 2.28.0-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.0-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      : 7b38e95e-ac48-4faa-abc4-3aee7e91d417
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         : j0Fz/+5gnSBboC3PxZ3HcXfV7uTP9fYW0vAjcSqMmW8w7DUjbhFIl2pgnZnZWHc1qroUZ93ke9nvkldCQiJlHS13PZk/bhgQFa+nqBNLgO1YbDGalaX8a7MccRw2z0u0ISO6I4FVSycV3/iv78SJEwYMpOs2pKRD1d6uWmBfCIrfS6VgkG6lZxwrheaGUrJCgGtLSuKJH2ON/So4KsLGQVULqLce66ouCBzKZxaNmOQwNehY0/Ozd7UZUxGX35JRzlOVxoV1jVlAlf0cu9Eq6z+tiFg1YXmxzSdf++GQV2qfIJKTRTuTo0Xo6wUn7Ywh0ObfDIIahP/AAERqghmW4Q==
signature_date    : 2024-08-14T22:01:52.032515
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("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()

19953138e57b5c57ad9b9a9864a5f3ce1a78341f6f08ec684b7d5568aff6f6d2 : setup.py
b31c2588871cfd7578d886619ff3c243062374557cfc8d565ed3255ce239bb45 : update_package.py
e3a0c47fb511f662c05bc3ab56f704203b1cef5c8ab60810a572ed968a0bfaf2 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
cb14b11a9c2ba0240f4fff27ec9d50c6e9ac7196e8b883d33991147e0299196a : luti.json
f80ff7c654417f23f5179978d1171080e81b5e9db3f52ad639ea35d33e3e5b30 : Buttercup-win-x64-2.28.0-installer.exe
f834ea75b4eb5deb9e72f2b617200bb9198e15154c18ed2f312e3d14ced7b215 : WAPT/control