Check-in [e2fd50bfda]
Overview
Comment:Updated CACKey Apple Mac macOS OS X Postinstall and Uninstall scripts to properly disable and enable builtin conflicting OS components when on 10.12 "Sierra" or newer
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:e2fd50bfda081706eb375f340c28789d428c109a
User & Date: kvanals on 2016-08-19 16:32:51
Other Links: manifest | tags
Context
2016-08-19
17:20
CACKey 0.7.6 check-in: be8c9e6769 user: kvanals tags: trunk, 0.7.6
16:32
Updated CACKey Apple Mac macOS OS X Postinstall and Uninstall scripts to properly disable and enable builtin conflicting OS components when on 10.12 "Sierra" or newer check-in: e2fd50bfda user: kvanals tags: trunk
2016-04-26
18:04
ChromeOS: Updated PIN dialog (untested) check-in: 317e74ef9b user: rkeene tags: trunk
Changes

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

     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  +
            5  +# If on Sierra or newer, disable the pivtoken CryptoTokenKit
            6  +if [ "`uname -r | cut -d '.' -f 1`" -ge "16" ]; then
            7  +	security smartcards token -d com.apple.CryptoTokenKit.pivtoken
            8  +fi

Modified build/cackey_osx_build/cackey_osx_uninstall.sh from [5cfe13de6d] to [8af387a7bd].

    15     15   rm -rf /Library/Security/tokend/PKCS11.tokend
    16     16   
    17     17   # Forget about packages installed
    18     18   echo "Removing saved Mac OS X package information for CACKey..."
    19     19   for package in `pkgutil --pkgs | grep -i CACKey`; do
    20     20   	pkgutil --forget ${package}
    21     21   done
           22  +
           23  +# If on Sierra or newer, reenable the pivtoken CryptoTokenKit
           24  +echo "Reenabling the builtin pivtoken CryptoTokenKit..."
           25  +if [ "`uname -r | cut -d '.' -f 1`" -ge "16" ]; then
           26  +	security smartcards token -e com.apple.CryptoTokenKit.pivtoken
           27  +fi