A somewhat hidden feature of MacOS is that it has excellent builtin support for PIV (smartcard) authentication. In this guide, we'll go through how to set that up. In this example we'll be using yubikey 5's as our smartcards. This may require you to alter some commands used in this guide. Prerequisites If you are using yubico's piv tool you should install it from yubico's site for the signed binaries rather than installing from homebrew. You should also have a plan for how you want to use you...