From: | Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com> |
---|---|
To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
Cc: | PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: [GENERAL] pgAdmin4 needs information of v10 SCRAM authentication |
Date: | 2017-04-21 06:43:27 |
Message-ID: | CANxoLDcEqAXOWYPpmtETR4WDCZZNjHRb8Z4KNfMMmsAPr3CKZA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers pgsql-general |
On Fri, Apr 21, 2017 at 12:07 PM, Michael Paquier <michael(dot)paquier(at)gmail(dot)com
> wrote:
> On Fri, Apr 21, 2017 at 3:27 PM, Akshay Joshi
> <akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
> > from passlib.hash import scram
> > hash = scram.encrypt(data['newPassword']) -- This function provide
> password for all the supported digest like [md5, sha-1, sha-256, sha-512].
> Didn't work I have tried with all the passwords.
> > test = scram.extract_digest_info(hash, "sha-256") -- This function
> extract info for specified digest "sha-256". I have retrieve the password
> which was in hexadecimal. Didn't work as well.
> >
> > Now I am stuck here and no clue how to encrypt/decrypt the password for
> SCRAM authentication. Can someone guide me out here.
>
> Here you go:
> https://www.postgresql.org/message-id/76ac7e67-4e3a-f4df-
> e087-fbac90151907(at)iki(dot)fi
Thanks Michael, will check this.
>
> --
> Michael
>
--
*Akshay Joshi*
*Principal Software Engineer *
*Phone: +91 20-3058-9517Mobile: +91 976-788-8246*
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-04-21 06:50:00 | Re: [GENERAL] pgAdmin4 needs information of v10 SCRAM authentication |
Previous Message | Michael Paquier | 2017-04-21 06:37:50 | Re: [GENERAL] pgAdmin4 needs information of v10 SCRAM authentication |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-04-21 06:50:00 | Re: [GENERAL] pgAdmin4 needs information of v10 SCRAM authentication |
Previous Message | Michael Paquier | 2017-04-21 06:37:50 | Re: [GENERAL] pgAdmin4 needs information of v10 SCRAM authentication |