-
Notifications
You must be signed in to change notification settings - Fork 181
RUST-2235 Implement GSSAPI auth support #1413
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
Open
mattChiaravalloti
wants to merge
19
commits into
mongodb:main
Choose a base branch
from
mattChiaravalloti:RUST-2235
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
b1f648f
RUST-2235: Initial Devin code
mattChiaravalloti 9789819
RUST-2235: Update auth spec tests to guard GSSAPI tests behind featur…
mattChiaravalloti e406e16
RUST-2235: Clean up options and client/auth
mattChiaravalloti 50aa9d9
RUST-2235: Fix warnings
mattChiaravalloti 9267940
RUST-2235: Clean up gssapi.rs and include debug code for further testing
mattChiaravalloti 43a4472
RUST-2235: Update wrap_unwrap
mattChiaravalloti 774375a
RUST-2235: Update final wrap step to use proper starting bytes
mattChiaravalloti 9e6e38d
RUST-2235: Clean up gssapi auth code
mattChiaravalloti 7e040aa
RUST-2235: Clean up canonicalize_hostname
mattChiaravalloti 3134bb6
RUST-2235: Fix api calls after rebase
mattChiaravalloti f323fe1
RUST-2235: Update constants
mattChiaravalloti e175e2e
RUST-2235: Combine new and init
mattChiaravalloti de0c4b7
SQL-2235: Properly alphabetize Cargo.toml
mattChiaravalloti 3fec2d9
SQL-2235: Update compile-only task to include gssapi feature flag
mattChiaravalloti 8ef6097
RUST-2235: Update Cargo.lock
mattChiaravalloti 13a6878
RUST-2235: Properly update Cargo.lock
mattChiaravalloti fafc56f
RUST-2235: Update tests to run with gssapi-auth feature enabled
mattChiaravalloti 934f0f4
RUST-2235: Fix rustfmt failures
mattChiaravalloti 5f5722c
RUST-2235: Address clippy failures
mattChiaravalloti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,9 @@ gcp-oidc = ["dep:reqwest"] | |
# This can only be used with the tokio-runtime feature flag. | ||
gcp-kms = ["dep:reqwest"] | ||
|
||
# Enable support for GSSAPI (Kerberos) authentication. | ||
gssapi-auth = ["dep:cross-krb5", "dep:dns-lookup"] | ||
|
||
zstd-compression = ["dep:zstd"] | ||
zlib-compression = ["dep:flate2"] | ||
snappy-compression = ["dep:snap"] | ||
|
@@ -80,8 +83,10 @@ chrono = { version = "0.4.7", default-features = false, features = [ | |
"clock", | ||
"std", | ||
] } | ||
cross-krb5 = { version = "0.4.2", optional = true, default-features = false } | ||
derive_more = "0.99.17" | ||
derive-where = "1.2.7" | ||
dns-lookup = { version = "2.0", optional = true } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not use |
||
flate2 = { version = "1.0", optional = true } | ||
futures-io = "0.3.21" | ||
futures-core = "0.3.14" | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abr-egn
Unrelated to this PR, really (though we could fix it here), should we update this comment since async-std support was dropped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hah, yes, good catch.