From: | Vaishnavi Prabakaran <vaishnaviprabakaran(at)gmail(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Cc: | hlinnaka(at)iki(dot)fi |
Subject: | Removal of plaintext password type references |
Date: | 2017-05-10 01:51:28 |
Message-ID: | CAOoUkxTZx1Yxox79B4TJGsG6VvLizEdp2vOO-x_jYmepyiCFzw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi All,
Following recent removal of support to store password in plain text,
modified the code to
1. Remove "PASSWORD_TYPE_PLAINTEXT" macro
2. Instead of using "get_password_type" to retrieve the encryption method
AND to check if the password is already encrypted or not, modified the code
to
a. Use "get_password_encryption_type" function to retrieve encryption
method.
b. Use "isPasswordEncrypted" function to check if the password is already
encrypted or not.
These changes are mainly to increase code readability and does not change
underlying functionality.
Attached the patch for community's review.
Thanks & Regards,
Vaishnavi,
Fujitsu Australia.
Attachment | Content-Type | Size |
---|---|---|
0001-Removal-of-plaintext-password-reference.patch | application/octet-stream | 6.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | xu jian | 2017-05-10 02:10:28 | how to shrink pg_attribute table? |
Previous Message | Michael Paquier | 2017-05-10 01:37:48 | Re: MSVC odd TAP test problem |