tis-keepassxc icon

KeePassXC

Silent install package for KeePassXC

2.7.9-0

  • package: tis-keepassxc
  • name: KeePassXC
  • version: 2.7.9-0
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Morgan HINESTROSA,Pierre COSSON
  • editor: Community driven
  • licence: GPL-3
  • locale: all
  • target_os: darwin
  • impacted_process: KeePassXC
  • architecture: x64
  • signature_date:
  • size: 33.25 Mo
  • installed_size: 107.02 Mo
  • homepage : https://keepassxc.org/

package           : tis-keepassxc
version           : 2.7.9-0
architecture      : x64
section           : base
priority          : optional
name              : KeePassXC
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Morgan HINESTROSA,Pierre COSSON
description       : KeePassXC is a modern, secure and open source password manager
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : darwin
min_wapt_version  : 2.2.2
sources           : https://github.com/keepassxreboot/keepassxc
installed_size    : 107024384
impacted_process  : KeePassXC
description_fr    : KeePassXC est un gestionnaire de mots de passe moderne, sécurisé et open source
description_pl    : KeePassXC to nowoczesny, bezpieczny i otwarty menedżer haseł.
description_de    : KeePassXC ist ein moderner, sicherer und Open-Source-Passwortmanager
description_es    : KeePassXC es un gestor de contraseñas moderno, seguro y de código abierto
description_pt    : KeePassXC é um gestor de senhas moderno, seguro e de código aberto
description_it    : KeePassXC è un gestore di password moderno, sicuro e open source
description_nl    : KeePassXC is een moderne, veilige en open source wachtwoordmanager
description_ru    : KeePassXC - это современный, безопасный менеджер паролей с открытым исходным кодом
audit_schedule    : 
editor            : Community driven
keywords          : Keepass
licence           : GPL-3
homepage          : https://keepassxc.org/
package_uuid      : 48600b7d-fa72-429f-ba7c-c6bfa3a7fc0a
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 4b1b02a3f0711c464775bf23ab74a2d6f1427878c01569afeca0af5966888074
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : lfEzsk8re7nZ04Hd4XzonWjG2GZ9b4P/8CCY12bOCJ3exUEz7R5dER8DsJBz31AGGyc0Iqy0/8GMrJX9Lve0OnLCj5aXM1b91dhWiXPaPI6U/A93b90bEg/wL93kEFPRJKWt5ycFtj5wUZNWfRzl1J/l81cPekca6pg4BCYHDrH5OMGr7stjXGDUeCMaaC01zl2thci0k6u8QRwKdWM/ym0MxVUY7UujVH6X6zXROmULRfA1tlTDC8TOsvEaH0uneGoUlVyI5k1cSljXPQE1ILu2dzga/chi/qfor9MZbvI8g/FF14w5LKvZfgl4oOM4YTEBpOHuKrKN+HDeheXxaw==
signature_date    : 2024-06-25T01:00:33.484063
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():
    install_dmg(
        glob.glob("KeePassXC*.dmg")[0],
        key="/Applications/KeePassXC.app",
        min_version=control.get_software_version(),
    )

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


def update_package():
    bin_contains = "-x86_64.dmg"
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://api.github.com/repos/keepassxreboot/keepassxc/releases/latest"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["assets"]:
        if bin_contains in download["name"]:
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)

    # 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)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return result

ad8e81a1640ec065f5e6d2fd8effcd8b7c35d5aa6cfea2989d9e157b5e865d98 : setup.py
a10c5bf17a8107dcae9d19a36a06f5ef7b1cf4ee88046a16cc1073dc84c7f45e : KeePassXC-2.7.9-x86_64.dmg
0679937c2bd953c2f33e5e8743b1f57a79f17eb817d54dd31bedc6ebf9c9dbad : update_package.py
4b1b02a3f0711c464775bf23ab74a2d6f1427878c01569afeca0af5966888074 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
655bf2a0b51ff19774a4548898f663565aec78baadceda426ac75e2185eeecfd : luti.json
751ceeaff237e269b968fa9680632036688ada964544f9d908ece6e2357116ca : WAPT/control