Re: [pgAdmin4][Patch]: Do not decrypt the password when the password is 'None'

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: Do not decrypt the password when the password is 'None'
Date: 2018-01-03 13:20:39
Message-ID: CA+OCxoxuYHPT6oD_s2FjLwVOU5ndmr_HiOSU_adAbdDeiuyRyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, applied.

On Fri, Dec 22, 2017 at 6:32 AM, Murtuza Zabuawala <
murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:

> Hi,
>
> PFA patch to fix the issue where we were getting exception ValueError: IV
> must be 16 bytes long while decrypting the password.
> RM#2765
>
> Steps to re-produce:
> 1) Create new server using pgpass file, do not enter anything in password
> field.
> 2) Connect to server & open query tool (to make one or more connection
> with server)
> 3) Stop pgAdmin4 server from backend & start it again
> 4) Hard refresh the browser by removing the cache & cookies.
> 5) Expand the Server-Group in which you added that server, Check the
> console you will see the same error, this happens when we try to
> automatically restore the server connection while expanding the server
> nodes and that server connection do not have any password stored.
>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2018-01-03 13:36:54 pgAdmin 4 commit: Close user language preference drop down when it lose
Previous Message Dave Page 2018-01-03 13:20:01 pgAdmin 4 commit: Do not decrypt the password when the password is 'Non