Hi there,
I could not find any previous post about this so I figured I should open one.
It looks like the use of CryptoTokenKit modules (whether SmartCard or Persistent ones) is hindered on headless environments. This was observed on AWS backed macOS machines, and also on actual physical machines when using CI/CD tools with no GUI access.
My first guess is that this is due to the fact that loading the CTK Extension relies on running the GUI CTK App, which is not possible in pure headless fashion.
The bug report FB12135879 was filled in this regard. Any input on this would be appreciated.
Thanks,