Ask Your Question

How to decrypt data?

asked 2022-06-01 19:51:33 +0000

Lexy09 gravatar image

updated 2022-06-02 17:33:52 +0000

grahamb gravatar image

I’m not even a beginner but have downloaded Wireshark on my mac to monitor my home WiFi network.

I’m trying to decrypt the data but can’t manage to find the sore-master key. I’ve tried terminal and nano and used the help below but I haven’t had success. Can anyone help?


Open Launchpad, click Other, and launch a terminal to run this command in Mac OSX:

nano ~/.bash_profile

The following steps are the same for both operating systems.

At the end of the file, add this line:

Bash Command

export SSLKEYLOGFILE=~/.ssl-key.log

Press Ctrl+X, Y to save your changes.

Bash Profile

Close the terminal window and open another to set the variable, then type the following to confirm it’s been set successfully:


After you execute the command, you should see output similar to the image above. /Users/comparitech/.ssl-key.log is the full path to my SSL pre-master key log. Note: You’ll want to make a note of yours, which will be different, to enter in Wireshark.

Now that the variable has been set, you can move on to the next set of steps.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2022-06-02 13:37:28 +0000

Jaap gravatar image

...and the next steps involve a web browser that is used to connect to a website using HTTPS?

Because that is what is involved with using $SSLKEYLOGFILE, decryption of TLS connections with web browsers acknowledging $SSLKEYLOGFILE.

If your purpose is to monitor the WiFi network you'll have to start looking at monitor mode, setting of decryption parameters in IEEE 802.11 preferences. And even then, newer Macs may need even more hoops to jump through.

edit flag offensive delete link more


Thanks for your reply, much appreciated.

I just don’t get any joy with seeing this step: Users/comparitech/.ssl-key.log

It is a new Mac so this could be the issue.

Is there any other software you think could be used to decrypt for n mac?

I’m wanting to monitor my home WiFi - apps, browsers visited as I’m worried my daughter is getting bullied. I know you can’t see exactly what is written or anything but just an idea of what is accessed and when would be a big help.

Thanks again for helping a beginner!!

Lexy09 gravatar imageLexy09 ( 2022-06-02 14:23:42 +0000 )edit

Can you get any sort of paid help to decrypt these files?


Lexy09 gravatar imageLexy09 ( 2022-06-03 13:06:52 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2022-06-01 19:51:33 +0000

Seen: 681 times

Last updated: Jun 03 '22