Re: [GENERAL] pgAdmin4 needs information of v10 SCRAM authentication

2017-04-24 Thread Michael Paquier
On Mon, Apr 24, 2017 at 3:04 PM, Akshay Joshi wrote: >I have gone through this, but still facing issue to encrypt/change the > database server password. In pgAdmin4 we have "Change Password" feature where > user will enter the old and new password for the

Re: [GENERAL] pgAdmin4 needs information of v10 SCRAM authentication

2017-04-24 Thread Akshay Joshi
Hi Michael On Fri, Apr 21, 2017 at 12:07 PM, Michael Paquier wrote: > On Fri, Apr 21, 2017 at 3:27 PM, Akshay Joshi > wrote: > > from passlib.hash import scram > > hash = scram.encrypt(data['newPassword']) -- This function provide >

Re: [GENERAL] pgAdmin4 needs information of v10 SCRAM authentication

2017-04-21 Thread Akshay Joshi
On Fri, Apr 21, 2017 at 12:20 PM, Michael Paquier wrote: > On Fri, Apr 21, 2017 at 3:43 PM, Akshay Joshi > wrote: > >Thanks Michael, will check this. > > One thing I forgot to mention... Both StoredKey and ServerKey are now >

Re: [GENERAL] pgAdmin4 needs information of v10 SCRAM authentication

2017-04-21 Thread Michael Paquier
On Fri, Apr 21, 2017 at 3:43 PM, Akshay Joshi wrote: >Thanks Michael, will check this. One thing I forgot to mention... Both StoredKey and ServerKey are now encoded in hex, but there is still an open item related to the handling of psql's \password on which I

Re: [GENERAL] pgAdmin4 needs information of v10 SCRAM authentication

2017-04-21 Thread Akshay Joshi
On Fri, Apr 21, 2017 at 12:07 PM, Michael Paquier wrote: > On Fri, Apr 21, 2017 at 3:27 PM, Akshay Joshi > wrote: > > from passlib.hash import scram > > hash = scram.encrypt(data['newPassword']) -- This function provide > password for

Re: [GENERAL] pgAdmin4 needs information of v10 SCRAM authentication

2017-04-21 Thread Michael Paquier
On Fri, Apr 21, 2017 at 3:27 PM, Akshay Joshi 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

[GENERAL] pgAdmin4 needs information of v10 SCRAM authentication

2017-04-21 Thread Akshay Joshi
Hi All We are into development phase where we are trying to incorporate the v10 changes into pgAdmin4. v10 added support for the SCRAM authentication into database server, so pgAdmin4 needs to incorporate that feature(for 'Change Password'). Now problem I am facing is, unable to find correct set