tis-1password icon

1Password

Paquet d’installation silencieuse pour 1Password

8.11.8-6

  • package: tis-1password
  • name: 1Password
  • version: 8.11.8-6
  • categories: Security
  • maintainer: WAPT Team,Tranquil IT,Bertrand Lemoigne
  • licence: opensource_free,wapt_private
  • target_os: macos
  • impacted_process: 1Password
  • architecture: all
  • signature_date:
  • size: 320.48 Mo
  • homepage : https://1password.com/downloads/

package           : tis-1password
version           : 8.11.8-6
architecture      : all
section           : base
priority          : optional
name              : 1Password
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Bertrand Lemoigne
description       : Password manager
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : macos
min_wapt_version  : 2.5
sources           : 
installed_size    : 
impacted_process  : 1Password
description_fr    : Gestionnaire de mots de passe
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_private
homepage          : https://1password.com/downloads/
package_uuid      : b567b320-7f01-4455-94ca-55161b5acbcb
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 12
max_os_version    : 
icon_sha256sum    : 398df5ca51a569a2f1621473ac25315eff6680ba1910f01da89690cc8f7dd6b5
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-09-01T00:11:36.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         : eksYBsI+JBFjP5UVZUn2eJVqODS38TM9aJ5su+B4SxihykptOMy/srPEvp83VlBZPQsbeEJZjCohRLyGjB+HzHQ6oFSuSVj0303ZXNeLqUGlvtoU5vj6vguqbOK9/HjKmAM9Brt5sLonqN1RUFZ5zfcvrZs98zZCJR9MC2sFJQcM4kSr6Rb9mJbfNi8Y2bEbXY00cTgL/YOVXxGfylsbA2zTerEBofHKoXxTauKyIC7iWFkQKKHUOETv92QLfAIUa7hrXaRl2Yi/kQ2CsujuNNLdydYuxCzcr5oL6ZlAVkQPU/VIx7O36IoEI+C3cvAT1Byi4kQACNJHGEEq3XGfZA==

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


# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
app_name = "1Password"
app_uninstallkey = "pkgid:com.1password.1password"


def install():
    # Declaring local variables
    bin_name = glob.glob("1Password*.pkg")[0]

    # Installing the software
    install_pkg(bin_name,key=app_uninstallkey)


def uninstall():
    # Uninstalling the software
    uninstall_app(app_name)
    uninstall_app(app_uninstallkey)

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

def update_package():
    # Declaring local variables
    package_updated = False

    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

    url ="https://releases.1password.com/mac/stable"
    for bs_search in bs_find_all(url,'h6',proxies=proxies):
        if '1Password for Mac' in bs_search.text:
            version = str(bs_search.text).split(" ")[-1]
            short_version = str(bs_search.text).split(" ")[-1].split(".")[0]
            break
    
    download_url = f"https://cache.agilebits.com/dist/1P/mac{short_version}/1Password-{version}.pkg"
    latest_bin = f"1Password-{version}.pkg"

    # Downloading latest binaries
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)


    # Deleting outdated binaries
    for f in glob.glob("*.pkg"):
        if f != latest_bin:
            remove_file(f)

    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()

91a52903921a5cc7169716d685ff78dc1e717cb99f00460fa2119014685e043e : 1Password-8.11.8.pkg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
713e0f8158f9a05e4f1f664ad61283e36de732c94e849b1d1a4b3ab161cbadf0 : WAPT/control
398df5ca51a569a2f1621473ac25315eff6680ba1910f01da89690cc8f7dd6b5 : WAPT/icon.png
55f350508a8047d9f42a297c5da3e465269dd8d89412eede298c5b4dd54cc8ed : luti.json
2fa040e48d193b54f7973656f237e6782bc89cf409e6fdc16ebb2f06af47e8a0 : setup.py
f573716f779e71d16c28ddae3dbe2da2f03f9e3c432c16afc98b7e9b980ab1eb : update_package.py