Re: [pgAdmin4][Patch]: Allow user to provide custom SSL certificatesand provide .pgpass file - Mailing list pgadmin-hackers

From Murtuza Zabuawala
Subject Re: [pgAdmin4][Patch]: Allow user to provide custom SSL certificatesand provide .pgpass file
Date
Msg-id CAKKotZSVhd0ve1KvCc8c_To_dmH7EPS2HSOnT=YNm1Bddhi6gQ@mail.gmail.com
Whole thread Raw
In response to Re: [pgAdmin4][Patch]: Allow user to provide custom SSL certificatesand provide .pgpass file  (Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>)
Responses Re: [pgAdmin4][Patch]: Allow user to provide custom SSL certificatesand provide .pgpass file
List pgadmin-hackers
Hi Dave,

Please find updated patch, 
- For displaying hidden files I have added preference option in Storage section.
- Updated Docs & Screenshots.
- User can use 'prefer' option to enable SSL options.

Please review.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

https://community.postgresrocks.net/

On Fri, Aug 25, 2017 at 2:43 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi Dave,

On Fri, Aug 25, 2017 at 2:14 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi

On Thu, Aug 24, 2017 at 9:02 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi,

PFA patch to allow user to provide custom path for SSL certificates and also allow user to pass .pgpass file when making server connection.
RM#2649
RM#2650

SSL certificates options reference:

.pgpass file reference:

Nice! A few comments:

- Should we enable the certificate options for "Prefer" mode? What did we do in pgAdmin 3?
​In pgAdmin3, all SSL options are enabled for each mode.​
Yes, we should also consider 'prefer' mode.

- We need a doc update :-). Please include updates to all the screenshots on the relevant page, to ensure they all show the right tabs.
​Sure​, will sent it in next patch.

- I think the file browser needs an option to view hidden files/folders. Typically a pgpass file is at ~/.pgpass on *nix systems, and certificates are likely to be stored in ~/.ssh. 
​Let me check the file manager code, I will update on this.​
 

Thanks! 

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

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


Attachment

pgadmin-hackers by date:

Previous
From: Robert Eckhardt
Date:
Subject: Re: [pgadmin4][Patch] Greenplum specific DDL and Dashboard display
Next
From: Surinder Kumar
Date:
Subject: [pgAdmin4][Patch]: Ensure any changes to the config database arebackward compatible