Check-in [56006440a0]
Overview
Comment:Updated CACKey macOS Install and Uninstall Scripts to try harder to disable CryptoTokenKit support after the GM release started ignoring some methods
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:56006440a0a64e25edaa4d486769a3476dacffb5
User & Date: kvanals on 2016-09-22 19:59:51
Other Links: manifest | tags
Context
2016-10-18
18:14
Added CACKey Uninstaller for macOS into the installer package (/usr/local/bin/cackey_osx_uninstall.sh), removed the extra macOS uninstaller script from the build tree, and updated the macOS build script to use the new SHA-256 hash of the external PKCS11.tokend (which now supports SHA-2 (256/384/512)) check-in: a8231fc377 user: kvanals tags: trunk
2016-09-22
19:59
Updated CACKey macOS Install and Uninstall Scripts to try harder to disable CryptoTokenKit support after the GM release started ignoring some methods check-in: 56006440a0 user: kvanals tags: trunk
2016-08-19
17:20
CACKey 0.7.6 check-in: be8c9e6769 user: kvanals tags: trunk, 0.7.6
Changes

Modified build/cackey_osx_build/Template_pmbuild/scripts/04pkcs11tokend-post.sh from [a3cf8e39fd] to [e76bd4c2b0].

     1      1   #!/bin/bash
     2      2   chmod -R go+rX /Library/Security/tokend/PKCS11.tokend
     3      3   chown -R root:wheel /Library/Security/tokend/PKCS11.tokend
     4      4   
     5      5   # If on Sierra or newer, disable the pivtoken CryptoTokenKit
     6      6   if [ "`uname -r | cut -d '.' -f 1`" -ge "16" ]; then
     7      7   	security smartcards token -d com.apple.CryptoTokenKit.pivtoken
            8  +	defaults write /Library/Preferences/com.apple.security.smartcard DisabledTokens -array com.apple.CryptoTokenKit.pivtoken
     8      9   fi

Modified build/cackey_osx_build/cackey_osx_uninstall.sh from [8af387a7bd] to [92a8124c4c].

    20     20   	pkgutil --forget ${package}
    21     21   done
    22     22   
    23     23   # If on Sierra or newer, reenable the pivtoken CryptoTokenKit
    24     24   echo "Reenabling the builtin pivtoken CryptoTokenKit..."
    25     25   if [ "`uname -r | cut -d '.' -f 1`" -ge "16" ]; then
    26     26   	security smartcards token -e com.apple.CryptoTokenKit.pivtoken
           27  +	defaults delete /Library/Preferences/com.apple.security.smartcard DisabledTokens -array com.apple.CryptoTokenKit.pivtoken
    27     28   fi