tis-cryptomator icon

Cryptomator

Silent install package for Cryptomator

1.16.0-2

  • package: tis-cryptomator
  • name: Cryptomator
  • version: 1.16.0-2
  • categories: Security
  • maintainer: WAPT Team,Tranquil IT,Jordan ARNAUD
  • editor: Skymatic GmbH
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
  • locale: all
  • target_os: darwin
  • impacted_process: Cryptomator
  • architecture: arm
  • signature_date:
  • size: 56.04 Mo
  • installed_size: 125.91 Mo
  • homepage : https://cryptomator.org/

package           : tis-cryptomator
version           : 1.16.0-2
architecture      : arm
section           : base
priority          : optional
name              : Cryptomator
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Jordan ARNAUD
description       : Cryptomator is an open source encryption software that provides encryption for cloud drives
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : darwin
min_wapt_version  : 2.3
sources           : https://cryptomator.org/downloads/
installed_size    : 125914727
impacted_process  : Cryptomator
description_fr    : Cryptomator est un logiciel de cryptage open source qui permet de crypter les disques en nuage
description_pl    : Cryptomator to oprogramowanie szyfrujące typu open source, które zapewnia szyfrowanie dysków w chmurze
description_de    : Cryptomator ist eine Open-Source-Verschlüsselungssoftware, die Verschlüsselung für Cloud-Laufwerke bietet
description_es    : Cryptomator es un software de cifrado de código abierto que proporciona cifrado para unidades en la nube
description_pt    : O Cryptomator é um software de encriptação de fonte aberta que fornece encriptação para unidades de nuvem
description_it    : Cryptomator è un software di crittografia open source che fornisce la crittografia per le unità cloud
description_nl    : Cryptomator is een open source encryptiesoftware die encryptie biedt voor cloud drives
description_ru    : Cryptomator - это программное обеспечение для шифрования с открытым исходным кодом, которое обеспечивает шифрование облачных дисков
audit_schedule    : 
editor            : Skymatic GmbH
keywords          : encryption,cloud
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage          : https://cryptomator.org/
package_uuid      : 7fa7001e-19b2-4104-ba37-235391ae904d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/cryptomator/cryptomator/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : a7daeb8a79d3f7d529fbf25397e87a1848f84b311b7e112654c043350934a1b8
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-04T11:55:01.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         : Nl2xoyylQkvFNR4Eew9trFV6mJYiAf71/sC7B2zUy6PvuE8UuQdbUrdIofAscqz0tNvLrnDn8qRc9jOS19tXtMbIr2Px4fCzmGh3r03ARIz6L9gkvHpLWy/iHUiOLYASIs/68uikntjIL5IsfGUDk+e9YMbcKoC/3zzAMhrUr/q3etX94oTLotgq0llAOPHGkjtXP7SEj16HCcyE+2XL9BUkjzr3RAb6Z74e61bi7gAi4AZVc3erET5BGNCwTecEVRhd2c8YQ5n5LzkW5ozLAbgcaTGj0hn+mFgFte0F23DQsrrQ3K7Ofd3r1GWyc8/pmXhf0ULqwAtjOH+eK1zRXA==

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    install_dmg(glob.glob("*arm64.dmg")[0])


def uninstall():
    remove_tree("/Applications/Cryptomator.app")

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
import json


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    api_url = "https://api.github.com/repos/cryptomator/cryptomator/releases/latest"
    extensions_file = ['.dmg', '.exe', '.deb', '.rpm', '.AppImage', '.appimage', '.msi', '.zip']
    
    update_dict = {
        "os_archi":{
            "windows-x64" : ".msi",
            "darwin-x64" : "x64.dmg",
            "darwin-arm" : "arm64.dmg",
            "linux-x64" : "x86_64.AppImage",
            "linux-arm64" : "aarch64.AppImage "
        }
    }

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for to_download in json_load["assets"]:
        if update_dict["os_archi"][f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}'] in to_download["name"]:
            download_url = to_download["browser_download_url"]
            version = json_load["tag_name"].split("-")[-1].replace("v", "")
            latest_bin = to_download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)


    # Deleting outdated binaries
    for bin in extensions_file:
        for file in glob.glob(f"*{bin}"):
            if file != latest_bin:
                remove_file(file)

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated

4d359125a0eb8235293c88de60ec55b0ea0554acb101b44919da4c7d35623d28 : Cryptomator-1.16.0-arm64.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
ff869d2526e8a11a28cda68f8e24292752384537b9b5e5765a535b32672459e4 : WAPT/control
a7daeb8a79d3f7d529fbf25397e87a1848f84b311b7e112654c043350934a1b8 : WAPT/icon.png
4a12806358a9b485354620677604485fa960f03266250eac93406a17d297a781 : luti.json
7e3569e8a452be460677a62c77a4d91ced2210632092ab2021983c99cc744f8d : setup.py
57703485c59f67af020586ae5b58202fb9a50bfc4883f1063d81e793fcc2c6be : update_package.py