-
Notifications
You must be signed in to change notification settings - Fork 250
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
Test smartcard #7281
Test smartcard #7281
Commits on Apr 8, 2024
-
CI: enable for passwordless_gdm branch
To be deleted before opening PR to master branch. Signed-off-by: Iker Pedrosa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d9c2d1 - Browse repository at this point
Copy the full SHA 0d9c2d1View commit details -
util: implement pam_get_response_data()
This API gets the selected response type data from the response_data linked list. Includes unit tests. Signed-off-by: Iker Pedrosa <[email protected]> Signed-off-by: Ray Strode <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73cb26c - Browse repository at this point
Copy the full SHA 73cb26cView commit details -
Responder: generate JSON message for GUI
Implement a set of functions to check the available authentication mechanisms and their associated data, and generate a JSON message with it. This JSON formatted message will be consumed by apps that provide GUI login (i.e. GDM). Currently, the implementation only takes into account password and OAUTH2 mechanisms. Include unit tests to check the implemented functions. Signed-off-by: Iker Pedrosa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1cdf388 - Browse repository at this point
Copy the full SHA 1cdf388View commit details -
Responder: unpack JSON reply from GUI
Implement a set of functions to unpack the JSON reply from the GUI. Include unit tests to check the implemented functions. Signed-off-by: Iker Pedrosa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee7efe9 - Browse repository at this point
Copy the full SHA ee7efe9View commit details -
Responder: check PAM service file for JSON protocol
Implement a function to check whether the PAM service file in use is enabled for the JSON procotol. This helps us filter which applications are compatible with this protocol. Signed-off-by: Iker Pedrosa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f21b114 - Browse repository at this point
Copy the full SHA f21b114View commit details -
Responder: new option
pam_json_services
This new option is used to enable the JSON protocol in the PAM responder based on the PAM service file in use. :config: Add pam_json_services option to enable JSON protocol to communicate the available authentication mechanisms. Signed-off-by: Iker Pedrosa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b58bc3b - Browse repository at this point
Copy the full SHA b58bc3bView commit details -
Responder: call JSON message generation
Call JSON message generation function and fill the data structure containing the response_data linked list. Signed-off-by: Iker Pedrosa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b0367fe - Browse repository at this point
Copy the full SHA b0367feView commit details -
SSS_CLIENT: forward available auth JSON message
Forward the available authentication mechanisms and their associated data message to the GUI login using a PAM conversation. Then, obtain the reply and forward it to the responder, so that it can parse it. Signed-off-by: Iker Pedrosa <[email protected]> Signed-off-by: Ray Strode <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ed8838 - Browse repository at this point
Copy the full SHA 2ed8838View commit details -
Parse GUI reply and set the appropriate data in `sss_auth_token` structure. Signed-off-by: Iker Pedrosa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12461e7 - Browse repository at this point
Copy the full SHA 12461e7View commit details -
Test: adapt test_pam_srv to JSON message
Include JSON message where applies. Signed-off-by: Iker Pedrosa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8478454 - Browse repository at this point
Copy the full SHA 8478454View commit details
Commits on Apr 9, 2024
-
Test: remove all CI actions except COPR builds
TODO: to be removed Signed-off-by: Iker Pedrosa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 16707fd - Browse repository at this point
Copy the full SHA 16707fdView commit details -
Test passwordless-GDM smartcard
Signed-off-by: Iker Pedrosa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 79bc39d - Browse repository at this point
Copy the full SHA 79bc39dView commit details