Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: SSL connection with client side certificate #18

Open
mbalmer opened this issue Nov 23, 2021 · 6 comments
Open

Feature Request: SSL connection with client side certificate #18

mbalmer opened this issue Nov 23, 2021 · 6 comments

Comments

@mbalmer
Copy link

mbalmer commented Nov 23, 2021

The libpq C library allows the use of client side SSL certificates to secure a connection to the PostgreSQL server. As I saw no mention of client side certificates in the API documentation, I wonder if this feature could be added.

@isoos
Copy link
Owner

isoos commented Nov 23, 2021

@mbalmer: I'm happy to review PRs and merge them, if you are up to contribute this feature. Bonus if we could add an end2end test for it too.

@mbalmer
Copy link
Author

mbalmer commented Nov 23, 2021 via email

@isoos
Copy link
Owner

isoos commented Nov 23, 2021

@mbalmer: the package is designed for server-side apps, and not for mobile apps. Just mentioning this, as you have mentioned flutter...

@mbalmer
Copy link
Author

mbalmer commented Nov 23, 2021 via email

@isoos
Copy link
Owner

isoos commented Nov 23, 2021

I have no idea how the Flutter app will handle connections if/when there is context switch between apps. Maybe a connection pool with strict settings helps there (e.g. package:postgres_pool), you'll need to try it first :)

@mbalmer
Copy link
Author

mbalmer commented Nov 23, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants