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
2
3





#!/bin/bash
chmod -R go+rX /Library/Security/tokend/PKCS11.tokend
chown -R root:wheel /Library/Security/tokend/PKCS11.tokend








>
>
>
>
>
1
2
3
4
5
6
7
8
#!/bin/bash
chmod -R go+rX /Library/Security/tokend/PKCS11.tokend
chown -R root:wheel /Library/Security/tokend/PKCS11.tokend

# If on Sierra or newer, disable the pivtoken CryptoTokenKit
if [ "`uname -r | cut -d '.' -f 1`" -ge "16" ]; then
	security smartcards token -d com.apple.CryptoTokenKit.pivtoken
fi

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

15
16
17
18
19
20
21






rm -rf /Library/Security/tokend/PKCS11.tokend

# Forget about packages installed
echo "Removing saved Mac OS X package information for CACKey..."
for package in `pkgutil --pkgs | grep -i CACKey`; do
	pkgutil --forget ${package}
done













>
>
>
>
>
>
15
16
17
18
19
20
21
22
23
24
25
26
27
rm -rf /Library/Security/tokend/PKCS11.tokend

# Forget about packages installed
echo "Removing saved Mac OS X package information for CACKey..."
for package in `pkgutil --pkgs | grep -i CACKey`; do
	pkgutil --forget ${package}
done

# If on Sierra or newer, reenable the pivtoken CryptoTokenKit
echo "Reenabling the builtin pivtoken CryptoTokenKit..."
if [ "`uname -r | cut -d '.' -f 1`" -ge "16" ]; then
	security smartcards token -e com.apple.CryptoTokenKit.pivtoken
fi