Artifact e76bd4c2b0e363d98f59d4488affa80932a89489:
- Executable file build/cackey_osx_build/Template_pmbuild/scripts/04pkcs11tokend-post.sh — part of check-in [56006440a0] at 2016-09-22 19:59:51 on branch trunk — Updated CACKey macOS Install and Uninstall Scripts to try harder to disable CryptoTokenKit support after the GM release started ignoring some methods (user: kvanals, size: 429) [annotate] [blame] [check-ins using]
#!/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 defaults write /Library/Preferences/com.apple.security.smartcard DisabledTokens -array com.apple.CryptoTokenKit.pivtoken fi