-
Notifications
You must be signed in to change notification settings - Fork 15
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
Kerberos smart card logon implementation #145
Merged
Merged
Changes from 24 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
d9aed48
feat(sspi): move generate_pa_datas_for_as_req and generate_signer_inf…
TheBestTvarynka 6c71071
feat(pku2u): make check_if_empty macros exportable
TheBestTvarynka 7f26a7b
feat(pku2u & pk_init): move pk-init related funtions into the pk_init…
TheBestTvarynka 21a35ee
feat(kerberos): move pa_data generation into a separate module
TheBestTvarynka c931e95
feat(kerberos): add smart card credentials handling. refactor kerberos
TheBestTvarynka 9187da3
feat(sspi): pk_init: improved pa-data structures generation;
TheBestTvarynka cced73c
feat(sspi): pku2u: generators: improve client dh parameter;
TheBestTvarynka 5b1c23c
fix(sspi): kerberos: pa-data: session key extraction
TheBestTvarynka d29eb46
feat(sspi): kerberos: extractors: improve enc params extraction;
TheBestTvarynka 27822c5
fix(sspi): pku2u: pa-data generation according to the changes in opti…
TheBestTvarynka 83553e1
fix(sspi): kerberos: pa-data and session key generation
TheBestTvarynka 0e8a4cb
feat(sspi): small refactoring. add more comments
TheBestTvarynka 89bb963
feat(sspi): format code
TheBestTvarynka 81a8abc
feat: improve conditional compilation with scard feature
TheBestTvarynka 1b4ee9c
feat(pku2u): add more logs;
TheBestTvarynka a863737
feat(kerberos): fix authenticator generation. add more logs. remove g…
TheBestTvarynka 8dae1c4
feat(sspi): pku2u: format code;
TheBestTvarynka ccb4068
feat(sspi): kerberos: format code. fix some clippy warnings;
TheBestTvarynka 947266c
fix(sspi): kerberos: smart card object creation;
TheBestTvarynka db56624
feat(sspi): kerebros: fix clippy warnings;
TheBestTvarynka 0736285
feat(sspi): pku2u: fix clippy warnings;
TheBestTvarynka cc12b0e
feat(sspi): pk_init: fix clippy warnings;
TheBestTvarynka 8eea5ee
feat(sspi): pku2u: small refactoring;
TheBestTvarynka d1d2360
feat(sspi): kerberos: small refactoring. remove unneeded logs. improv…
TheBestTvarynka 26ae03b
feat(sspi): remove unneeded PaDatas cloning
TheBestTvarynka 468d74d
feat(sspi): set ClientRequestFlags::MUTUAL_AUTH flag in SspiCredSsp
TheBestTvarynka 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 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 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 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 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 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 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 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
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.
What motivates this change? Maybe a
to_owned
orto_vec
can be removed somewhere below.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.
For every Kerberos AS exchange, we are using the
pa_data::AsReqPaDataOptions::generate
method to create neededPaData
s. They are never reused in our code. We generate new ones for every AS exchange. So, I changed this function signature to accept the ownedPaData
s.yes,
.to_owned()
can be removed below. I forgot about it during the refactoring.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.
removed unneeded
.to_owned()
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.
Sounds good!