ash2005 / seek-for-android

Automatically exported from code.google.com/p/seek-for-android
0 stars 0 forks source link

Support of EAP-SIM/AKA with SIM cards without logical channel support #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Access Control relies on logical channel support to check for proper access 
control rules. If the SIM does not support logical channels, no access is 
granted.

EAP-SIM is a typical use case where SIM access on the basic channel is required 
without the need to have logical channel support as well.

Original issue reported on code.google.com by Daniel.A...@gi-de.com on 2 Feb 2012 at 1:27

GoogleCodeExporter commented 9 years ago
Attached patch solves the issue for
- UiccTerminal only: no use case for non SIM based Secure Elements
- UiccTerminal uses transmitIccBasicChannel only

In case the baseband takes care of channel management, the logic has to be 
implemented in the corresponding modem layer:
6881, 6E00 & 6D00 after MANAGE CHANNEL OPEN should return 
MissingResourceException (getLastError()==3)

Original comment by Daniel.A...@gi-de.com on 2 Feb 2012 at 5:28

Attachments:

GoogleCodeExporter commented 9 years ago
Pls test

Original comment by Daniel.A...@gi-de.com on 8 May 2012 at 2:00

GoogleCodeExporter commented 9 years ago
This patch only applies to UiccTerminal implementations which perform the 
channel management manually by using AT+CSIM.
Reference implementation of SEEK uses CCHO, CGLA & CCHC where this behavior 
needs to be handled in the modem
---
An alternative UiccTerminal.java using CSIM only could be provided on request

Original comment by Daniel.A...@gi-de.com on 19 Jun 2012 at 12:15