Diff

Differences From Artifact [a3cf8e39fd]:

To Artifact [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