Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add support for development signing using SoftHSMv2 on macOS
See ukf/ukf-meta#221.
iay committed Jun 8, 2020
1 parent bcd743e commit 41514e4
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions macosx.properties
@@ -28,6 +28,10 @@ sign.uk.pkcs11Config = ${basedir}/mdx/uk/opensc-mac.cfg
# For a Yubikey, use this override in build.properties:
#
#sign.uk.pkcs11Config = ${basedir}/mdx/uk/yubikey-mac.cfg
#
# For the SoftHSMv2 soft token, use this override in build.properties:
#
#sign.uk.pkcs11Config = ${basedir}/mdx/uk/softhsm-mac-macports.cfg

#
# Signing key alias within the keystore.
8 changes: 8 additions & 0 deletions mdx/uk/softhsm-mac-macports.cfg
@@ -0,0 +1,8 @@
#
# PKCS#11 provider configuration for for SoftHSM running under macOS.
#
# Note: this configuration assumes that SoftHSM has been installed using
# the MacPorts system.
#
name = SoftHSM
library = /opt/local/lib/softhsm/libsofthsm2.so

0 comments on commit 41514e4

Please sign in to comment.