Hi, This patchset adds support for interactive query of EAP credentials (username/password) in Agent API, which is needed when connecting to 802.1X networks.
New "Identity" field is introduced for username and "Passphrase" field is reused for password. Also new field types are used that define whether asking a GTC/OTP response or a regular password. I tried to use the simplest possible logic for triggering a query. Credentials are not asked if service is provisioned traditionally via .config file, or if EAP-TLS is used (no inner authentication available). Otherwise credentials will always be asked when connecting to a 802.1X network. Also, both username and password will be asked in every query, not just another. Henri Bragge (5): doc: Add EAP login support in Agent API service: Add function to set identity service: Add function to get phase2 method agent: Implement EAP identity and password query test: Add identity response support to simple-agent doc/agent-api.txt | 27 +++++++++++++++++++++++---- src/agent.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++---- src/connman.h | 6 +++++- src/service.c | 41 +++++++++++++++++++++++++++++++++++++++-- test/simple-agent | 21 +++++++++++++++------ 5 files changed, 129 insertions(+), 17 deletions(-) _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman