In the context of a system utility that reports OS stats periodically, the security type for a connected WiFi network could be obtained with Core WLAN via CWInterface.security
.
This used to work up to Ventur; howver, after upgrading to Sonoma, cwInterface.security
now returns kCWSecurityUnknown
.
In other posts, I have read about changes in how Core WLAN works which are related to Sonoma.
How can I determine the security type for a connected WiFi network on Sonoma? It would be preferable if the suggested approach would also work on previous macOS versions as well.
Many thanks in advance! :-)