<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 11, 2013 at 2:05 PM, Lukas Kuzmiak <span dir="ltr"><<a href="mailto:lukash@backstep.net" target="_blank">lukash@backstep.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>why would he need K? He's calling Authenticate APDU on the SIM directly.</div>
<div><br></div><div>however, where did you get your AUTN data? 3G authentication is supposed to be mutual, you have to pass AUTN coming from the correct network, otherwise the SIM rejects to Authenticate you to the "spoofed" network. Isn't this your problem</div>
</blockquote></div><br>Yes - I was naively using the input vector from the example on <a href="http://openbsc.osmocom.org/trac/wiki/osmo-sim-auth">http://openbsc.osmocom.org/trac/wiki/osmo-sim-auth</a> to see what happened (I am new at this!)</div>
<div class="gmail_extra"><br></div><div class="gmail_extra" style>Having read through the specs I think that I understand  - the vector needs to be synchronized with the USIM's stored value of SQN and the MAC will be generated using an operator-specific variant of f1</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>Is that correct?</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>Rupert</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>
<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>