-
Notifications
You must be signed in to change notification settings - Fork 256
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
passkey: Skip processing non-passkey mapping data #7066
passkey: Skip processing non-passkey mapping data #7066
Conversation
|
bc66d7b
to
d501cd6
Compare
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.
Some minor comments inline
0832cd4
to
b9e4643
Compare
I added a test which reproduces the crash if run without this PR.
|
e5c649d
to
bb0f33f
Compare
In the AD case, the user altSecurityIdentities attribute can store passkey, smartcard, or ssh public key mapping data. Check to ensure we are handling passkey data before continuing in PAM passkey processing. :relnote: Fixes a crash when PAM passkey processing incorrectly handles non-passkey data. Resolves: SSSD#7061
bb0f33f
to
a12f902
Compare
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.
Hi,
thanks for the fix and the test, ACK.
bye,
Sumit
Perfect! Thank you 😄 LGTM. |
In the AD case, the user altSecurityIdentities attribute can store passkey, smartcard, of ssh public key mapping data. Check to ensure we are handling passkey data before continuing in PAM passkey processing.
Resolves: #7061