<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div><div>This is a good source for test vectors:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><a href="https://github.com/mozilla/fxa-python-client/blob/master/bin/fxa-vectors">https://github.com/mozilla/fxa-python-client/blob/master/bin/fxa-vectors</a></div><div><br></div><div>The android-sync source also has a good number of tests:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">       </span><a href="https://github.com/mozilla-services/android-sync/tree/develop/src/test/">https://github.com/mozilla-services/android-sync/tree/develop/src/test/</a></div><div><br></div><div>(Use grep, there are tests in other places too there)</div><div><br></div><div> S.</div><br><div><div>On Jun 5, 2014, at 7:54 AM, Partha Debnath <<a href="mailto:partha.dn@samsung.com">partha.dn@samsung.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.4; margin: 10px; font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"> <br class="webkit-block-placeholder"></div><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">Hello All,</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">Using the below mentioned library(beecrypt), I have implemented "<font color="#333333" face="Helvetica"><strong><span style=""><em>quickStretchedPassword</em></span></strong></font><strong><em> </em></strong>"</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">& "<strong><span style=""><em>authPassword</em></span></strong>" required to signIn(<strong>requiredKeys = false</strong>) into FireFox sync.</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">I want to know if there are any test cases with which I can verify the above mentioned</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">implementation.</p><div style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"> <br class="webkit-block-placeholder"></div><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">Regards</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">Partha Debnath</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">-------<span class="Apple-converted-space"> </span><b>Original Message</b><span class="Apple-converted-space"> </span>-------</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"><b>Sender</b><span class="Apple-converted-space"> </span>: Partha Debnath<<a href="mailto:partha.dn@samsung.com">partha.dn@samsung.com</a>> Senior Software Engineer/SRI-Bangalore-Web Apps & Services/Samsung Electronics</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"><b>Date</b><span class="Apple-converted-space"> </span>: May 22, 2014 22:56 (GMT+09:00)</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"><b>Title</b><span class="Apple-converted-space"> </span>: Beecrypt in C++ build to resemble Java's security and cryptography API</p><div style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"> <br class="webkit-block-placeholder"></div><x-body><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">Hello Richard,</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">I have found one library called "beecrypt" (<a href="http://beecrypt.sourceforge.net/doxygen/c++/namespaces.html">http://beecrypt.sourceforge.net/doxygen/c++/namespaces.html</a>).</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">I want to know whether we can use this library to implement FireFox Sync in C++.</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">It has got similar C++ APIs for crypto and security modules present in Java.</p><div style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"> <br class="webkit-block-placeholder"></div><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">Regards</p><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;">Partha Debnath</p><div style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"> <br class="webkit-block-placeholder"></div><div style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"> <br class="webkit-block-placeholder"></div></x-body><div style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"> <br class="webkit-block-placeholder"></div><div style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"> <br class="webkit-block-placeholder"></div><div style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"> <br class="webkit-block-placeholder"></div><table id="confidentialsignimg"><tbody><tr><td namo_lock="" style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"><p style="margin-top: 5px; font-family: Arial, arial; margin-bottom: 5px; font-size: 9pt;"><span><201406051725366_BEI0XT4N.gif></span></p></td></tr></tbody></table>_______________________________________________<br>Dev-fxacct mailing list<br><a href="mailto:Dev-fxacct@mozilla.org">Dev-fxacct@mozilla.org</a><br><a href="https://mail.mozilla.org/listinfo/dev-fxacct">https://mail.mozilla.org/listinfo/dev-fxacct</a></div></blockquote></div><br></body></html>