tis-gopass icon

gopass

Paquet d'installation silencieuse pour gopass

1.17.3-1
Security
Security

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-gopass
  • name: gopass
  • version: 1.17.3-1
  • categories: Security
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: gopass
  • licence: opensource_free,cpe:/a:mit:x11_license,wapt_public
  • locale: all
  • target_os: macos
  • impacted_process: gopass
  • architecture: x64
  • signature_date:
  • size: 7.68 Mo
  • installed_size: 19.85 Mo
  • homepage : https://www.gopass.pw/

package           : tis-gopass
version           : 1.17.3-1
architecture      : x64
section           : base
priority          : optional
name              : gopass
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : Gopass is an open-source password manager that allows you to store your passwords securely
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : macos
min_wapt_version  : 2.3
sources           : 
installed_size    : 19845693
impacted_process  : gopass
description_fr    : Gopass est un gestionnaire de mots de passe open-source qui vous permet de stocker vos mots de passe en toute sécurité
description_pl    : Gopass to menedżer haseł o otwartym kodzie źródłowym, który umożliwia bezpieczne przechowywanie haseł
description_de    : Gopass ist ein Open-Source-Passwortmanager, mit dem Sie Ihre Passwörter sicher speichern können
description_es    : Gopass es un gestor de contraseñas de código abierto que te permite almacenar tus contraseñas de forma segura
description_pt    : O Gopass é um gestor de senhas de código aberto que lhe permite guardar as suas senhas de forma segura
description_it    : Gopass è un gestore di password open-source che consente di memorizzare le password in modo sicuro
description_nl    : Gopass is een open-source wachtwoordmanager waarmee u uw wachtwoorden veilig kunt opslaan
description_ru    : Gopass - это менеджер паролей с открытым исходным кодом, который позволяет безопасно хранить пароли
audit_schedule    : 
editor            : gopass
keywords          : password,manager
licence           : opensource_free,cpe:/a:mit:x11_license,wapt_public
homepage          : https://www.gopass.pw/
package_uuid      : 0fa86292-edf3-498f-a8ad-3c63cd3e334d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 29c84dc37ac73e7844251874296e39e8411147b50487314d80e1393d8dae8615
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-09-22T19:38:44.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         : rx9AzXfFMmyzkvDQw8KXSjvfauTQiMMu4FGJz4XDnHJlJYBDSr4Lxx+ShIALbe0QL/gmLZT+AzohHvI66M8kYG801JJ1zQSVAepYEEg5eoCvIfBWyM681sH1OwYlsL44TDKbPusNo2VAKWtDOQSm4AE/YLZqoyHgUdZRisr5scez44pKv/QLxHK42JlG29+PdowqIOUFbbUJruw4TotbPnjFluHtOqF4TrGKqkYxnGO7Z5PWt9vlb63jw2JWoQC0TrrOfteUAlNZXWd+EWrsViCfgi/xr1dn4xf7VBtqUYitbqEyAhIIcZffzDpPsk/VegOgqymAKrRMmqalqIWagw==

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

bin_path = makepath("/", "usr", "local", "bin")
app_path = "/opt/gopass"

def install():
    # Extraction and copying to /opt/typst
    extract_path = glob.glob("gopass-*-darwin-amd64.tar.gz")[0]
    run(f"tar -xJvf {extract_path}")
    char_len = len(extract_path) - len('.tar.gz')
    extract_path = extract_path[:char_len]
    bin_name = "gopass"
    print(f"copying gopass to {app_path}")
    if not isdir(app_path):
        mkdirs(app_path)
    filecopyto(bin_name, app_path)
    # Creation of symlink
    if not isfile(f"{bin_path}/gopass"):
        print("create typst alias in path")
        os.symlink(f"{app_path}/gopass", f"{bin_path}/gopass")
    if isdir(extract_path):
        remove_tree(extract_path)


def uninstall():
    # Removing of symlink
    if isfile(f"{bin_path}/gopass"):
        remove_file(f"{bin_path}/gopass")
    # Removing of the software 
    if isdir(app_path):
        remove_tree(app_path)

# -*- 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": ".zip", "redhat_based" : "amd64.rpm", "debian_based" : "amd64.deb", "macos": "darwin-amd64.tar.gz"}
    api_url = "https://api.github.com/repos/gopasspw/gopass/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    tar_gz_found = False  # Flag pour indiquer la découverte d'un fichier .tar.gz
    for release in releases_dict:
        if tar_gz_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".tar.gz") 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"].replace("v", "")
                tar_gz_found = True  # Mettre à jour le flag pour indiquer qu'un tar.gz a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.tar.gz"):
        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()

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
520ad73dc8cb04778df74f373f4fb3fa11256e6d654f28654f709259731315ec : WAPT/control
29c84dc37ac73e7844251874296e39e8411147b50487314d80e1393d8dae8615 : WAPT/icon.png
fe9394cab6f7f476c3ca042d6de1d76c948ca0d7f51a17c6199887c5623369ea : gopass-1.17.3-darwin-amd64.tar.gz
7dc6d05ed9831ab6f5e15fc60f64eb5a07283aec1943123807100d66a3d8aa7b : luti.json
1f5f35deebc72c2c9308c08031faaf8a6b6cdaa92f2b702a1b852821f3818273 : setup.py
5a5daa0f6fbd1e2b15e61e1482fb111c79737d4b7df24e430f1229977ae67d98 : update_package.py