9
0
Fork 0
Commit Graph

4 Commits

Author SHA1 Message Date
Harald Welte 6294b3a19e AUC: use osmo_hexparse() when reading key material from db
The database stores the key material as hex-ascii, we thus need to go
through osmo_hexparse() when reading.  We could also store the material
as BLOB in the database.  That would however complicate matters, as it
would basically mean using the sqlite3 command to manually
inspect/modify data from the console would no longer be easily possible.

Using this commit I have 2G authentication working against osmo-sgsn
with GSUP and 'auth policy remote'.
2016-05-05 17:08:48 +02:00
Harald Welte 06db912aaa AUC: Differentiate between actual error and unknown IMSI
When responding to a SendAuthInfo.req, we need to differentiate
an error case caused by an unknown IMSI, or an error caused by
an error regarding accessing the database or data integrity.
2016-05-05 16:38:14 +02:00
Harald Welte 0c3b7f0002 db_auc: remove some debugging code about column types 2016-05-03 18:51:04 +02:00
Harald Welte 7e90016009 initial import of osmo-gsup-hlr code so far 2016-04-28 07:18:49 +02:00