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: macos
  • impacted_process: Buttercup
  • architecture: all
  • signature_date:
  • size: 102.65 Mo
  • installed_size: 259.65 Mo
  • homepage : https://buttercup.pw/

package           : tis-buttercup
version           : 2.28.1-1
architecture      : all
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         : macos
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      : 9d79019e-ec23-4f5c-983a-b077165dd286
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:02:46.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         : ODIbzV6cp4Nuzov+58Bam32wrM+N1JM3Fm50TBS6bp2pbHZDDU06JqE2IBli6D87qWmo3Ht75WARfzmelzT5wBFYKvku4Dw6Rz1Tqji+LLRNMZuz765j7eG+BgV6zkWeYep5FwSZcfuDMhaPPp6Bd82loq3SGjVr6mBxy6lDP5GZRGCCyUPZR2ME7Rkpy1Nem6el6A/WN8mpfQXZ5HIGlHLBDQLbv/af9ye2f7jcmwjFgA2FFR1NVKQHe59m6+n8G0X6jf3VO6dTlDDqhlvzERnygq8ijgjl0AtfEXW+v6RRkiisEBOceVlhl/wMafUrf2XsCXXoa5lLj4v2zonuxA==

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


def install():
    install_dmg(glob.glob("Buttercup-mac-x64-*.dmg")[0])


def uninstall():
    remove_tree("/Applications/Buttercup.app")

# -*- 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": ".exe","macos": ".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
    for release in releases_dict:
        if exe_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".dmg") 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("*.dmg"):
        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)

    control.set_software_version(version)
    control.save_control_to_wapt()

b2399d44f23dd39b851989e5aee2651fe1b1bdb37a525b7553a7ae8630a1b8e6 : Buttercup-mac-x64-2.28.1.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
08dc374bcf55149318c624ff5fb346cb54affdb48b06f76f91b33c55dcba2177 : WAPT/control
e3a0c47fb511f662c05bc3ab56f704203b1cef5c8ab60810a572ed968a0bfaf2 : WAPT/icon.png
6ff740951a1b947de72823841c6a2720e3a87e9eb13b3c077d0138edef77b377 : luti.json
06806df4ff9efaa34afa924a76e4929f4cb3e747f2a4d28778141ab46fadf10b : setup.py
3cad3abde578a3e45f25b407831590c1bbfe0d88cb753d27af9ff15c5f579201 : update_package.py