tis-authme icon

Authme

Silent install package for Authme

6.2.0-1

  • package: tis-authme
  • name: Authme
  • version: 6.2.0-1
  • categories: Security
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: Levminer
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
  • locale: all
  • target_os: macos
  • impacted_process: Authme
  • architecture: x64
  • signature_date:
  • size: 8.27 Mo
  • installed_size: 4.25 Mo

package           : tis-authme
version           : 6.2.0-1
architecture      : x64
section           : base
priority          : optional
name              : Authme
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Authme is a cross-platform two-factor (2FA) authenticator app for desktop
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : macos
min_wapt_version  : 2.3
sources           : 
installed_size    : 4247992
impacted_process  : Authme
description_fr    : Authme est une application multiplateforme d'authentification à deux facteurs pour les ordinateurs de bureau
description_pl    : Authme to wieloplatformowa, dwuskładnikowa aplikacja uwierzytelniająca dla komputerów stacjonarnych
description_de    : Authme ist eine plattformübergreifende Zwei-Faktor-Authentifizierungs-App für Desktop
description_es    : Authme es una aplicación de autenticación de dos factores multiplataforma para ordenadores de sobremesa
description_pt    : O Authme é uma aplicação de autenticação de dois factores multiplataforma para ambiente de trabalho
description_it    : Authme è un'applicazione multipiattaforma per l'autenticazione a due fattori per desktop
description_nl    : Authme is een cross-platform twee-factor authenticator app voor desktop
description_ru    : Authme - это кроссплатформенное приложение для двухфакторной аутентификации для настольных компьютеров
audit_schedule    : 
editor            : Levminer
keywords          : authenticator,2fa
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage          : 
package_uuid      : 720c531a-1277-4f24-9eb6-ca4295b6314d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/Levminer/authme/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 87051b3393f4947ba882eeb40ecfc2eb967d6cf455bb29bff44a390c14b14750
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-17T20:02:38.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         : auwIc81rjALMcxngPvSU/mxEcuRd1QZ4rHdOLarIB9CBH7KYfcYU389UG5AxWmDDaTZ13AuAiyu3MlSb9DT2opFMqz13yyRiUch1cASc+KFDrx4bBp3DigtyMl7DYigGtrWoBPcdrCtAhYeo5Nwq1+Vc1TdH1jbsnwLzok1j0dlGhg4l16rs+izmbRjKTAYYAWO9tFMURHpWheSemGKaxsB/tv1p2pVONgwkmG4+0inufNtrULWZlxS9D9qIG6O7nbkdehUk/kCWqqatQcG0ss+h7MoEwVSM+lDk3bz+iJFpnayTHyAqzwZtEB5mzNnTSJTejh3EFFNykTG4GkPQtw==

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


def install():
    bin_name = glob.glob("authme-*-macos-universal.dmg")[0]
    install_dmg(bin_name, min_version=control.get_software_version())


def uninstall():
    remove_tree("/Applications/authme.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": ".msi","debian_based" : ".deb",
                    "macos": ".dmg"}
    api_url = "https://api.github.com/repos/Levminer/authme/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    dmg_found = False  # Flag pour indiquer la découverte d'un fichier .dmg
    for release in releases_dict:
        if dmg_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["name"].split(" ")[1]
                dmg_found = True  # Mettre à jour le flag pour indiquer qu'un dmg 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()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
f6d52ddadd375bc7e620805bcc5168794bc562d61169bdef39065a4bc17e1f4e : WAPT/control
87051b3393f4947ba882eeb40ecfc2eb967d6cf455bb29bff44a390c14b14750 : WAPT/icon.png
fe6d06d43a5f1bfc76f42ac7cb24d6d60d3c4ea805309240f2b539ead40b2897 : authme-6.2.0-macos-universal.dmg
00374b525aaa50b653bb7d06b2127f507ede5721b2a4135cde4cdf27aea1b20d : luti.json
668ff1a2515a9f55abd5dc4141c58f45ea427f3a46c6421bc8cc3f8f90080943 : setup.py
b18bcc43ad885f03f02d6da5464800d7bbfdc572e0c9baaada7ca25fe2afcc48 : update_package.py