#62: Support SSL connections
--------------------------+------------------------------
Reporter: cito | Owner:
Type: enhancement | Status: closed
Priority: major | Milestone: 5.1
Component: C Module | Version: 4.1
Resolution: fixed | Keywords: security network
--------------------------+------------------------------
Changes (by cito):
* status: new => closed
* resolution: => fixed
Comment:
With DB API 2, you can also send the parameters as keyword parameters -
they will be automatically added to the database argument.
I have now documented how to send parameters with the classic module as
well.
We could support keyword parameters in a similar way as in DB API 2, by
converting them to connection strings. But the classic module uses the
connect function from the C module, so this would be more difficult, or
could only be done in the DB wrapper.
Alternatively, we could use PQconnectdbParams instead of PQsetdbLogin for
both modules and then send the additional parameters using that function.
I'll make a new ticket out of that.
Btw, in !PyGres 5.1 the connection now has the information from
PQsslAttribute as `ssl_attributes` and PQsslInUse as `ssl_in_use`
attribute.
--
Ticket URL: <http://trac.pygresql.org:8000/pgtracker/ticket/62#comment:4>
PyGreSQL <http://www.pygresql.org/>
PyGreSQL Tracker
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo/pygresql