Re: DPP Self Configuring a Device

Jouni Malinen <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
On Tue, Mar 17, 2020 at 09:20:23PM +0000, Schmidt, Wystan W wrote:
> I’m trying to self-configure a device following the instructions here: http://w1.fi/cgit/hostap/plain/wpa_supplicant/README-DPP
>  
> But, the hostapd_cli command ‘dpp_configurator_sign’ is failing. 
>  
> > dpp_configurator_add
> 1> dpp_configurator_sign conf=ap-dpp configurator=1
> <3>DPP: Failed to set configurator parameters
> FAIL
> > 
>  
> Any idea why this would be failing? Or suggestions? 

hostapd debug log (stdout with -dd on the command line) should provide
more details on that..

This is what this should look like with the example hostapd
configuration file from README-DPP and those commands over control
interface when using the current snapshot from the master branch:

> dpp_configurator_add 
1> 
> dpp_configurator_sign conf=ap-dpp configurator=1
<3>DPP-CONF-RECEIVED 
<3>DPP-CONFOBJ-AKM dpp
<3>DPP-CONFOBJ-SSID test
<3>DPP-CONNECTOR eyJ0eXAiOiJkcHBDb24iLCJraWQiOiJ3d0d3UHNzVm1aVzE5NUtjSDhjQlV5ckJvU1M0Tno5elF6RE5aRTBvVTQ0IiwiYWxnIjoiRVMyNTYifQ.eyJncm91cHMiOlt7Imdyb3VwSWQiOiIqIiwibmV0Um9sZSI6ImFwIn1dLCJuZXRBY2Nlc3NLZXkiOnsia3R5IjoiRUMiLCJjcnYiOiJQLTI1NiIsIngiOiJiaXZUY2RVMnBwbHA1VUtqZGp4bTVCeWEtSUk0LXN3MF9kZjhNbHVpRUZNIiwieSI6IlBmVVVCNmU2VmpJV243c3N5SXdHWWtCSFhTOFV3TzBIN2Izc0g5cFpRbkkifX0.27CgGLS8Cd01oM99_zazngaucfqBXpvB6ZjiTlpAVvqIeZEY-5YZRUKZC2St8VN_iYeZQCfwCO7r6DD6AoIjIw
<3>DPP-C-SIGN-KEY 3059301306072a8648ce3d020106082a8648ce3d03010703420004f10f28aa828ee4a50b8e0053634ca7b899cfaa3ad339811223134d6d3e8409d3a11b4c1244f6cc76472dd41bacb9b8f3c019029ce728661920803d34f0a4f3e7
<3>DPP-NET-ACCESS-KEY 307702010104207a147e3d117942f560687927437a074232acb9f6356c5fe315a51ce7e312b6c9a00a06082a8648ce3d030107a144034200046e2bd371d536a69969e542a3763c66e41c9af88238facc34fdd7fc325ba210533df51407a7ba5632169fbb2cc88c066240475d2f14c0ed07edbdec1fda594272
OK

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/hostap
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.