tis-1password icon

1Password

Paquet d’installation silencieuse pour 1Password

8.11.4-6

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

package           : tis-1password
version           : 8.11.4-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      : 2f4c041f-5bb7-4435-88a5-ba0b586addd1
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-16T11:01:28.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         : iTII5X7kMCqVhmLgnSphNdGylgULk/vfH/togurs/7R3cWYBaKms3uwVVafaEfY3+NUQ92R1zNmy8+sgJj50Brk6y4lWr46s2mHzDshNhXpcYsDWL1U32qL7Ps/b+m1v8b1QdKs7tQiWM3NjZHaQkh2H/yi8Xl+scKwI7g377szxr+s8McmZohW2azj5kDXW+DNgMTjaFYnm6Kwo6n2Tl3LImXxw8ZY1n5VZAWaQ4XbVVp7lojM0giRzdulAYiOZP52hz67xyXnRAPKKcw+XYHycVtHBtNJFNqir6wr+U9jBQCfHbt3fWVK3DBLYe4LU36zXZXV7zQzpifbyDopQoA==

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

2400260c174f4e672c1135434ea4a4a40a2c3683f4f3418179721ffe72a448a7 : 1Password-8.11.4.pkg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
758630e578424c574fa657152634c8766dc4413c5be8510dc59ed21547d21911 : WAPT/control
398df5ca51a569a2f1621473ac25315eff6680ba1910f01da89690cc8f7dd6b5 : WAPT/icon.png
0484b98a9e3dc3df9c548b86b2f4fbbee7d6bbcbd717428f000b6d40db0277b1 : luti.json
2fa040e48d193b54f7973656f237e6782bc89cf409e6fdc16ebb2f06af47e8a0 : setup.py
f573716f779e71d16c28ddae3dbe2da2f03f9e3c432c16afc98b7e9b980ab1eb : update_package.py