tis-buttercup icon

Buttercup

Paquet d’installation silencieuse pour Buttercup

2.27.0-1

  • package: tis-buttercup
  • name: Buttercup
  • version: 2.27.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: 74.66 Mo
  • installed_size: 259.65 Mo
  • homepage : https://buttercup.pw/

package           : tis-buttercup
version           : 2.27.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      : 54360529-7101-45d8-bd40-700e91a1147c
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         : CBTGolkuYqkttBZUXImBr2MM8OZAVk8ABoV0YccqyLT+jCeIdT9po3YF4Bk34Fk9XjBEwcyemMfzlZsHUtT7H+TKbPqYWYjP79ZABNVpBoEVNVJCHqumzvp1smlnFJ43Lgig0k/ZD6shQg6wB1hXoUQ8SAbMXu9QCf+f1hitOTfXmomx+kSjNT3w03pnRl/Yzor9EJXM+B1zZXGyHsCGw6UEuag7Fmh9rJXQzgohvLxseDiReVGGVHBp28d+p2JQXLdgWRml+EJvcV183jCwauT/l2bOwCJqSZz7glrJuTxYT2FQ0DmmeaOR21bXD8pal+gEDVHParys5q2VEnG5iQ==
signature_date    : 2024-07-07T10:01:21.131327
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
89abb63dc40c1a486f9ae3fdb05e0cfcf4a84bb24005604f516fab0b90455dec : Buttercup-win-x64-2.27.0-installer.exe
e3a0c47fb511f662c05bc3ab56f704203b1cef5c8ab60810a572ed968a0bfaf2 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
78345f79166face3e26d466fbc8835a1f431145f1fac5767dcedbf706aacdad9 : luti.json
5fd31066179b47a3ff98fee17bbaa1625490dee39c7a9493391a4ccde34f6bb9 : WAPT/control