From e6a6de2994aac608ecdeba59a82b5d17b5e55bc8 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 29 Nov 2017 12:12:31 +0200 Subject: [PATCH] tests: Generate DPP Config Object for legacy network (PSK) Signed-off-by: Jouni Malinen --- tests/hwsim/test_dpp.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py index 901a929ca..5898d7747 100644 --- a/tests/hwsim/test_dpp.py +++ b/tests/hwsim/test_dpp.py @@ -890,6 +890,12 @@ def test_dpp_config_legacy_gen(dev, apdev): init_extra="conf=sta-psk pass=%s" % "passphrase".encode("hex"), require_conf_success=True) +def test_dpp_config_legacy_gen_psk(dev, apdev): + """Generate DPP Config Object for legacy network (PSK)""" + run_dpp_qr_code_auth_unicast(dev, apdev, "prime256v1", + init_extra="conf=sta-psk psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef", + require_conf_success=True) + def test_dpp_config_dpp_gen_prime256v1(dev, apdev): """Generate DPP Config Object for DPP network (P-256)""" run_dpp_qr_code_auth_unicast(dev, apdev, "prime256v1",