macOS: WiFi security type on Sonoma

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! :-)

Replies

AFAIK you’re in the same boat as the folks in the other thread you referenced. I’m not aware of any way to get this info other than using Core WLAN.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

As of build 23E214,21T216 the issue is fixed.

  • Yay! Thanks for closing the loop.

Add a Comment