This is our old Q&A Site. Please post any new questions and answers at

I am running Wireshark 1.8.2 on a Windows 7 x64 client and I am trying to add a new wireless decription key for WPA-PWD. After specifying the type, passphrase and SSID, I click the Ok button and the key shows up in the "Decryption Key Management" window as a new key. I then click the Ok button which closes the window but then when I go back to the decryption keys, it is gone. How do I save the encryption keys? Is there a Registry entry that I can manually create?

Thanks in advance for any help you can provide.

asked 06 Dec '12, 09:39

eagle3089's gravatar image

accept rate: 0%

The keys should be saved, at least that's what my version of Wireshark does.

Anyway: The keys are stored in this file:




where xxxx is the name of your pofile. The syntax of the file is like this:

# This file is automatically generated, DO NOT MODIFY.

Instead of wep, you can use whatever is available in the drop-down list in the GUI. The key format is as shown in the GUI (Preferences).


permanent link

answered 06 Dec '12, 10:01

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
accept rate: 15%

Thanks Kurt but after modifying the file, when I started Wireshark, I got an error as shown in the following screen shot.

alt text

The entry I made was as follows.


What is the propper syntax for a WPA-PWD entry?

(06 Dec '12, 10:32) eagle3089

according to the code, the key should be in this format.

WPA-PWD should be in the form
<key data>[:<ssid>]

So, the file should be:


However, Wireshark 1.8.4 does not accept that format, so there seems to be a bug in the key parsing function or the wrong string is passed to that function.


Please file a bug report at


(06 Dec '12, 14:35) Kurt Knochner ♦

Hi Kurt. I will go ahead and get a bug filed as you suggested. However, I will be flying cross country to a customer site next month to troubleshoot wireless networking issues they are having between their access points and our product and will need to be able to decrypt the traffic (they are using WPA-PWD). Is there an older version that works?

Thanks for the help.

(07 Dec '12, 07:34) eagle3089

1.6.12 seems to be working. The key is entered in a different way, but it is stored correctly in the preferences file.

wlan.wep_key1: wpa-pwd:mypasswd:myssi

(07 Dec '12, 07:43) Kurt Knochner ♦

I have the same problem still with 1.8.5 are there any updates to this?

(20 Feb '13, 10:09) wmann
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 06 Dec '12, 09:39

question was seen: 4,795 times

last updated: 20 Feb '13, 11:37

p​o​w​e​r​e​d by O​S​Q​A