Wireshark-commits: [Wireshark-commits] master e754937: WireGuard: implement decryption with PSKs
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 08 Aug 2018 11:26:36 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e7549372515dbef74f4764a36a6b1a408087cf59
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

e754937 by Peter Wu (peter@xxxxxxxxxxxxx):

    WireGuard: implement decryption with PSKs
    
    This imposes an additional requirement on the key log file, PSKs are
    only linked to the most recently seen ephemeral key. This means that the
    key log might contain duplicate PSK lines, but at least the dissector
    won't have to try all keys and thereby save CPU time.
    
    Bug: 15011
    Change-Id: I368fa16269c96c4a1ff3bcb4e376c21f38fa2689
    Reviewed-on: https://code.wireshark.org/review/28993
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  50a0a71   WireGuard: decrypt transport data
     add  e754937   WireGuard: implement decryption with PSKs


Summary of changes:
 epan/dissectors/packet-wireguard.c | 124 +++++++++++++++++++++++++++++++++----
 test/captures/wireguard-psk.pcap   | Bin 0 -> 736 bytes
 test/suite_decryption.py           |  68 ++++++++++++++++++++
 3 files changed, 181 insertions(+), 11 deletions(-)
 create mode 100644 test/captures/wireguard-psk.pcap