-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Postgresql Kerberos authentication #4025
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
base: main
Are you sure you want to change the base?
Conversation
…chbadge#4027) * build TlsConnector in blocking threadpool The openssl TlsConnector synchronously loads certificates from files. Loading these files can block for tens of milliseconds. * Update sqlx-core/src/net/tls/tls_native_tls.rs --------- Co-authored-by: David Übler <david.uebler@puzzleyou.de> Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
…hbadge#4053) * fix(macros): smarter `.env` loading, caching, and invalidation * feat(mysql): test `.env` loading in CI * feat(postgres): test `.env` loading in CI * feat(macros): allow `DATABASE_URL` to be empty * fix(examples/postgres): make `cargo-sqlx` executable * fix(examples/postgres): `cargo sqlx` invocation * feat(examples/postgres): check offline prepare on more examples * fix(examples/postgres): the name of this step * fix(cli): don't suppress error from `dotenv()` * fix(ci/examples/postgres): don't use heredoc in this step * fix(ci/examples/postgres): multi-tenant * fix(ci/examples/sqlite): test `.env` loading * chore: add CHANGELOG entry
Co-authored-by: amolitor <andreas.molitor@andrena.de>
…go_bin()` (launchbadge#4134) * fix(ci): update macOS intel runner version * fix(cli/tests): replace use of deprecated `Command::cargo_bin()`
* Bump whoami to v2 Signed-off-by: tison <wander4096@gmail.com> * Update sqlx-postgres/src/options/mod.rs --------- Signed-off-by: tison <wander4096@gmail.com>
|
This does not fail on formality, but due to a CI/ C library compilation thing. Is there something I can change here, since Kerberos is the only GSSAPI system supported for that auth method anyway |
|
@2ndDerivative can you rebase and/or push a new commit to trigger a CI run? The logs aren't available anymore. |
|
I hope I didn't do it wrong, I never use rebase. Just popped it into the last main if that's somewhat correct? |
Initial implementation of working Kerberos authentication for PostgresQL using the GSSAPI authentication feature.
This is mostly so people can take a look at it, I know it's Kerberos only and not completely GSSAPI, but I haven't seen anyone making an effort to put this out here.
If you have feedback or anything hit me up.
Maybe a point worth looking at: default behaviour of postgres/. I mainly made that for convenience but might be too unreliable for some people.
Is this a breaking change?
It adds a dependency I guess