Commit Graph

79 Commits

Author SHA1 Message Date
Oliver Smith 7b0dbb962d docs/spec: SMS structure 2020-04-08 10:39:24 +02:00
Oliver Smith 64d154ceb9 spec: next pseudo_imsi_timer expires 2020-04-08 08:58:17 +02:00
Oliver Smith ef43ac3ad6 spec: write out until Insert Subscriber Data Result 2020-04-07 16:02:19 +02:00
Oliver Smith 7e33ef5e87 spec: add cancel location req to graph 2020-04-07 15:05:11 +02:00
Oliver Smith 92a2288f42 spec: elaborate on how optional this is 2020-04-07 14:51:29 +02:00
Oliver Smith 206a0fa9a1 spec: Process Update_Location_HLR: bullet points + graph 2020-04-07 14:51:25 +02:00
Oliver Smith 8b68e4ec9e spec: describe SIM applet 2020-04-07 09:38:49 +02:00
Oliver Smith 9748cdc622 IMSIPseudo.java: Cosmetic: fix missing space 2020-04-07 09:38:44 +02:00
Oliver Smith 8c81b5561b spec: minor fixes 2020-04-07 08:44:56 +02:00
Oliver Smith bf33c75af4 spec: Pseudonymous IMSI Storage in the HLR 2020-04-06 15:46:29 +02:00
Oliver Smith 6f9f2186c1 spec: use 2g example throughout the document 2020-04-06 14:29:34 +02:00
Oliver Smith 2c8a19c1ed spec: re-organize headlines 2020-04-06 14:14:53 +02:00
Oliver Smith 7afd701011 spec: describe LU without pseudo IMSI 2020-04-06 13:34:58 +02:00
Oliver Smith 5616ae828e specification.md: mark as deprecated 2020-04-03 14:04:30 +02:00
Oliver Smith 5c95bc9caf spec: introduction, headlines 2020-04-03 14:03:24 +02:00
Oliver Smith 2baa0d5305 doc: prepare for asciidoc based specification 2020-04-03 09:00:00 +02:00
Oliver Smith 4a3d8d3f14 docs/specification.md: note Process Update_Location_HLR 2020-04-02 15:15:17 +02:00
Oliver Smith 1acc89b8fc README.md: SIM must not perform IMSI detach 2020-03-31 12:23:52 +02:00
Oliver Smith c4206534f9 README.md: improve headlines 2020-03-31 12:12:47 +02:00
Oliver Smith 8c3bd0b43a README: add user-configurable minimum duration 2020-03-31 12:09:57 +02:00
Oliver Smith 6d06adb8c2 README.md: fix typo 2020-03-27 13:12:30 +01:00
Oliver Smith 0ee12879f9 README.md: use headlines 2020-02-26 15:31:10 +01:00
Oliver Smith 5e62dbacd1 docs: update to feedback from Neels
Most importantly, there is no ACK SMS anymore, because the next LU is
the implicit ACK. While at it, I've filled in the first TS we probably
need to update.

Related: OS#440
2020-02-26 15:20:15 +01:00
Oliver Smith 15c3bfb49f Invalidate Kc, too 2020-02-26 12:02:47 +01:00
Oliver Smith 134f41f5d1 Invalidate TMSI, P-TMSI after changing IMSI
Now the ME doesn't try to send the TMSI anymore in the next Location
Updating Request, it directly sends the IMSI.
2020-02-26 11:47:45 +01:00
Neels Hofmeyr 4ac43a2f1b add SIM REFRESH command after IMSI change 2020-02-26 02:02:53 +01:00
Neels Hofmeyr 872140db64 add make reflash 2020-02-25 03:43:12 +01:00
Neels Hofmeyr ff5364a5bd Makefile: add some .PHONY 2020-02-25 03:41:53 +01:00
Neels Hofmeyr 7c5e973e25 add 'make list' 2020-02-25 03:39:53 +01:00
Neels Hofmeyr b5ca312419 Test: Bytes.toStr() 2020-02-25 03:39:53 +01:00
Neels Hofmeyr 483f5a4f74 refactor the menu, the mi2str() implementation, and tests
Instead of a sub-menu for changing the IMSI, just offer a dialog with the
current IMSI pre-filled in an edit field.
"Show IMSI" becomes just "Change IMSI" without changing anything.

Change mi2str() so that it simply returns a byte[] of the right size.

Test new mi2str()
2020-02-25 03:39:51 +01:00
Neels Hofmeyr 26256941eb make writeIMSI() safe against invalid length 2020-02-25 03:36:27 +01:00
Neels Hofmeyr cf04db0318 drop unnecessary 'new byte[]' before {...} 2020-02-25 03:36:27 +01:00
Neels Hofmeyr 9a3428e46e prompt(): add prefillVal arg 2020-02-25 03:36:27 +01:00
Neels Hofmeyr ad4531a414 add Bytes.java 2020-02-25 03:36:27 +01:00
Neels Hofmeyr 583bfecc34 eliminate itemCount param from showMenu() 2020-02-25 03:36:27 +01:00
Neels Hofmeyr 41b6f543a3 write user entered IMSI to SIM 2020-02-25 03:36:25 +01:00
Neels Hofmeyr b86190c986 add .gitignore 2020-02-25 03:34:55 +01:00
Neels Hofmeyr d20f93a2c0 add MobileIdentity as separate class, add test
Use fixed applet-project.mk to put Mobile Identity implementations in a
separate class MobileIdentity.java.

That allows trivially testing the MobileIdentity implementation outside of an
actual SIM card environment: add a 'test' target to the Makefile and a
Test.java class that runs some tests.
2020-02-25 03:34:40 +01:00
Neels Hofmeyr faeef438bc fix applet-project.mk: allow multiple .java sources, separate jar target 2020-02-24 22:51:56 +01:00
Neels Hofmeyr c916b97761 copy applet-project.mk here, to be able to apply changes 2020-02-24 22:51:21 +01:00
Neels Hofmeyr c24fdd1ad7 readIMSI, writeIMSI 2020-02-24 22:48:00 +01:00
Neels Hofmeyr 0866f3a036 add Enter IMSI dialog 2020-02-24 21:31:43 +01:00
Neels Hofmeyr c0c95621ea add hexdump() 2020-02-24 21:31:43 +01:00
Neels Hofmeyr 984627047e Mobile Identity routines 2020-02-24 21:31:43 +01:00
Neels Hofmeyr ba7a6f22a5 return result of user interaction prompts 2020-02-24 21:31:43 +01:00
Neels Hofmeyr c8e96413cb tweak indent in switch statement 2020-02-24 21:31:43 +01:00
Neels Hofmeyr 7d7e33f119 more aggressively set private final on class vars 2020-02-24 21:24:02 +01:00
Neels Hofmeyr cfb476d207 add showMsgAndWaitKey() to keep decoded IMSI on display 2020-02-24 19:00:03 +01:00
Neels Hofmeyr b7a20e3bfc properly read IMSI as Mobile Identity (3GPP TS 24.008) 2020-02-24 18:58:56 +01:00