[QGIS-Developer] Authentication system - master password

Luigi Pirelli luipir at gmail.com
Wed Jul 29 01:05:31 PDT 2020


On Sat, 25 Jul 2020 at 12:36, Michał <fcs1 at poczta.onet.pl> wrote:

> Hello,
>
> I have these questions for authentication system in QGIS on Windows 7 and
> 10 systems:
>
> 1. Where directly is stored the master password ?
>

https://docs.qgis.org/3.10/en/docs/user_manual/auth_system/auth_overview.html#master-password

is an hash of the master password stored in auth.db or externally
in QGIS_AUTH_PASSWORD_FILE...


>
> 2. What is the rule of the QGIS_AUTH_PASSWORD_FILE on windows machines and
> how to use it ?
>
> Regards
> Michal
>

you can chekc all the logic in the documentation:

https://docs.qgis.org/3.10/en/docs/user_manual/auth_system/auth_overview.html

or directly reading the code of
QgsAuthManager (https://qgis.org/api/classQgsAuthManager.html)
and
QgsAuthCrypto that is used to manage dehashing  and based on QCA library (
https://qgis.org/api/classQgsAuthCrypto.html)

regards

Luigi Pirelli

**************************************************************************************************
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Book: Mastering QGIS3 - 3rd Edition
<https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition>
* Hire a team: http://www.qcooperative.net
**************************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200729/9d9b4c11/attachment-0001.html>


More information about the QGIS-Developer mailing list