dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/42185?usp=email )


Change subject: contrib/smpp-ota-tool: use correct kid index
......................................................................

contrib/smpp-ota-tool: use correct kid index

(normally KID index and KIC index should be the same since mixing keys
is a concidered as a security violation. However, in this tool we
want to allow users to specify different indexes for KIC and KIC so that
they can make tests to make sure their cards correctly reject mixed up
key indexes)

Change-Id: I8847ccc39e4779971187e7877b8902fca7f8bfc1
Related: OS#6868
---
M contrib/smpp-ota-tool.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/85/42185/1

diff --git a/contrib/smpp-ota-tool.py b/contrib/smpp-ota-tool.py
index 353f5b5..c2e9562 100755
--- a/contrib/smpp-ota-tool.py
+++ b/contrib/smpp-ota-tool.py
@@ -218,7 +218,7 @@
                            kic_idx=opts.kic_idx,
                            kic=h2b(opts.kic),
                            algo_auth=opts.algo_auth,
-                           kid_idx=opts.kic_idx,
+                           kid_idx=opts.kid_idx,
                            kid=h2b(opts.kid),
                            cntr=opts.cntr)
     spi = {'counter' : opts.cntr_req,

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/42185?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I8847ccc39e4779971187e7877b8902fca7f8bfc1
Gerrit-Change-Number: 42185
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>

Reply via email to