Bug report #11886
DBManager always shows password to PostGIS connection in clear text in .qgs file
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | DB Manager | ||
Affected QGIS version: | 2.6.1 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 20100 |
Description
Hi,
Click on "Add PostGIS table" button
Then create a new connection without saving username nor password. OK.
Connect and add some tables.
Save the project.
Launch DBManager, connect to the previous connection and add again some tables.
Save again the project.
In a text editor, you'll find that the tables added through "Add PostGIS table" don't show the username nor the password while they appear in clear text for those added through DBManager. This shouldn't be.
Seen on QGIS 2.4 (MacOS) and 2.6.1 (Win 8)
Associated revisions
db manager: request credentials directly when connection failed (fixes #11886)
History
#1 Updated by Jürgen Fischer almost 10 years ago
- Status changed from Open to Closed
Fixed in changeset 62b2c1fcabc88e82b0229790b56a7a9ada0f5771.