Skip to content
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

Closed
wants to merge 12 commits into from
Closed

Test smartcard #7281

wants to merge 12 commits into from

Commits on Apr 8, 2024

  1. CI: enable for passwordless_gdm branch

    To be deleted before opening PR to master branch.
    
    Signed-off-by: Iker Pedrosa <[email protected]>
    ikerexxe committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    0d9c2d1 View commit details
    Browse the repository at this point in the history
  2. 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]>
    ikerexxe committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    73cb26c View commit details
    Browse the repository at this point in the history
  3. 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]>
    ikerexxe committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    1cdf388 View commit details
    Browse the repository at this point in the history
  4. 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]>
    ikerexxe committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    ee7efe9 View commit details
    Browse the repository at this point in the history
  5. 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]>
    ikerexxe committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    f21b114 View commit details
    Browse the repository at this point in the history
  6. 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]>
    ikerexxe committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    b58bc3b View commit details
    Browse the repository at this point in the history
  7. 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]>
    ikerexxe committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    b0367fe View commit details
    Browse the repository at this point in the history
  8. 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]>
    ikerexxe committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    2ed8838 View commit details
    Browse the repository at this point in the history
  9. Responder: parse GUI reply

    Parse GUI reply and set the appropriate data in `sss_auth_token`
    structure.
    
    Signed-off-by: Iker Pedrosa <[email protected]>
    ikerexxe committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    12461e7 View commit details
    Browse the repository at this point in the history
  10. Test: adapt test_pam_srv to JSON message

    Include JSON message where applies.
    
    Signed-off-by: Iker Pedrosa <[email protected]>
    ikerexxe committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    8478454 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Test: remove all CI actions except COPR builds

    TODO: to be removed
    
    Signed-off-by: Iker Pedrosa <[email protected]>
    ikerexxe committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    16707fd View commit details
    Browse the repository at this point in the history
  2. Test passwordless-GDM smartcard

    Signed-off-by: Iker Pedrosa <[email protected]>
    ikerexxe committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    79bc39d View commit details
    Browse the repository at this point in the history