I don't use a Mac but Linux, and yes, I can sign and encrypt/decrypt. Also, I use Nitrokey instead of Yubikey, but it's the same principle...