Differences From Artifact [5cfe13de6d]:
- Executable file build/cackey_osx_build/cackey_osx_uninstall.sh — part of check-in [976efa3ffc] at 2015-09-25 19:17:54 on branch trunk — Added uninstall script for CACKey on Mac OS X, to be made available for download by popular demand. (user: kvanals, size: 677) [annotate] [blame] [check-ins using]
To Artifact [8af387a7bd]:
- Executable file build/cackey_osx_build/cackey_osx_uninstall.sh — part of check-in [e2fd50bfda] at 2016-08-19 16:32:51 on branch trunk — 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 (user: kvanals, size: 917) [annotate] [blame] [check-ins using]
︙ | |||
15 16 17 18 19 20 21 | 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 |