denodrivers / postgres

PostgreSQL driver for Deno

Home Page:https://denodrivers.github.io/postgres

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test authentication methods using both TLS and uncrypted connections

Soremwar opened this issue · comments

Add SSL tests that run on every authentication method (need to figure out how to generate SSL certificates for Docker images)

Can you say a little more about "every authentication method"? And are you open to us requiring docker to run the tests to make it dead simple?

@nalanj The idea is quite simple, use a docker image and a custom pg_hba.conf to test MD5, trust and clear authentication methods (both TLS and non TLS encrypted). I'm working on this

Cool - wasn't sure if I could lend a hand or not. I'll keep pushing on SSL related stuff.

Partially done now. At least server TLS is now tested. Still missing client TLS.

I just opened an issue for that #327. Still don't know how to tackle that though