jackc / pgx

PostgreSQL driver and toolkit for Go
MIT License
10.31k stars 816 forks source link

Allow defining `tls.Config.CipherSuites` #2004

Closed michaelbeaumont closed 4 months ago

michaelbeaumont commented 4 months ago

Is your feature request related to a problem? Please describe. I want to be able to define which cipher suites crypto/tls uses to connect to my database.

Describe the solution you'd like I suggest adding a setting like sslciphers to the settings supported in the connection string given to pgx.

Describe alternatives you've considered I'm not aware of any potential alternatives.

michaelbeaumont commented 4 months ago

Nevermind, of course being able to manipulate the config is more than enough.