Attention is currently required from: pespin.
neels has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-bsc/+/27249
)
Change subject: fix inter-BSC-in handover encryption
......................................................................
Patch Set 3:
(1 comment)
File src/osmo-bsc/handover_fsm.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/27249/comment/4852d059_c2f1994e
PS3, Line 743: if (chosen_a5_n > 0) {
What about checking if chosen_a5_n is in the
intersection of bsc+msc. […]
The Chosen Enc Alg is not mandating that we should
choose it. It is not an error to use another cipher that is in the intersection of
permitted algos.
The effect would be that if one BSC supports only A5/2, then we would carry on this
limitation across all future BSCs of that call being handed over. Worse, if the source BSC
supports only A5/2, and the target supports A5/1 and A5/3, we would error instead of
simply using A5/3.
It makes more sense to use the best availale cipher in each BSC. This is what I did not
understand when I wrote this code back in the days.
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bsc/+/27249
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Iffedc981b60d309ed2e5decd5efedee07a757b53
Gerrit-Change-Number: 27249
Gerrit-PatchSet: 3
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 18 Feb 2022 12:28:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment