Bug report #11886

DBManager always shows password to PostGIS connection in clear text in .qgs file

Added by Harrissou Santanna almost 5 years ago. Updated over 4 years ago.

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

Revision 62b2c1fc
Added by Jürgen Fischer over 4 years ago

db manager: request credentials directly when connection failed (fixes #11886)

History

#1 Updated by Jürgen Fischer over 4 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF