Using IOKit framework do disable/enable the yubikey, it works :)