Closed
Bug 833619
Opened 11 years ago
Closed 11 years ago
[Open_] Increase length of NCK code from 8 bytes up to 16 bytes
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.0 fixed)
VERIFIED
FIXED
blocking-b2g | tef+ |
People
(Reporter: cyvins, Assigned: alive)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17 Steps to reproduce: 1) load the system image with sim lock enabled 2) activate the sim lock function 3) boot up the device 4) input the unlocking pass code Actual results: Current SIM Lock implementation only supports 8 bytes unlocking passcode Expected results: It should support unlocking pass code more than 8 bytes, our lower sim-lock algorithm requires 16 bytes pass code
Comment 1•11 years ago
|
||
Nominating as this blocks TEF certification.
Blocks: b2g-v1-certification
blocking-b2g: --- → tef?
Updated•11 years ago
|
blocking-b2g: tef? → tef+
Updated•11 years ago
|
Assignee: nobody → ehung
blocking-b2g: tef+ → tef?
Updated•11 years ago
|
blocking-b2g: tef? → tef+
Updated•11 years ago
|
Component: Gaia → Gaia::System
Assignee | ||
Comment 3•11 years ago
|
||
WIP patch https://github.com/mozilla-b2g/gaia/pull/7796 I think I need to find a SIM card could accept 16 bytes PIN code to test, or needs QA help here.
Assignee | ||
Comment 4•11 years ago
|
||
Patch here. https://github.com/mozilla-b2g/gaia/pull/7796 The problem is we don't have a SIM card could accept more than 8 bytes to test.
Attachment #706300 -
Flags: review?(timdream)
Comment 5•11 years ago
|
||
(In reply to Alive Kuo [:alive] from comment #4) > The problem is we don't have a SIM card could accept more than 8 bytes to > test. This issue is not releated to SIM card PIN. This is the lenght of the Lock code for the device when you introduce a "wrong" SIM card that it is not the one of the supported carrier. For testing this length, maybe we could need here the help of QC team or any OEM.
Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 706300 [details] https://github.com/mozilla-b2g/gaia/pull/7796 Cancel review. I guess this bug is a hidden feature to me that I never knows we have wrong sim card alert dialog.
Attachment #706300 -
Flags: review?(timdream)
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Beatriz Rodríguez [:brg] from comment #5) > (In reply to Alive Kuo [:alive] from comment #4) > > The problem is we don't have a SIM card could accept more than 8 bytes to > > test. > This issue is not releated to SIM card PIN. This is the lenght of the Lock > code for the device when you introduce a "wrong" SIM card that it is not the > one of the supported carrier. > For testing this length, maybe we could need here the help of QC team or any > OEM. OK..So are you talking about NCK? It's not PIN for sure.
Assignee | ||
Comment 8•11 years ago
|
||
Patch v1: Use the getAttribute instead of hard code.
Attachment #706325 -
Flags: review?(poirot.alex)
Comment 9•11 years ago
|
||
Comment on attachment 706325 [details] https://github.com/mozilla-b2g/gaia/pull/7801 Looks good and works fine.
Attachment #706325 -
Flags: review?(poirot.alex) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Gaia Master https://github.com/mozilla-b2g/gaia/commit/dc8ba5b755a11f98e181c3b7cf9718390c4ffb89
Assignee | ||
Updated•11 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
status-b2g18:
--- → fixed
Comment 11•11 years ago
|
||
(In reply to Alive Kuo [:alive] from comment #7) > OK..So are you talking about NCK? It's not PIN for sure. Yes, this is the length of NCK code. The previous development was done for 8bytes and one partner is asking for 16b support.
Comment 12•11 years ago
|
||
Please update title to mean the real problem. I was totally misunderstanding the problem either, and did the same patch of attachment 706300 [details].
Thank Alive's help on this issue.
Updated•11 years ago
|
Summary: [Open_]Current SIM Lock implementation only supports 8 bytes unlocking passcode → [Open_] Increase length of NCK code from 8 bytes up to 16 bytes
Comment 13•11 years ago
|
||
Marking this as status-b2g18-v1.0.0 fixed as well, just for clarity as we move forward with v1-train branches tracking/status.
status-b2g18-v1.0.0:
--- → fixed
Assignee | ||
Comment 14•11 years ago
|
||
Vivien had done ;) v1.0.0 https://github.com/mozilla-b2g/gaia/commit/6369dbf33b622faf4b4d176fed30b77c5c319dfc v1-train https://github.com/mozilla-b2g/gaia/commit/6369dbf33b622faf4b4d176fed30b77c5c319dfc
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 15•11 years ago
|
||
Issue doesn't reproduce on Unagi device: Build ID: 20130214070203 December 5th Kernel Gaia: 6544fdb8dddc56f1aefe94482402488c89eeec49 Gecko http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/d1288313218e 16 bit passcode is programed and accepted successfully.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•