aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-06-18update git URLs (git -> https; gitea)HEADmasterHarald Welte1-2/+2
Change-Id: Ie17ca69e9bc2ba0ab4afe8bc94673409093b61cb
2020-10-28Fix pycodestyle issuesLudovic Rousseau1-2/+2
osmo-sim-auth.py:45:12: E711 comparison to None should be 'if cond is None:' osmo-sim-auth.py:131:20: E712 comparison to True should be 'if cond is True:' or 'if cond:' Change-Id: I959ea84b8369a0a37bb65c47824a4c4e8d4630cc
2020-10-28osmo-sim-auth: support Python 3Ludovic Rousseau1-2/+2
Use byteToHex() so the same code works for Python 2 and Python 3. Change-Id: Ib5602eb1b6406731757d39a77eb4c7103cfba846
2020-10-25osmo-sim-auth.py:45:9: E113 unexpected indentationLudovic Rousseau1-3/+3
Change-Id: I0d7d34ea03f267bafc0da173c48440626e03d58b
2020-10-25osmo-sim-auth.py:67:6: E225 missing whitespace around operatorLudovic Rousseau1-2/+2
Change-Id: I63e6c90ab8ba7217933d42756630b809653505df
2020-10-25osmo-sim-auth.py:38:18: E703 statement ends with a semicolonLudovic Rousseau1-1/+1
Change-Id: If562fd4148c037f3c5087ebd2ae9f464e6bfe67e
2020-10-25Use 2 blank lines when neededLudovic Rousseau1-1/+4
$ pycodestyle osmo-sim-auth.py osmo-sim-auth.py:30:1: E302 expected 2 blank lines, found 1 Change-Id: Ic1e902b2c112b9b485a090a591db7cdbabea77f4
2020-10-25Replace tabs by spacesLudovic Rousseau1-85/+85
± pycodestyle osmo-sim-auth.py osmo-sim-auth.py:31:1: W191 indentation contains tabs osmo-sim-auth.py:32:1: W191 indentation contains tabs [...] Change-Id: Id026fcd3975113a8bec2e30c58ac7b521ec1707f
2020-10-25Convert to Python3 using 2to3Ludovic Rousseau1-22/+22
Change-Id: I70a95fec06a18ff6ebedcc1b6c48a16304047770
2020-10-25README.md: fix typoLudovic Rousseau1-1/+1
Change-Id: Ibfee59f9ef2e8411dd8d45f9b7fd20022ff9b2cb
2019-01-23Check return code of u.authenticate()Philipp Maier1-0/+3
The method authenticate() of the class USIM may return None in some error cases. Lets check this fore passing the return code into len() Change-Id: Ic22f37931c13e7ec8bd1fa7872cd2a24faeea0ba Related: OS#1967
2018-02-28README: hint at pcscd service dependencyNeels Hofmeyr1-4/+22
2017-06-03SIM API's to fetch information from SIM file system like Kc, LOCI, MSISDN ↵Gerard Pinto2-0/+335
etc. Added -p option for fetching SIM information based on the parameter passed. Change-Id: I1f43ff918a6b96f86e661297e84010e6cdf17b84
2017-03-31cosmetic: add/tweak log output, add vim indenting markerNeels Hofmeyr1-10/+13
While testing the sysmoUSIM, I found that I wanted to see errors more prominently and some output for cases that lacked any response at all. Change-Id: Ia2ac1215ae948558324627f76e28c72a23dc6a68
2017-03-17Update README file with general information and convert to MarkdownHarald Welte1-23/+63
Change-Id: Ic9f95c073b17bfe689dea7672c67e5c081c01dae
2015-06-25Fix BER decoding for the long formHolger Hans Peter Freyther1-2/+2
The below ASN1 was parsed as "long form" even if it is not the long form. The highest bit indicates if it is the long form or the indefinite form. The below was going through the long form path but there is no long form in it. Change the long form code but don't verify it. It might still be broken. [98, 87, 130, 2, 120, 33, 131, 2, 127, 255, 132, 16, 160, 0, 0, 0, 135, 16, 2, 255, 255, 255, 255, 137, 7, 9, 0, 0, 165, 22, 131, 2, 127, 255, 203, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 202, 1, 128, 138, 1, 5, 171, 21, 128, 1, 1, 164, 6, 131, 1, 10, 149, 1, 8, 128, 1, 64, 151, 0, 128, 1, 6, 144, 0, 198, 9, 144, 1, 64, 131, 1, 1, 131, 1, 129]
2012-07-13add 'ipsec triplets.dat' mode (-I) to osmo-sim-auth.pyHarald Welte1-4/+13
2011-12-07Initial check-in of a small command line based tool for (U)SIM authHarald Welte8-0/+3012