pgAdmin 4 commit: Fixing the decryption issue during restoring the conn

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Fixing the decryption issue during restoring the conn
Date: 2016-06-06 17:20:52
Message-ID: E1b9yCq-0007KT-Qk@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fixing the decryption issue during restoring the connection on restart.

As we convert the binary password to string during storing the
connection information, we also need to convert it back to byte-arrays
during restoring the connections.

Hence - decode the passowrd using 'utf-8' encoding during storing the
connection information, and encode it during restoring the connections.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=37e2e1d24beb9d5a4474dfaacfa209d2c060991f

Modified Files
--------------
web/pgadmin/utils/driver/psycopg2/__init__.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Murtuza Zabuawala 2016-06-07 05:17:54 Re: Re: [pgAdmin 4 - Bug #1292] ERROR: template database "!@#$%^&*()_+{}|:"<>?=-\\][';/.," does not exist message throws if template database contain special charterers
Previous Message Paresh More 2016-06-06 17:15:29 Re: PATCH: pgAdmin4 windows installer