<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">Simo is right! This issue is same as <a rel="nofollow" href="https://fedorahosted.org/freeipa/ticket/5047" style="font-family:arial,sans-serif">https://fedorahosted.org/freeipa/ticket/5047</a></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">If I change the algorithm in the otp url to uppercase it scans in Google authenticator/iPhone. </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">Further more I manually edited the /usr/lib/python2.7/site-packages/ipalib/plugins/otptoken.py and uppercases the 'sha' to 'SHA' in a test VM and it works as expected. I hate to do this in the production server though. </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 June 2015 at 23:32, Prashant Bapat <span dir="ltr"><<a href="mailto:prashant@apigee.com" target="_blank">prashant@apigee.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi, </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Has anyone seen this ? When a user tries to scan the QR code he gets a message saying "invalid barcode". This happens only with iPhone + Google Authenticator. </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Thanks for your help. </div><span class="HOEnZb"><font color="#888888"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">--Prashant</div></font></span></div>
</blockquote></div><br></div>