This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via 2066a42d5a46c0fe501a6036cb57b7255e955e7d (commit)
via 95500c88b47c228b00ec89b8ffff405ce630c83f (commit)
via e6e6446edf24c19c94d0774f81dc78ea0bc52f79 (commit)
via b1af6ef1646c54f429f7b87778d92d139c0e3336 (commit)
via 3cb08277f1d46c6c74c4bb6e254a57ffb9ac3834 (commit)
via 4315e01f5a8658399fedfb68d0647624666a86e0 (commit)
via d157bbb46f5fcf305b0e4710030ecd795432d444 (commit)
via 516910754e51f5a6066f129a0b3c7e214d771b77 (commit)
via 9ca7d3e400e6bfdb43169075187508a401d33e6d (commit)
from 22bc45b8bfb8d0f2d8a46c6e945f3b4388fdced0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=2066a42d5a46c0fe501a6036cb57…
commit 2066a42d5a46c0fe501a6036cb57b7255e955e7d
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sat Aug 26 22:43:50 2017 +0200
umts aka: add sqn_ms out-param, print SQN.MS in osmo-auc-gen
When doing UMTS AKA with AUTS, it can be interesting to know the SQN.MS that
was encoded in the AUTS. The only way to know this is to provide it as a
separate out-parameter from milenage_gen_vec_auts(), because the SQN.MS from
AUTS stored in umts.sqn is immediately modified non-trivially by
milenage_gen_vec(). Add sqn_ms to struct osmo_sub_auth_data to retain SQN.MS
even after a vector was generated.
Use this to print out SQN.MS for 'osmo-auc-gen -3 -A'.
Adjust test suite expectations.
Related: OS#2464
Change-Id: I9fc05bbf169d06716f40b995154fd42a3f91bef3
http://cgit.osmocom.org/libosmocore/commit/?id=95500c88b47c228b00ec89b8ffff…
commit 95500c88b47c228b00ec89b8ffff405ce630c83f
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sat Aug 26 22:38:08 2017 +0200
cosmetic: umts aka: tweak comments for sqn and ind
Clearly indicate that 'sqn' is an in *and* out-parameter.
Clarify the effect of 'ind'.
Change-Id: Ia40cd4ddf35f4fbe895b45b8ea59378f5ce9eb1f
http://cgit.osmocom.org/libosmocore/commit/?id=e6e6446edf24c19c94d0774f81dc…
commit e6e6446edf24c19c94d0774f81dc78ea0bc52f79
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sat Aug 26 22:29:51 2017 +0200
osmo-auc-gen: umts: print out the IND of the SQN used
Make ind_mask available in the main(){} scope, in order to print out
IND = SQN & ind_mask.
Adjust test suite expectations.
Related: OS#2465
Change-Id: I91eac53c4af66a58b9372d9baf5781fc9f29b1fc
http://cgit.osmocom.org/libosmocore/commit/?id=b1af6ef1646c54f429f7b87778d9…
commit b1af6ef1646c54f429f7b87778d92d139c0e3336
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sat Aug 26 21:38:51 2017 +0200
osmo-auc-gen: umts: add --ind-len arg
osmo-auc-gen so far does not allow indicating the IND bit length of SQN. A
default of 5 serves most practical cases, nevertheless we should allow passing
arbitrary IND lengths.
Enhance the test suite to test --ind-len.
Related: OS#2465
Change-Id: Ia1d8b6a823ffc92290b3e39e4e4665aeff80ccc0
http://cgit.osmocom.org/libosmocore/commit/?id=3cb08277f1d46c6c74c4bb6e254a…
commit 3cb08277f1d46c6c74c4bb6e254a57ffb9ac3834
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sat Aug 26 21:45:33 2017 +0200
osmo-auc-gen: umts: add --ind arg
During UMTS AKA, the caller typically indicates which IND slot the next used
SQN should belong to. Without this option, osmo-auc-gen will always produce SQN
from IND-slot 0. Add --ind option.
Enhance the osmo-auc-gen_test.sh to expect errors with useful printouts on
stderr, and add tests that verify valid --ind ranges.
Related: OS#2465
Change-Id: Ib60eec80d58ca9a0a01e7fbd2bcbbd4339b1a6d8
http://cgit.osmocom.org/libosmocore/commit/?id=4315e01f5a8658399fedfb68d064…
commit 4315e01f5a8658399fedfb68d0647624666a86e0
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sat Aug 26 21:40:11 2017 +0200
osmo-auc-gen: umts: use default of ind_bitlen = 5 instead of 0
Most USIM out there seem to use IND-length = 5 bits, so do sysmousim-sjs1.
Currently from initialization we are using an IND length of zero in
osmo-auc-gen, which produces confusing SQN results after AUTS:
Where want SQN to be incremented to the next IND array, usually +32, an IND-len
of 0 makes for only +1.
As result, the osmo-auc-gen_test.sh produces SQN 32 instead of 24 after
receiving SQN.MS = 23 from AUTS: adjust test expectations.
Related: OS#2465
Change-Id: I9fcc11fa2b5816302dcc6b72249b1ee40d5a61f5
http://cgit.osmocom.org/libosmocore/commit/?id=d157bbb46f5fcf305b0e4710030e…
commit d157bbb46f5fcf305b0e4710030ecd795432d444
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sat Aug 26 22:08:36 2017 +0200
osmo-auc-gen: umts: properly request --sqn
The user supplied an --sqn to generate a vector for, but milenage_gen_vec()
performs a nontrivial SQN increment before generating the vector. To end up
with the user supplied SQN, we need to reverse this increment beforehand.
Do this after all cmdline args have been parsed, in case one of them modifies
the IND-bitlen parameter, which affects the SQN calculations.
Related: OS#2464 OS#2465
Change-Id: Ic51a8f6333fee9c02b4073ca360991d0aa69c74f
http://cgit.osmocom.org/libosmocore/commit/?id=516910754e51f5a6066f129a0b3c…
commit 516910754e51f5a6066f129a0b3c7e214d771b77
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sat Aug 26 22:06:15 2017 +0200
osmo-auc-gen: umts: remove erratic SQN.MS printout
osmo-auc-gen tries to be helpful by deriving the SQN.MS from the SQN that
resulted from AUTS + milenage_gen_vec(), but there is actually no way to derive
the actual AUTS SQN.MS from the resulting SQN.
Completely drop the printout to prevent confusion.
Adjust test suite expectations.
Related: OS#2464
Change-Id: Ie2432c6d6a23818f7b3a29b1295dcbb505e2be53
http://cgit.osmocom.org/libosmocore/commit/?id=9ca7d3e400e6bfdb431690751875…
commit 9ca7d3e400e6bfdb43169075187508a401d33e6d
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sat Aug 26 22:57:07 2017 +0200
cosmetic: test for osmo-auc-gen: print error for missing binary
Change-Id: I98c23ae6378a16cf3b76c90d4ea0dfcf61ff3033
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/crypt/auth.h | 5 +-
src/gsm/auth_milenage.c | 3 +-
tests/osmo-auc-gen/osmo-auc-gen_test.err | 12 +++
tests/osmo-auc-gen/osmo-auc-gen_test.ok | 165 ++++++++++++++++++++++++++++++-
tests/osmo-auc-gen/osmo-auc-gen_test.sh | 34 ++++++-
utils/osmo-auc-gen.c | 76 +++++++++++---
6 files changed, 277 insertions(+), 18 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications