osmo-smdpp: fix generation of transactionId

The hex string of the generated transactionId contains lowercase hex
digits. However SGP.22 explicitly spcifies to use uppercase hex digits
when using JSON fromatted messages. See section 6.5.2.6 for example.

Related: SYS#6720
Change-Id: I8439aa9d70f6fe798fa88b623bac13debdc19ca1
This commit is contained in:
Philipp Maier 2024-03-15 09:22:28 +01:00
parent ee4db7010b
commit 7b524fa079
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ class SmDppHttpServer:
# Generate a TransactionID which is used to identify the ongoing RSP session. The TransactionID
# SHALL be unique within the scope and lifetime of each SM-DP+.
transactionId = uuid.uuid4().hex
transactionId = uuid.uuid4().hex.upper()
assert not transactionId in self.rss
# Generate a serverChallenge for eUICC authentication attached to the ongoing RSP session.