* Proposal: New SimAuth interface
@ 2017-08-23 22:40 James Prestwood
0 siblings, 0 replies; only message in thread
From: James Prestwood @ 2017-08-23 22:40 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]
Hello,
The IWD project now has a need for SIM card access in order to
authenticate to EAP-SIM/AKA WiFi networks, and will be using ofono for
this functionality. In order to do this, the GSM/3G "authenticate"
algorithm needs to be run on the (U)SIM. For this I am proposing a new
interface: "org.ofono.SimAuth". I do have a few questions about what
method(s)/interfaces would be preferred. Since 2G/3G take different
inputs/outputs there are few possibilities:
1. Two different methods on org.ofono.SimAuth:
AuthenticateSim()
Input: "ay" RAND
Output: "ay" SRES, "ay" KC
AuthenticateUSim()
Input: "ay" RAND, "ay" AUTN
Output: "ay" RES, "ay" IK, "ay" CK, "ay" AUTS
2. One method on org.ofono.SimAuth, with more complex arguments e.g.
Authenticate()
Input: "s" type, a{ay} args
Output: a{ay}
This would return take in and return the correct arguments for
2G/3G based on the "type" argument.
3. Separate interfaces for SIM/USIM (e.g. org.ofono.SimAuth and
org.ofono.USimAuth). This would also allow the client to see if either
SIM or USIM are supported before making any method calls.
If anyone has input on what would option would be preferred, or maybe a
different way of doing it, that would be great!
Thanks,
James
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-08-23 22:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23 22:40 Proposal: New SimAuth interface James Prestwood
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.