OpenSC
Silent install package for OpenSC
0.27.1-6
Drivers
Drivers
Preprod packages are packages built on LUTI.
They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.
- package: tis-opensc
- name: OpenSC
- version: 0.27.1-6
- categories: Drivers
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- licence: LGPL
- locale: all
- target_os: macos
- impacted_process: pkcs11-tool,opensc-notify,opensc-tool
- architecture: all
- signature_date:
- size: 209.29 Mo
- homepage : https://github.com/OpenSC/OpenSC/wiki
package : tis-opensc
version : 0.27.1-6
architecture : all
section : base
priority : optional
name : OpenSC
categories : Drivers
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : OpenSC smartcard framework
depends :
conflicts :
maturity : PREPROD
locale : all
target_os : macos
min_wapt_version : 2.2
sources : https://github.com/OpenSC/OpenSC/releases
installed_size :
impacted_process : pkcs11-tool,opensc-notify,opensc-tool
description_fr : Cadre de carte à puce OpenSC
description_pl : OpenSC smartcard framework
description_de : OpenSC Smartcard-Framework
description_es : Marco de la tarjeta inteligente OpenSC
description_pt : Estrutura do OpenSC smartcard
description_it : Quadro di riferimento per smartcard OpenSC
description_nl : OpenSC smartcard-kader
description_ru : Система смарт-карт OpenSC
audit_schedule :
editor :
keywords :
licence : LGPL
homepage : https://github.com/OpenSC/OpenSC/wiki
package_uuid : af81a8cc-a563-4101-8cc7-155361ca5de8
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/OpenSC/OpenSC/releases
min_os_version :
max_os_version :
icon_sha256sum : b80b143a5ab7954131c83e41e21b34607c7ed9a02d307f064c3099ec6a342f62
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-03-31T13:05:27.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 : uHnGLI+V2Jm1QdOJUARAZYGGDPxtpxHt2O6ngG0HcMoVoDXgctEElyq9B4pI6omWulljmm08J7y3mJgQi50zP86bC4sZFH8pL2GGUSIDF7hlYg/MXvIf1GyCyPqM5zVBwLD7suSqcZHdarOGfeb+p1JYGsWpG7NYfQF+sJdfEX9ACLst16Eo9xba9NCRY6gf7Qb8MGfVHykIgDlJNP3CtdQiy/Yn5DBT/QwNCP8WO/QzKDhrHq//kof9Gs1jEodubkD18iGufc1e3y2p9Au2bSRw/MBXOzPpTGpLp7g8/xZJQzN0Ahx7cp0hI0zGyS/sY48yhH6Gz1gbAr8vf4tbTA==
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
install_dmg('OpenSC-%s.dmg' % control.get_software_version(),key="pkgid:org.opensc-project.mac",min_version=control.get_software_version())
def session_setup():
pkcs11_modules_path = makepath(user_home_directory(),".pkcs11_modules")
mkdirs(pkcs11_modules_path)
run(rf'ln -s /Librairy/OpenSC/lib/opensc-pkcs11.so {pkcs11_modules_path}')
def uninstall():
uninstall_pkg('org.opensc-project.mac.opensctoken')
uninstall_pkg('org.opensc-project.mac')
uninstall_pkg('org.opensc-project.startup')
uninstall_pkg('org.opensc-project.tokend')
if isdir('/Applications/Utilities/OpenSC Notify.app'):
remove_tree('/Applications/Utilities/OpenSC Notify.app')
if isdir('/Applications/Utilities/OpenSCTokenApp.app'):
remove_tree('/Applications/Utilities/OpenSCTokenApp.app')
if isdir('/Applications/OpenSC Uninstaller.app'):
remove_tree('/Applications/OpenSC Uninstaller.app')
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
def update_package():
print("Download/Update package content from upstream binary sources")
# Initializing variables
app_name = control.name
url_api = "https://api.github.com/repos/OpenSC/OpenSC/releases/latest"
proxy = get_proxies()
dmg_name_string = "OpenSC-%s.dmg"
# Getting latest informations from Github API
json_load = json.loads(wgets(url_api, proxies=proxy))
for download in json_load:
version = json_load["tag_name"]
break
latest_dmg = dmg_name_string % version
url_dl = "https://github.com/OpenSC/OpenSC/releases/download/" + version + "/" + latest_dmg
print("Latest " + app_name + " version is: " + version)
# Downloading latest binaries
if not isfile(latest_dmg):
print("Downloading: " + latest_dmg)
wget(url_dl, latest_dmg, proxies=proxy)
# Changing version of the package
control.version = "%s-%s" % (version, int(control.version.split("-")[-1]) + 1)
control.save_control_to_wapt()
print("Changing version to: %s in WAPT\\control" % control.version)
# Deleting outdated binaries
for bin_in_dir in glob.glob("*.dmg"):
if bin_in_dir != latest_dmg:
print("Outdated binary: " + bin_in_dir + " Deleted")
remove_file(bin_in_dir)
13370ea18678a53e2567fc1256bcf7a590e40ccf1c3362a24a805c3e9b5d07bf : OpenSC-0.27.1.dmg
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
fc9dae1bcb82e32f73d9dda8ef114ae638623848845217af7e98f3b6a703d705 : WAPT/control
b80b143a5ab7954131c83e41e21b34607c7ed9a02d307f064c3099ec6a342f62 : WAPT/icon.png
a06a592adc97347e0970240fdba0e31d0400980776e25d13c6b470d390dcfad8 : luti.json
96276292abca0c4e498d5b0a3b89a14d03cbc8b05ffdafb17014f066c252a0f5 : setup.py
b361046791ce5e39dbf115fcbd9e7b510e9b1ec5f34787949d72bf5a31761675 : update_package.py