why is my WiFi SSID redacted?

upgraded to 15.6 and "ipconfig getsummary en0" now only ever gives me that my Wi-Fi SSID is <redacted>

the airport command line is now defunct, I've also tried "ioreg -l -n AirportDriver |grep 80211SSID"  and also got <SSID Redacted>

networksetup -getinfo Wi-Fi only gives me a mac address for my Wi-Fi

I know I can get it from the GUI but I want a script that compares my current SSID with a list I have of trusted Wi-Fi SSID's which I was able to run on 15.5 - but now cannot

Have I missed something or should I report this as a new feature?

MacBook Air 13″, macOS 15.6

Posted on Jul 31, 2025 9:24 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 31, 2025 12:04 PM

This still works on Sequoia v15.6, though I am not aware of any other command line utility that will retrieve anything other than redacted status. Even a Swift application that got this right earlier in the Sequoia release cycle now returns zilch.

system_profiler SPAirPortDataType | awk '/Current Network/ {getline;$1=$1; gsub(":",""); print;exit}'



37 replies

Jul 31, 2025 2:33 PM in response to Renchu

FWIW, using

ipconfig getsummary en0

in Terminal On my MacBook Air running Sequoia 15.5 (have not updated to 15.6 yet) provided the full un-redacted SSID name.


InterfaceType : WiFi

LinkStatusActive : TRUE

NetworkID : REDACTED BY ME

SSID : myFULLSSIDHERE

Security : WPA2_PSK



So I can only assume it has something to do with the script you are using.


Have you tested the command outside of a script. Just straight into Terminal?

Jul 31, 2025 2:53 PM in response to Renchu

Renchu wrote:

upgraded to 15.6 and "ipconfig getsummary en0" now only ever gives me that my Wi-Fi SSID is <redacted>
the airport command line is now defunct, I've also tried "ioreg -l -n AirportDriver |grep 80211SSID"  and also got <SSID Redacted>
networksetup -getinfo Wi-Fi only gives me a mac address for my Wi-Fi
I know I can get it from the GUI but I want a script that compares my current SSID with a list I have of trusted Wi-Fi SSID's which I was able to run on 15.5 - but now cannot
Have I missed something or should I report this as a new feature?



The 3 commands as posted above:


This does happen to be a Hotspot...( my NetworkID redaction in red)


for comparison only.




Intel MBP macoS 15.6

Aug 6, 2025 7:44 AM in response to VikingOSX

As an aside I tried your code on a VM running Tahoe and it all worked well to get python to be authorised - although interestingly it didn't ask me if I wanted to allow authorisation - but I could give it permission once the script had run

Python was installed as Homebrew like the machine it is running on, but on the machine I was asked to give permission the first time I ran it

The only annoying part is that because it's a VM I can't easily test how well it picks up the WiFi info as that returns a NoneType due to the VM faking my network connection as ethernet.


Aug 18, 2025 12:35 PM in response to Renchu

hmm the code is now returning None for both it was working fine upto about 7pm tonight - I then did ran a brew update and that upgrade python to 3.13.7 - but I cannot see how that would make any difference to the functionality of CoreWLAN and CoreLocation - it is returning that authorization is there, the interface is en0 but the SSID and BSSID are both None - I may have to go with the shortcuts option now

Aug 18, 2025 1:05 PM in response to Renchu

We simply cannot discuss any Apple beta products in these public communities. Beta products are works in progress, and may yield expected results when you run Python 3.13.* on Tahoe, or pyobjc references to CoreWLAN when that version of Python or pyobjc may not have been made compatible with Tahoe yet.


Had you followed my instructions for the Python/pobjc installation and tested it on Sequoia v15.6, it would work as expected. I provide no support for anything you are doing on Tahoe.

Aug 18, 2025 1:37 PM in response to VikingOSX

I am running this on Sequoia 15.6 - the Tahoe comment in a previous reply was just a comment that I tried it on a VM running Tahoe - and I wouldn't expect any help here with anything not working on that setup.


I just can't see in the changelog for python 3.13.7 anything that would in theory break this but it's the only thing that changed between it working and not on 15.6


Anyways for now I'll use the shortcuts route until I can work out what is causing it to return None on my setup

Oct 20, 2025 10:23 PM in response to VikingOSX

Great one, had to signup to thank you.

Every MacOs upgrade they limit our ability to get the SSID, this last time your answer was my answer, and this one might last a few upgrades.


In my setup your shared script turned into:

from CoreWLAN import CWWiFiClient

default_iface = CWWiFiClient.sharedWiFiClient().interface()
default_ssid = default_iface.ssid()
print(default_ssid)

I did not know about pyobjc but seems like it comes with a ton of goodies to explore 👊🏽🫵🏽🖖🏼

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

why is my WiFi SSID redacted?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.