Christian Amsüss has posted comments on this change. (
https://gerrit.osmocom.org/c/pysim/+/30305 )
Change subject: OTA: Adjust IV length for AES
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Without this change, the underlying cryptography library complains when attempting to use
AES keys:
```
File
"/home/chrysn/data/business/sysmocom/onomondo-softsim-test-suite/venv/lib/python3.10/site-packages/Crypto/Cipher/__init__.py",
line 79, in _create_cipher
return modes[mode](factory, **kwargs)
File
"/home/chrysn/data/business/sysmocom/onomondo-softsim-test-suite/venv/lib/python3.10/site-packages/Crypto/Cipher/_mode_cbc.py",
line 287, in _create_cbc_cipher
raise ValueError("Incorrect IV length (it must be %d bytes long)" %
ValueError: Incorrect IV length (it must be 16 bytes long)
```
--
To view, visit
https://gerrit.osmocom.org/c/pysim/+/30305
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I854c844418244c100c328f9e76c0f37850d3db00
Gerrit-Change-Number: 30305
Gerrit-PatchSet: 1
Gerrit-Owner: Christian Amsüss <chrysn(a)fsfe.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Fri, 25 Nov 2022 03:10:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment