Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow for OpenSC variants on macOS
See ukf/ukf-meta#221.
iay committed Jun 8, 2020
1 parent af6ab08 commit 00c9607
Showing 3 changed files with 37 additions and 0 deletions.
9 changes: 9 additions & 0 deletions macosx.properties
@@ -9,7 +9,16 @@
#
# Location of the PKCS#11 configuration file for OpenSC on Mac OS X.
#
# This varies depending on which version of OpenSC is installed.
#
# If the standard installer was used:
#
sign.uk.pkcs11Config = ${basedir}/mdx/uk/opensc-mac.cfg
#
# If the MacPorts system was used, override this by placing the following
# definition in the local build.properties file:
#
#sign.uk.pkcs11Config = ${basedir}/mdx/uk/opensc-mac-macports.cfg

#
# Signing key alias within the keystore.
15 changes: 15 additions & 0 deletions mdx/uk/opensc-mac-macports.cfg
@@ -0,0 +1,15 @@
#
# PKCS#11 provider configuration for for OpenSC running under Mac OS X
#
# Note: this configuration assumes that OpenSC has been installed using
# the MacPorts system.
#
# sudo port install opensc
#
# This version installs in /opt/local.
#
# If OpenSC has been installed using the standard installer, use opensc-mac.cfg
# instead.
#
name = OpenSC
library = /opt/local/lib/pkcs11/opensc-pkcs11.so
13 changes: 13 additions & 0 deletions mdx/uk/opensc-mac.cfg
@@ -1,3 +1,16 @@
#
# PKCS#11 provider configuration for for OpenSC running under Mac OS X
#
# Note: this configuration assumes that OpenSC has been installed using
# the standard installer as described here:
#
# https://github.com/OpenSC/OpenSC/wiki/macOS-Quick-Start
#
# This version installs in /Library/OpenSC and /usr/local, and
# includes a token driver.
#
# If OpenSC has been installed using MacPorts, use opensc-mac-macports.cfg
# instead.
#
name = OpenSC
library = /Library/OpenSC/lib/pkcs11/opensc-pkcs11.so

0 comments on commit 00c9607

Please sign in to comment.