tis-keepassxc icon

KeePassXC

Silent install package for KeePassXC

2.7.8-0

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

package           : tis-keepassxc
version           : 2.7.8-0
architecture      : x64
section           : base
priority          : optional
name              : KeePassXC
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Morgan HINESTROSA
description       : KeePassXC is a modern, secure and open source password manager
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
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      : 9b663c10-2ce1-4314-8ea3-717d1f7bca56
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 4b1b02a3f0711c464775bf23ab74a2d6f1427878c01569afeca0af5966888074
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : QayyBWmmXz/biXIbY5U0chVCaoc5CB8KdGR8i+Jsg2pokCCAO7scqxgIkV/JZa299zM2U80J+ZaQd54fKe2+vebOeKeeimxRAtMpnNFB1o6pkCtn4rZcv5arqqogWSHPdl2pN2/9cnGrGb7b063e7ym8Y7vIUiAZzE7YTGJ4+s5oGHq2MffVsIZzaTKwyhFhHBs7gPATL8zd/NxbVErJti1P+4VdC6WB2f+2YC0/3P3MpXQZmsMBMYGa34yO0N7GqTRHKpm4uiX4Pne6EHm5FDXx2NaUazIoa4xSeR1rbVmPpYo3x0Xxz85RT0zgwbAZiQryItFoMgfGdn3MyWBJeg==
signature_date    : 2024-05-11T11:00:50.370335
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_msi_if_needed(glob.glob("KeePassXC*.msi")[0])

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


def update_package():
    bin_contains = "Win64.msi"
    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"
    if control.architecture == "x64":
        arch_contains = "Win64.msi"
    else:
        arch_contains = ".WINDOWS.msi"

    # 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)

        # Checking version from file
        version_from_file = get_version_from_binary(latest_bin)
        # if not version_from_file.startswith(version) and version_from_file != '':
        if Version(version_from_file) != Version(version) and version_from_file != "":
            print("Changing version to the version number of the binary")
            os.rename(latest_bin, bin_contains + version_from_file + bin_ends)
            version = version_from_file
        else:
            print("Binary file version corresponds to online version")

    # 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

d8748baf1de973e53de21cd2c24a399c467c5635ec821a1faba23757b51468bf : setup.py
2a619ae884009839c889060596f3add8f0b338f7078586b23c11c596cde816c0 : update_package.py
4b1b02a3f0711c464775bf23ab74a2d6f1427878c01569afeca0af5966888074 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
730a128e5ca00fa8a025d3457a5f4bba29858f264f8289339f7a5c3efb96da0c : luti.json
d940da0d5f009a3f9fa9e182acaa292c239a87066fbb7d37e6dfede1aab53982 : KeePassXC-2.7.8-Win64.msi
bb37eab0c3276ed3c6d3bfa201f2dcecc480a7a71be5038df0776a91111816cf : WAPT/control