Skip to content

Using rild funcs to do EAP-SIM/AKA authentication.#3

Open
celogeek wants to merge 1 commit intoomnirom:android-4.4from
celogeek:android-4.4
Open

Using rild funcs to do EAP-SIM/AKA authentication.#3
celogeek wants to merge 1 commit intoomnirom:android-4.4from
celogeek:android-4.4

Conversation

@celogeek
Copy link

@celogeek celogeek commented Jul 8, 2014

Connect smart card via rild, using socket rild-oem.
Add a new field in eap_peer_config, as the identity
when end-user select eap method of SIM/AKA.

  1. add a new field "imsi" in eap_peer_config, to record NAI.
  2. when received eap request for identity, and SIM/AKA/AKA' is the
    allowed eap method, offer the value of "imsi" in eap response.
  3. In eap method process, if it needs to get config identity, and
    the selected method is SIM/AKA/AKA', return "imsi" to it
  4. when need to do gsm/umts authentication, supplicant send parameters
    to rild via dgram socket, and wait util sim card complete the authentication.
  5. if the eap method was changed from SIM/AKA/AKA' to others, supplicant will
    clear the anonymous_identity field
    Signed-off-by: xianpu.liang xianpu.liang@mediatek.com

Change-Id: Idbc33d3394c2545cad40981d4b10c8fc69cc77e9

Connect smart card via rild, using socket rild-oem.
Add a new field in eap_peer_config, as the identity
when end-user select eap method of SIM/AKA.
1. add a new field "imsi" in eap_peer_config, to record NAI.
2. when received eap request for identity, and SIM/AKA/AKA' is the
allowed eap method, offer the value of "imsi" in eap response.
3. In eap method process, if it needs to get config identity, and
the selected method is SIM/AKA/AKA', return "imsi" to it
4. when need to do gsm/umts authentication, supplicant send parameters
to rild via dgram socket, and wait util sim card complete the authentication.
5. if the eap method was changed from SIM/AKA/AKA' to others, supplicant will
clear the anonymous_identity field
Signed-off-by: xianpu.liang <xianpu.liang@mediatek.com>

Change-Id: Idbc33d3394c2545cad40981d4b10c8fc69cc77e9
@celogeek celogeek mentioned this pull request Jul 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant