tis-keepassxc icon

KeePassXC

Silent install package for KeePassXC

2.7.10-1

  • package: tis-keepassxc
  • name: KeePassXC
  • version: 2.7.10-1
  • 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.91 Mo
  • installed_size: 107.02 Mo
  • homepage : https://keepassxc.org/
  • depends:

package           : tis-keepassxc
version           : 2.7.10-1
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           : tis-vcredist2015-2022
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      : 564057f8-34fb-4116-8297-6967d4c8c9b6
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 4b1b02a3f0711c464775bf23ab74a2d6f1427878c01569afeca0af5966888074
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-03-09T11:05:15.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         : ErAQk1BEzaHdEJchajBIgMdox54awHUPeF0j8Iuwhj4p9HLk5mXvJvaUwJgVBFL9tntYk1eHdloGlWHWTyQoIlqAsUh6uiDO87ttBDToqS9JJRxQHYj7rx8a6EHWwoMYbMjP6PFL8kf/whC2F6Rv0Zo/LwIohjF6B+8irRBTphn0zAbA2onFrdl6MUWTRCJLQ+dSjV+9fgBKa7W6NMYIJYRrVE9WDFdD+KPGM+1kKOsiTdOFb/bXaXmCNWXd9T5ZhZBHaY7ZfujWKYfLSmLO9W7TmYmJaetbiCpFKNi7I774Qmmhf/au8OiWez1nGFDV4kt4xvnjZmIQAZggpflNDw==

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

5f00c58a5878994663e217fab74e912b5f4544357759f2c2ae4d7e9fa0c5e549 : KeePassXC-2.7.10-Win64.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
3e6baaae628d6381aa727f4d36be70ba96b162a7fe50b9f183ab96b87ed1f5bb : WAPT/control
4b1b02a3f0711c464775bf23ab74a2d6f1427878c01569afeca0af5966888074 : WAPT/icon.png
877b1bc679fecf5bf4c4f49cf72c2026fd80cf9f2e539531352e256b0265bbda : luti.json
d8748baf1de973e53de21cd2c24a399c467c5635ec821a1faba23757b51468bf : setup.py
2a619ae884009839c889060596f3add8f0b338f7078586b23c11c596cde816c0 : update_package.py