aboutsummaryrefslogtreecommitdiffstats
path: root/test/config/80211_keys.user_tk_tmpl
diff options
context:
space:
mode:
authorMikael Kanstrup <mikael.kanstrup@sony.com>2020-05-22 21:32:38 +0200
committerAnders Broman <a.broman58@gmail.com>2020-06-01 07:23:56 +0000
commit42544c8c44c12b45ff6c156cd3e6e8c1b23e150e (patch)
tree4ea308a74570fefa5f90fe32c2eb2c7418067ffe /test/config/80211_keys.user_tk_tmpl
parentf1bc8ad34b55cba7234536483d42c551fc3b2f17 (diff)
dot11decrypt: Support decryption using TK user input
Add support for TK user input keys. With this Wireshark can decrypt packet captures where 4WHS frames are missing and packet captures with non-supported AKMS, for example 802.11r / Fast BSS Transitioning. Decryption using user TK works as a backup if the normal decryption flow does not succeed. Having TK decryption keys added will affect general IEEE 802.11 dissector performance as each encrypted packet will be tested with every TK. Worst case scenario is plenty of TKs where none of them matches encrypted frames. On successful user TK decryption an SA is formed based on parameters used to decrypt the frame. This SA is similar to what is formed when Wireshark detects and derive keys from 4WHS messages. With the SA entry in place the decryption performance (success case) should be on par with "normal" decryption flow. Bug: 16579 Change-Id: I72c2c1e2c6693131d3ba07f8ddb8ff772c1b54a9 Reviewed-on: https://code.wireshark.org/review/37217 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'test/config/80211_keys.user_tk_tmpl')
-rw-r--r--test/config/80211_keys.user_tk_tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/config/80211_keys.user_tk_tmpl b/test/config/80211_keys.user_tk_tmpl
new file mode 100644
index 0000000000..f8f336137b
--- /dev/null
+++ b/test/config/80211_keys.user_tk_tmpl
@@ -0,0 +1,12 @@
+# Keys needed for the 80211 user TK test cases in decryption test suite
+"tk","d0e57d224c1bb8806089d8c23154074c"
+"tk","6eaf63f4ad7997ced353723de3029f4d"
+"tk","fb42811bcb59b7845376246454fbdab7"
+"tk","4e30e8c019bea43ea5262b10853b818d"
+"tk","70cdbf2e5bc0ca22e53930818a5d80e4"
+"tk","4e6abbcf9dc0943936700b6825952218f58a47dfdf51dbb8ce9b02fd7d2d9e40"
+"tk","502085ca205e668f7e7c61cdf4f731336bb31e4f5b28ec91860174192e9b2190"
+"tk","755a9c1c9e605d5ff62849e4a17a935c"
+"tk","7ff30f7a8dd67950eaaf2f20a869a62d"
+"tk","b3dc2ff2d88d0d34c1ddc421cea17f304af3c46acbbe7b6d808b6ebf1b98ec38"
+"tk","a745ee2313f86515a155c4cb044bc148ae234b9c72707f772b69c2fede3e4016"