Commit Graph

92 Commits

Author SHA1 Message Date
Frank Morgner 1a656f2abe use OpenPACE 1.1.0 2019-04-25 15:44:11 +02:00
Frank Morgner b06398c1af macOS: install man, doc, completion to /usr/local 2019-04-25 14:49:40 +02:00
Frank Morgner 8f2b4c7923 macos: use hierarchical layout for installer 2019-04-18 01:42:58 +02:00
Frank Morgner 46930fc0c4 added missing outline-choice 2019-04-08 11:16:13 +02:00
Frank Morgner 79306833bf fixed typo 2019-04-08 11:16:13 +02:00
Frank Morgner 066c30bb4e opensc-notify: add to autostart 2019-04-08 11:16:13 +02:00
Frank Morgner 6f9b58af72 added pkcs11-register 2019-04-08 11:16:13 +02:00
Frank Morgner f3d8ad9f90 macOS: fixed propagating OpenPACE flags 2019-04-03 14:50:04 +02:00
Raul Metsma f341b758e6 Add installer option to deselect tokend
Signed-off-by: Raul Metsma <raul@metsma.ee>
2019-03-11 23:22:11 +01:00
Frank Morgner f453c412b6 Simulate and test Open Source Java Card Applets
Compiles jCardSim, IsoApplet, GidsApplet, ykneo-openpgp, PivApplet as described [here](https://github.com/OpenSC/OpenSC/wiki/Smart-Card-Simulation).  Thanks to https://github.com/arekinath/jcardsim/ this is now also possible on Linux in combination with https://github.com/frankmorgner/vsmartcard.

Travis-CI now also runs some basic personalization and PKCS#11-tests.

This commit also adds caching of apt, brew and maven packages as well as the OpenSSL/OpenPACE build on macOS
2019-01-15 00:10:55 +01:00
Frank Morgner 027ccad439 allow specifying the size of OpenSSL secure memory
... and set it for builds where we're linking OpenSSL statically (i.e.
Windows and macOS)

fixes https://github.com/OpenSC/OpenSC/issues/1515
2018-11-13 15:50:17 +01:00
Frank Morgner 5a25bd33cc macos: use HFS+ for backward compatibility
fixes https://github.com/OpenSC/OpenSC/issues/1398
2018-08-24 09:27:13 +02:00
Frank Morgner 318329d5b7 macOS: disable notifications only in PKCS#11 module
basically reverts
c35eb1c9bc
by applying a more selective fix for
https://github.com/OpenSC/OpenSC/issues/1174
2018-04-27 23:16:14 +02:00
David Ward 841e13c9c1 macOS: Update description at top of MacOSX/build-package script
Explicitly mention that this script builds the tokend and command
line tools (as it does not build the CryptoTokenKit app extension).

Add two missing packages in the list of build dependencies.
2018-04-25 13:01:49 +02:00
David Ward bddef2485f macOS: Remove unused build code for the CryptoTokenKit app extension
OpenSCToken (https://github.com/frankmorgner/OpenSCToken) is now a
standalone package that provides the CryptoTokenKit app extension.
It includes its own 'build-package' script, which handles building
the OpenSC library and statically linking against it.

The 'MacOSX/' directory in OpenSC itself is only used to build the
macOS tokend. Remove unused code for building a CryptoTokenKit app
extension from this directory (which no longer works). This should
help to avoid confusion when building OpenSC for macOS.
2018-04-25 13:01:49 +02:00
Frank Morgner 74e7200c31 macOS: fixed detection of OpenPACE package 2017-12-19 12:52:50 +01:00
Frank Morgner 47993116da macOS High Sierra: fixed dmg creation
fixes https://github.com/OpenSC/OpenSC/issues/1198
2017-12-05 08:27:55 +01:00
Frank Morgner 0211f638c3 only set MACOSX_DEPLOYMENT_TARGET
which is equivalent to use -mmacosx-version-min
2017-11-17 10:04:46 +01:00
Frank Morgner 9a2a62e641 fixed codesigning of opensc tools 2017-11-17 10:04:46 +01:00
Frank Morgner c35eb1c9bc macOS: Disable notifications by default
fixes https://github.com/OpenSC/OpenSC/issues/1174
2017-11-17 10:04:46 +01:00
Frank Morgner 027205cc4d use MACOSX_DEPLOYMENT_TARGET 2017-11-17 10:04:46 +01:00
Frank Morgner 718d4852da use pluginkit to register OpenSCToken 2017-11-17 10:04:46 +01:00
Frank Morgner 20ea45b8f1 allow static linking of OpenSCToken 2017-11-17 10:04:46 +01:00
Frank Morgner c9984ca762 MacOS: optionally use CTK in package builder 2017-11-17 10:04:46 +01:00
Frank Morgner ce3f27ff54 opensc-notify: notify for card events
... manually or in daemon mode

fixes compilation in MinGW/Travis CI
2017-08-02 19:04:09 +02:00
Frank Morgner bf828014e5 macOS: Added support for notifications
- adds framework for user defined message strings
- automatically determine the system's language
2017-08-02 19:02:05 +02:00
Frank Morgner 74ec7b04ff sc-hsm: Add support for SoC
- eac: allow CA without EF.CardSecurity
- sc-hsm: implemented CA based on document PKI
- sc-hsm: adds receive limit for SoC card
- introduces dedicated card type for SoC card
- md: integrate card's PIN pad capabilities
- installer: added SC-HSM SoC card to registry
- pkcs15-tool: Added support for PIN entry on card
- change/unblock PIN: add support for PIN entry on card
- added OpenPACE to macOS build
- travis-ci: install gengetopt/help2man via brew
- sc-hsm: Cache EF.C_DevAut
- sc-hsm: Prevent unnecessary applet selection and state resets
- sc-hsm: added support for session pin
- sc-hsm: avoid multiple AID selection
- sc-hsm: Use the information from match_card for all subsequent selections of the applet
- sc-hsm: cache optional files as empty files (Decoding the files will reveal that they were not existing prior caching. This avoids selecting the file though we have already tried to cache the file before.)
- use dedicated directory for CVC trust anchors
- appveyor: added OpenPACE to windows build
2017-05-22 16:25:08 +02:00
Frank Morgner e23960f793 Fixed ssh's pkcs11 usage on macOS
copy (instead of link) our pkcs11 libraries to the default location, which is whitelisted for ssh usage

fixes https://github.com/OpenSC/OpenSC/issues/1008
2017-05-13 23:41:12 +02:00
Raul Metsma 890d97816e Use $(xcrun --sdk macosx --show-sdk-path) to parse SDK_PATH
Signed-off-by: Raul Metsma <raul@metsma.ee>
2017-03-03 09:11:08 +01:00
Frank Morgner e8b5dcfaa6 macOS: Simplyfy installer
- integrated readme into welcome screen
- removed explicit user consent to LGPL in accordance to
  https://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#ClickThrough
2017-02-20 21:37:44 +01:00
Frank Morgner 25f785e482 macOS: Use a better Uninstaller
An apple script converted to an App calls the local
/usr/local/bin/opensc-uninstall
2017-02-20 21:37:44 +01:00
Frank Morgner c4a99517af only build opensc when needed 2016-10-31 12:34:10 +01:00
Ludovic Rousseau b1aa79058a MacOSX/build-package: fix build for make multi jobs
If --jobs=... argument is used for make (or the equivalent MAKEFLAGS is
defined) then the command "make clean update depend" fails because the 3
actions must be done in sequence and not in parallel.
2016-10-14 14:12:15 +02:00
Ludovic Rousseau 0f69949bbf MacOSX: fix OpenSSL check in build-package.in
OpenSSL is configured to be installed in $PREFIX so the files should be
checked in $BUILDPATH/openssl_bin/$PREFIX/lib/pkgconfig and not
$BUILDPATH/openssl_bin/lib/pkgconfig
2016-10-14 14:02:21 +02:00
Frank Morgner c524930e2b use a user defined PKG_CONFIG_PATH
closes https://github.com/OpenSC/OpenSC/pull/779
2016-06-04 01:36:53 +02:00
scootersmk ee6fd3a09a Update reference URLs in ReadMe.html.in
RSA.com link broken due to move to EMC site.

Closes https://github.com/OpenSC/OpenSC/pull/763
2016-05-23 11:29:38 +02:00
Frank Morgner 8dcdf204af build OpenSSL on OS X if needed 2016-05-23 11:29:34 +02:00
Frank Morgner 4a3e986f8e build 64 bit binaries only
Starting with OS X 10.8 only 64 bit binaries are needed
2016-05-23 11:29:28 +02:00
Ludovic Rousseau b3f5910c27 macosx: do not ignore CFLAGS
Reused the previously defined CFLAGS to add new arguments.
2016-02-29 20:19:42 +01:00
Frank Morgner fd67f794f1 Added minimum version of OS X to pkg 2015-11-03 00:03:17 +01:00
Frank Morgner 5422887f9b reflect dependency to OS X 10.10 in dmg description 2015-10-14 14:34:20 +02:00
Frank Morgner bccf2120cd use PREFIX as shortcut in build script 2015-10-13 15:05:28 +02:00
Frank Morgner 66415690d9 OSX: link pkcs11 library to /usr/local/lib
Circumvents SIP on El Capitan
2015-10-13 15:01:40 +02:00
Frank Morgner da1d4cc78a Fix locking issue on OS X
Works around Apple shipping PCSC-Lite headers without PCSC-Lite. Let's
say they do it for "backward compatibility"...
2015-10-08 08:24:40 +02:00
Frank Morgner 989c06b25d OSX: don't ship with libp11/engine_pkcs11 anymore
both spin off projects should ship with a separate installer. See
discussion here https://github.com/OpenSC/OpenSC/issues/488
2015-09-16 03:52:00 +02:00
Frank Morgner a52b2928cd retry on error with hdiutil 2015-09-03 08:22:50 +02:00
Raul Metsma 4fedad53dd Fix tokend install on OSX 10.11
Install to /Library/Security/tokend instead /System/Library/Security/tokend
http://forums.macrumors.com/threads/os-x-10-11-all-the-little-things.1890519/
/System folder is readonly

Depends https://github.com/OpenSC/OpenSC.tokend/pull/16

Signed-off-by: Raul Metsma <raul@metsma.ee>
2015-07-30 20:31:09 +03:00
Frank Morgner a251b9335c use xcodebuild with `-target OpenSC`
patch by Dirk-Willem van Gulik
2015-03-31 23:57:19 +02:00
Martin Paljak 5448901160 macosx: update the minimal building instructions. 2014-10-26 11:48:57 +02:00
Martin Paljak 82624a98b7 macosx: locate and target the latest SDK to build against. 2014-10-25 20:07:36 +03:00