-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat(pam/nativemodel): Add native PAM interface support #314
Commits on Jun 26, 2024
-
pam: Use default log handler when pam.Silent is used and logging to file
In case we're logging to a file, we are not bothering PAM output, so let's continue using the default handler
Configuration menu - View commit details
-
Copy full SHA for 961e028 - Browse repository at this point
Copy the full SHA 961e028View commit details -
pam: Move initialization of options for PAM in headless mode to share…
…d file These are used both by tests and actual PAM model, so expose this in a single place to be reused without repetitions
Configuration menu - View commit details
-
Copy full SHA for 8209ce5 - Browse repository at this point
Copy the full SHA 8209ce5View commit details -
pam/authentication: Request stage change before starting authentication
We were managing this from model, but this happened also on error, so let's instead do the stage change only if authentication has been started
Configuration menu - View commit details
-
Copy full SHA for 24dff3f - Browse repository at this point
Copy the full SHA 24dff3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95e6833 - Browse repository at this point
Copy the full SHA 95e6833View commit details -
Configuration menu - View commit details
-
Copy full SHA for dad1a52 - Browse repository at this point
Copy the full SHA dad1a52View commit details -
pam/integration-tests: Rename optional pw reset tape to be closer to …
…what it does The tape doesn't really reset the password, it only skips the request so rename it accordingly, so that we can add an actual test that accepts the request
Configuration menu - View commit details
-
Copy full SHA for e9ad851 - Browse repository at this point
Copy the full SHA e9ad851View commit details -
pam/integration-tests: Rename test to make the outcome clearer
In this test we were switching to local broker, but that's not something that was explicitly stated so do it
Configuration menu - View commit details
-
Copy full SHA for 9310aa4 - Browse repository at this point
Copy the full SHA 9310aa4View commit details -
pam/integration-tests: Move CLI tapes to a subfolder
We're going to add more types, so let's organize them better
Configuration menu - View commit details
-
Copy full SHA for 1bcf3dc - Browse repository at this point
Copy the full SHA 1bcf3dcView commit details -
pam/authentication: Handle new password check logic in a global place
This makes easier to handle the logic in other UIs without having them to keep track of the state or of the previous password themselves
Configuration menu - View commit details
-
Copy full SHA for 782b82f - Browse repository at this point
Copy the full SHA 782b82fView commit details -
pam: Add PAM native model implementation
It allows to work with any pam client, regardless they're supporting authd or not
Configuration menu - View commit details
-
Copy full SHA for 51ac6ad - Browse repository at this point
Copy the full SHA 51ac6adView commit details -
pam/main-cli: Allow to enable simple conversation handler
It allows us to use more complex stacks where normal PAM input is required
Configuration menu - View commit details
-
Copy full SHA for 0a9cb81 - Browse repository at this point
Copy the full SHA 0a9cb81View commit details -
services/permissions/testutils: Only consider the suffix of the user …
…error message When replacing the user ID with XXXX's we may not be able to replace the content fully when the string is wrapped. So just consider the final part of the string. See https://github.com/ubuntu/authd/actions/runs/9588429219/job/26440434186
Configuration menu - View commit details
-
Copy full SHA for 23a2336 - Browse repository at this point
Copy the full SHA 23a2336View commit details -
pam/integration-tests: Add native PAM client integration tests
Reusing the same test cases of the CLI client, tuned to work with the simpler UI that PAM provides
Configuration menu - View commit details
-
Copy full SHA for fb81097 - Browse repository at this point
Copy the full SHA fb81097View commit details -
pam/integration-tests: Run passwd_unexisting_user tape with CLI
We had this tape in the repository, but it wasn't used, so actually use it
Configuration menu - View commit details
-
Copy full SHA for 1c81238 - Browse repository at this point
Copy the full SHA 1c81238View commit details -
pam/integration-tests: Add TestNativeChangeAuthTok tests
Repeat the tests we have for the CLI interface in the PAM native interface too
Configuration menu - View commit details
-
Copy full SHA for d02e993 - Browse repository at this point
Copy the full SHA d02e993View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09dede8 - Browse repository at this point
Copy the full SHA 09dede8View commit details