tis-gopass icon

gopass

Silent install package for gopass

1.16.1-1
Security
Security

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a new VirusTotal scan is performed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-gopass
  • name: gopass
  • version: 1.16.1-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: redhat_based
  • impacted_process: gopass
  • architecture: x64
  • signature_date:
  • size: 8.12 Mo
  • installed_size: 19.85 Mo
  • homepage : https://www.gopass.pw/

package           : tis-gopass
version           : 1.16.1-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         : redhat_based
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      : 08fbecbd-168b-4123-b6cd-66c97b582ee4
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 29c84dc37ac73e7844251874296e39e8411147b50487314d80e1393d8dae8615
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-12-13T15:26:16.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         : UiIk8qAKTxWklSYacw42pVjNhtgA1M2LkTXEOMffEih/MY5UwalC/Rchyy4p5VRFe4o/N/HtsOOXwzq/m+gMhJeDEV/6juJ/wmcNZQd2EqWCpUnyO6N1UOEFeSmxfBPbu8262fsuuzAW0QZBzswySiX7Xw5tTtbc+toJKb0pwLvnD8CPvFDc81Pp6HpPoc4yj8+uQW5cm8EEI0LZ8FUUcvJumt8Z4SQJ74Xnk/lUQktzitF6wrjcf1ybwS2rh71IKbLBXpjnt0G2r4OmH6T2GV9UJ5TiifIVyF87YcXfmLJpBjIE351medfhfhACOLENHAVGZ0YDibidE517ayMPdQ==

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


def install():

    if get_distrib_linux() == 'fedora':
        install_yum(glob.glob("gopass_*_linux_amd64.rpm")[0])
    else:
        install_rpm(glob.glob("gopass_*_linux_amd64.rpm")[0])



def uninstall():
    uninstall_yum("gopass")



# -*- 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))
    rpm_found = False  # Flag pour indiquer la découverte d'un fichier .rpm
    for release in releases_dict:
        if rpm_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".rpm") 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", "")
                rpm_found = True  # Mettre à jour le flag pour indiquer qu'un rpm a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.rpm"):
        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
c643ba86a43b19be09f4dfabcc53e67abef2034fbdd49f4d9604747fbac5f5b1 : WAPT/control
29c84dc37ac73e7844251874296e39e8411147b50487314d80e1393d8dae8615 : WAPT/icon.png
17150dac5c2fb7bf0331a8d689dbb6730f063c2b0d7d1090f7570c77175bd896 : gopass_1.16.1_linux_amd64.rpm
70f5f2ea678ce31c530f46dded6a6f2de3551dc127f2fe8055a42f3b4f9f8d6b : luti.json
d9b74112bc9e69f95452e07176fbd989987320061cc7cf1dc8d6945b17535044 : setup.py
c2a408f58fa71a67c59931afaba4ab5ecc5320935bac634e5b9b453ff331f1ea : update_package.py