Hi!
I've committed the following bits and pieces regarding authentication:
1) libosmocore now has a generic core for authentication algorithm
implementations. Using this API, even external plugins can register
algorithms which are not available in libosmocore itself.
libosmocore includes COMP128v1 and (now) MILENAGE
2) a small command-line program "osmo-auc-gen", which can be used to
generate authentication vectors from the command line. You hav to
specify all the required parameters. For GSM, this is only ki, but
for 3G, you also have to specify at least OPC and SQN.
osmo-auc-gen is part of libosmocore.git
3) a small pythong script called "osmo-sim-auth.py", available from a
new git repository (
http://cgit.osmocom.org/cgit/osmo-sim-auth,
git://git.osmocom.org/osmo-sim-auth)
It is the counterpart for the MS side. It can execute authentication
on both SIM and USIM.
I've tested the tools with a COMP128v1 SIM and a MILENAGE USIM,
it seems to be working fine.
Regards,
Harald
--
- Harald Welte <laforge(a)gnumonks.org>
http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)