pgAdmin 4 commit: 1. Added Master Password to increase the security of

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: 1. Added Master Password to increase the security of
Date: 2019-05-28 06:31:31
Message-ID: E1hVVdz-000659-OW@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

1. Added Master Password to increase the security of saved passwords. Fixes #4184
2. In server(web) mode, update all the saved server credentials when user password is changed. Fixes #3377

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=dfa892d2a26aec01a56f5598acabc1993b819cde
Author: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>

Modified Files
--------------
docs/en_US/connecting.rst | 7 +
docs/en_US/images/master_password_enter.png | Bin 0 -> 46832 bytes
docs/en_US/images/master_password_reset.png | Bin 0 -> 38382 bytes
docs/en_US/images/master_password_set.png | Bin 0 -> 40636 bytes
docs/en_US/login.rst | 1 +
docs/en_US/master_password.rst | 38 ++++
docs/en_US/release_notes_4_7.rst | 2 +
web/config.py | 6 +
web/migrations/versions/35f29b1701bd_.py | 51 ++++++
web/migrations/versions/f195f9a4923d_.py | 5 +-
web/pgadmin/__init__.py | 25 ++-
web/pgadmin/browser/__init__.py | 146 +++++++++++++++-
.../browser/server_groups/servers/__init__.py | 45 +++--
.../server_groups/servers/databases/__init__.py | 1 -
.../servers/databases/static/js/database.js | 14 +-
.../server_groups/servers/static/js/server.js | 12 +-
.../servers/templates/servers/password.html | 40 +++--
.../servers/templates/servers/tunnel_password.html | 61 ++++---
web/pgadmin/browser/server_groups/servers/utils.py | 70 ++++++++
web/pgadmin/browser/static/js/browser.js | 191 ++++++++++++++++++++-
web/pgadmin/browser/static/js/collection.js | 139 +++++++--------
web/pgadmin/browser/static/js/node.js | 89 +++++-----
.../browser/templates/browser/master_password.html | 23 +++
web/pgadmin/browser/tests/test_master_password.py | 106 ++++++++++++
web/pgadmin/browser/utils.py | 18 +-
web/pgadmin/dashboard/static/js/dashboard.js | 82 ++++++---
.../misc/dependencies/static/js/dependencies.js | 9 +-
.../misc/dependents/static/js/dependents.js | 9 +-
web/pgadmin/misc/sql/static/js/sql.js | 48 +++---
.../misc/statistics/static/js/statistics.js | 183 ++++++++++----------
web/pgadmin/model/__init__.py | 3 +-
web/pgadmin/static/js/alertify.pgadmin.defaults.js | 15 +-
web/pgadmin/static/js/sqleditor/execute_query.js | 12 ++
.../tools/grant_wizard/static/js/grant_wizard.js | 62 ++++---
web/pgadmin/tools/sqleditor/__init__.py | 9 +-
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 5 +
.../tools/sqleditor/utils/start_running_query.py | 7 +-
web/pgadmin/utils/__init__.py | 45 +++++
web/pgadmin/utils/driver/psycopg2/__init__.py | 23 +--
web/pgadmin/utils/driver/psycopg2/connection.py | 34 +++-
.../utils/driver/psycopg2/server_manager.py | 132 ++++++++++----
web/pgadmin/utils/exception.py | 25 +++
web/pgadmin/utils/master_password.py | 119 +++++++++++++
web/regression/runtests.py | 11 +-
44 files changed, 1508 insertions(+), 415 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2019-05-28 06:39:44 pgAdmin 4 commit: Update message catalogs.
Previous Message Akshay Joshi 2019-05-28 05:33:09 pgAdmin 4 commit: Fixed CSRF security vulnerability issue. per Alvin Li