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 09: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}'



32 replies

Aug 6, 2025 07: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 6, 2025 08:06 AM in response to Renchu

After I installed Python 3.13.5 from the Python.org installer (which places the binaries in /usr/local/bin), I installed the virtualenv package. I maintain a py_projects folder in my home directory where I can create virtual python environments to isolate specific versions of Python.


Thus:

pip3 install -U virtualenv
cd ~/py_projects
virtualenv -p /usr/local/bin/python3.13.5 env3135


Now there is a folder in that py_projects named env3135 that contains Python 3.13.5.


In my ~/.zshrc file, I enter a new function:

thispy () { source ~/py_projects/"$@"/bin/activate && cd ~/py_projects/"$@" }


and update the Zsh in the Terminal:

source ~/.zshrc


and then switch to that active Python 3.13.5 environment:

thispy env3135


Now, I can install pip, pyobjc, or any other package into that environment:

pip3 install -U pip pyobjc


and run the ssid.py script:

./ssid.py


When I am done with the specific env3135 environment, I can deactivate it:

deactivate
cd -


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 01: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 01: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

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.