Re: wpa_supplicant and OTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 13, 2017 at 11:35:39PM +0000, Shriram Jandhyala wrote:
> This works fine for doing basic EAP/RADIUS authentications.
> But when there is a user challenge (over EAP-GTC) for an OTP, I do get a callback to eap_param_needed with wpa_ctrl_req_type set to WPA_CTRL_REQ_EAP_OTP.
> At this point, the eapol_sm is waiting for a response. I am unable to restart the state machine. It does not matter if I set the eap_peer_config->password ot eap_peer_config->otp with the user response (OTP value). The EAP auth eventually times out.
> 
> How do I restart the eapol state machine with the OTP supplied?

wpa_supplicant_ctrl_iface_ctrl_rsp_handle() shows which fields needs to
be updated and that update needs to be followed by a call to
eapol_sm_notify_ctrl_response() to let the state machines know about the
new information.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux