<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Bruno,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">I'm trying out master.&nbsp;<br><br><div style="cursor: pointer;"><span style="background-color: rgba(255, 255, 255, 0);"><b style="cursor: pointer;">KUNAL&nbsp;</b>| PRODUCT ENGINEER<br style="cursor: pointer;"></span></div><div style="cursor: pointer;"><div dir="ltr" style="cursor: pointer;"><div style="cursor: pointer;"><div style="cursor: pointer;"><span style="cursor: pointer; background-color: rgba(255, 255, 255, 0);">Plivo, Inc.&nbsp;<a href="x-apple-data-detectors://4" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="4" style="cursor: pointer;">340 Pine St, San Francisco - 94104, USA</a></span></div><div style="cursor: pointer;"><div style="cursor: pointer;"><div dir="ltr" style="cursor: pointer;"><div style="cursor: pointer;"><div style="cursor: pointer;"></div><div style="cursor: pointer;"><br></div><div><br></div></div></div></div></div></div></div></div></div><div><br>On Dec 14, 2015, at 22:35, Bruno Oliveira &lt;<a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><span>Hi Kunal, could you please tell me which version are you trying? I</span><br><span>would to try it locally here and see if I can reproduce the issue.</span><br><span></span><br><span>On Mon, Dec 14, 2015 at 2:16 PM, Kunal K &lt;<a href="mailto:kunal@plivo.com">kunal@plivo.com</a>&gt; wrote:</span><br><blockquote type="cite"><span>Hi,</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I'm using the migration script to import my users with a new hash algorithm</span><br></blockquote><blockquote type="cite"><span>with the following command -</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>bin/standalone.sh -Dkeycloak.migration.action=import</span><br></blockquote><blockquote type="cite"><span>-Dkeycloak.migration.provider=dir -Dkeycloak.migration.dir=keycloak-data</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>However all my salt values get changed mid way during the whole operation</span><br></blockquote><blockquote type="cite"><span>and are stored (in the database) differently than what they should be. I</span><br></blockquote><blockquote type="cite"><span>checked the code and saw that the script expects the salt values to be</span><br></blockquote><blockquote type="cite"><span>base64 encoded. I tried encoding the salt to base64, but the same issue</span><br></blockquote><blockquote type="cite"><span>persists.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Lastly I tried to update the salt in the database (postgres) directly using</span><br></blockquote><blockquote type="cite"><span>an UPDATE statement, which worked well. Another observation I made is that</span><br></blockquote><blockquote type="cite"><span>salt is a 'bytea' data type in postgres and is stored as a hex value.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Is there some issue with the import script? I'll be happy to fix it if</span><br></blockquote><blockquote type="cite"><span>anyone points me in the right direction.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>--</span><br></blockquote><blockquote type="cite"><span>KUNAL KERKAR | PRODUCT ENGINEER</span><br></blockquote><blockquote type="cite"><span>Plivo, Inc. 340 Pine St, San Francisco - 94104, USA</span><br></blockquote><blockquote type="cite"><span>Web: <a href="http://www.plivo.com">www.plivo.com</a> | Twitter: @plivo, @tsudot</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Free Incoming SMS for All US Short Codes – Get One Today!</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>keycloak-dev mailing list</span><br></blockquote><blockquote type="cite"><span><a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a></span><br></blockquote><blockquote type="cite"><span><a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></span><br></blockquote><span></span><br><span></span><br><span></span><br><span>-- </span><br><span>- abstractj</span><br></div></blockquote></body></html>