<div dir="ltr"><div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>On Sat, 25 Jul 2020 at 12:36, Michał <<a href="mailto:fcs1@poczta.onet.pl">fcs1@poczta.onet.pl</a>> wrote:<br></div></div></div></div></div></div></div></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF">
    <font face="Arial">Hello,</font><br>
    <div><font face="Arial"> <br>
        I have these questions for authentication system in QGIS on
        Windows 7 and 10 systems:<br>
        <br>
        1. Where directly is stored the master password ?<br></font></div></div></blockquote><div><br></div><div><a href="https://docs.qgis.org/3.10/en/docs/user_manual/auth_system/auth_overview.html#master-password">https://docs.qgis.org/3.10/en/docs/user_manual/auth_system/auth_overview.html#master-password</a><br></div><div><br></div><div>is an hash of the master password stored in auth.db or externally in QGIS_AUTH_PASSWORD_FILE...</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><div><font face="Arial">
        <br>
        2. What is the rule of the QGIS_AUTH_PASSWORD_FILE on windows
        machines and how to use it ?<br>
        <br>
        Regards<br>
        Michal<br></font></div></div></blockquote><div><br></div><div>you can chekc all the logic in the documentation:</div><div><br></div><div><a href="https://docs.qgis.org/3.10/en/docs/user_manual/auth_system/auth_overview.html">https://docs.qgis.org/3.10/en/docs/user_manual/auth_system/auth_overview.html</a><br></div><div><br></div><div>or directly reading the code of</div><div>QgsAuthManager (<a href="https://qgis.org/api/classQgsAuthManager.html">https://qgis.org/api/classQgsAuthManager.html</a>)</div><div>and</div><div>QgsAuthCrypto that is used to manage dehashing  and based on QCA library (<a href="https://qgis.org/api/classQgsAuthCrypto.html">https://qgis.org/api/classQgsAuthCrypto.html</a>)<br></div><div><br></div><div>regards</div><div><br></div><div>Luigi Pirelli<br><br>**************************************************************************************************<br>* LinkedIn: <a href="https://www.linkedin.com/in/luigipirelli" target="_blank">https://www.linkedin.com/in/luigipirelli</a><br>* Stackexchange: <a href="http://gis.stackexchange.com/users/19667/luigi-pirelli" target="_blank">http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br>* GitHub: <a href="https://github.com/luipir" target="_blank">https://github.com/luipir</a><br>* Book: <a href="https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition" target="_blank">Mastering QGIS3 - 3rd Edition</a></div><div>* Hire a team: <a href="http://www.qcooperative.net" target="_blank">http://www.qcooperative.net</a><br></div><div>**************************************************************************************************<br></div></div></div>