jakob / Postico

Public issue tracking for Postico

Home Page:https://eggerapps.at/postico/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve connection string parsing for TLS certificates

Pluggi opened this issue · comments

What did you do?

When creating a new server from a postgres connection string, Postico does not seem to parse the sslcert/sslkey/sslrootcert query parameters properly, and does not fill the path for the Server CA/Client Cert/Client Key inputs.

My connection string looks like this:

postgres://username:password@127.0.0.1:15432/database?sslcert=/tmp/tmp.DSb7o56gRA&sslkey=/tmp/tmp.h2J1LhJtt4&sslrootcert=/tmp/tmp.IWNE6enikG

What did you expect to happen?

I expected Postico to fill all the inputs from the parameters I specify in my connection string.

What actually happened?

The paths are not parsed and the inputs are not filled.

What software versions are you using?

Postico version: 2.0.5 (9661)