pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

See (and set) encrypted password (RM #4323)

Open dpage opened this issue 6 years ago • 5 comments

Issue migrated from Redmine: https://redmine.postgresql.org/issues/4323 Originally created by Michael Shapiro at 2019-06-05 05:51:33 UTC.

PgAdmin3 has the ability to see the encrypted password for a login role. Can this be added to PgAdmin4?

When you select the SQL for a login role, PgAdmin3 shows.

CREATE ROLE xxx_user LOGIN ENCRYPTED PASSWORD 'md5f349771b7d83b170e8377bd7d09' SUPERUSER INHERIT CREATEDB CREATEROLE NOREPLICATION;

Can this functionality be added to PgAdmin4? Also, can the dialog for a login role support setting an encrypted password?

dpage avatar Jun 05 '19 05:06 dpage

Comment migrated from Redmine: https://redmine.postgresql.org/issues/4323#note-1 Originally created by Akshay Joshi at 2019-06-14 10:47:55 UTC.

Redmine ticket header update:

Name Old Value New Value
Sprint changed Ready

dpage avatar Jun 14 '19 10:06 dpage

Comment migrated from Redmine: https://redmine.postgresql.org/issues/4323#note-2 Originally created by Rahul Shirsat at 2021-06-25 11:34:11 UTC.

SQL part is visible. Allowing encrypted password from create dialog is pending.

Redmine ticket header update:

Name Old Value New Value
Sprint changed Ready
Difficulty changed Easy

dpage avatar Jun 25 '21 11:06 dpage

Comment migrated from Redmine: https://redmine.postgresql.org/issues/4323#note-3 Originally created by Nikhil Mohite at 2021-07-02 11:36:07 UTC.

Redmine ticket header update:

Name Old Value New Value
Sprint changed Ready

dpage avatar Jul 02 '21 11:07 dpage

An encrypted password for the login role is implemented in the SQL tab.

khushboovashi avatar Mar 31 '23 11:03 khushboovashi

https://www.postgresql.org/docs/15/sql-createrole.html

khushboovashi avatar Mar 31 '23 11:03 khushboovashi

As per the documentation from PostgreSQL v10 and above "The password is always stored encrypted in the system catalogs. The ENCRYPTED keyword has no effect, but is accepted for backwards compatibility."

Hence closing this feature.

akshay-joshi avatar Sep 27 '24 08:09 akshay-joshi