tis-1password icon

1Password

Paquet d’installation silencieuse pour 1Password

8.11.6-6

  • package: tis-1password
  • name: 1Password
  • version: 8.11.6-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.65 Mo
  • homepage : https://1password.com/downloads/

package           : tis-1password
version           : 8.11.6-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      : d1ee8987-c997-4c35-ac1d-bf884bc6923a
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-08-24T16:03:51.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         : bJH0f2Ey2cvxvSjEJxaSOFpIEA4sgjB7A9Ibo1aLpQ3l685DvTv+MgP0nKGAYM9imiwElY5jC6AVz4ApRyPs82EEYHjGwTViR6+Sst2K68LX4u7//lv2o3Fhg8rGZvRUgXRSOlXHflJLXuag0RW3iIJZj/yvrmNd3Pt8j/HvbUeOLlKQmqXdBpeiR/LPd66SCpwKo0y/qeYkOtVoAD3nVTUA2KPHfTgDrOlffMI0VrCT+Ais2POH6kzGe5uWKi3HUsTsppqcZe0FG2EeB/cTRKBAO77SgZK+oxxypvxqQjVKGF2I6+VegJ8HUzJ0p6ZAQCHthH0RPtbgOSmsOWispA==

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

a4ec8e71be9ee31722d95af8b3ec1ad6834765bd1fd3243eff258384e1cb423a : 1Password-8.11.6.pkg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e6811023cec6c2f9d8a8a329266bc9a6a7dafe3b0328bf84de6fccbd56c0c1e1 : WAPT/control
398df5ca51a569a2f1621473ac25315eff6680ba1910f01da89690cc8f7dd6b5 : WAPT/icon.png
6c92b3768c7d90f59f037ad0c7889630b777181b068a0a6f8d9bd595a93d47ed : luti.json
2fa040e48d193b54f7973656f237e6782bc89cf409e6fdc16ebb2f06af47e8a0 : setup.py
f573716f779e71d16c28ddae3dbe2da2f03f9e3c432c16afc98b7e9b980ab1eb : update_package.py