-
-
Notifications
You must be signed in to change notification settings - Fork 502
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
Added support for preparing the encrypted password (PQencryptPasswordConn) #576
Commits on Jul 17, 2017
-
Added support for preparing the encrypted password of a PostgreSQL
password using the libpq functions - 'PQencryptPasswordConn', and 'PQencryptPassword'.
Configuration menu - View commit details
-
Copy full SHA for cfb0937 - Browse repository at this point
Copy the full SHA cfb0937View commit details -
Using 'Text_FromUTF8' macro for transforming the encrypted C string to
Python string to make it Python 3 compatible.
Configuration menu - View commit details
-
Copy full SHA for 78eb80d - Browse repository at this point
Copy the full SHA 78eb80dView commit details -
When compiled with libpq version < 10, it raises 'psycopg2.NotSupport…
…edError' (not, psycopg2.ProgrammingError).
Configuration menu - View commit details
-
Copy full SHA for 2c1966a - Browse repository at this point
Copy the full SHA 2c1966aView commit details -
'encrypt_password' raises 'psycopg2.NotSupportedErorr' exception for
server version >= 10, when compiled using libpq version < 10, when no algorithm is specified.
Configuration menu - View commit details
-
Copy full SHA for e089d94 - Browse repository at this point
Copy the full SHA e089d94View commit details
Commits on Sep 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 6e0edf7 - Browse repository at this point
Copy the full SHA 6e0edf7View commit details
Commits on Sep 14, 2017
-
Moving the encrypt_password method from the connection class to the
psycopgmodule, and exported it from psycopg2.extensions as per review comments.
Configuration menu - View commit details
-
Copy full SHA for 84d4058 - Browse repository at this point
Copy the full SHA 84d4058View commit details
Commits on May 8, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1bec2bd - Browse repository at this point
Copy the full SHA 1bec2bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36f0db8 - Browse repository at this point
Copy the full SHA 36f0db8View commit details
Commits on May 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0161d54 - Browse repository at this point
Copy the full SHA 0161d54View commit details -
Fixed code flow in encrypt_password()
Fixed several shortcomings highlighted in psycopg#576 and not fixed as requested. Also fixed broken behaviour of ignoring the algorithm if the connection is missing.
Configuration menu - View commit details
-
Copy full SHA for a306390 - Browse repository at this point
Copy the full SHA a306390View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e4f89a - Browse repository at this point
Copy the full SHA 9e4f89aView commit details -
Configuration menu - View commit details
-
Copy full SHA for abca14d - Browse repository at this point
Copy the full SHA abca14dView commit details -
Fixed refcount handling in encrypt_password
Added tests to check bad types, which discovered the above problem: on type error we would have decref'd on exit something that was only borrowed (because we wouldn't have performed matching increfs).
Configuration menu - View commit details
-
Copy full SHA for 9cf658e - Browse repository at this point
Copy the full SHA 9cf658eView commit details