triplets calculation

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Thu Nov 1 09:01:39 UTC 2012


On Wed, Oct 31, 2012 at 04:43:51PM +0100, Yann R. Moupinda wrote:
> 
> I thought i could get the triplets stored in one of the tables of hlr.sqlite3 (AuthLastTuples) but there is no information on it. From the table AuthKeys i could find some Ki values (e.g   X'019B7083FBAFC928421A147DE795217782'). I found that there is an "osmo-auc-gen" program for computing the triplets. By using the Ki from AuthKeys and a self generated RAND (e.g  0123456789ABCDEF0123456789ABCDEF) the program doesn't run and doesn't give the triplets. The used authentication algorithm is the COMP128v1.
> 

What is the error you get? The Ki you present is 17 bytes but it must
be 16 bytes. 

$ ./osmo-auc-gen -2 -a COMP128v1 -k 12345678901234561234567890123456

holger




More information about the OpenBSC mailing list