0bdd8800c16f39b8fe308d20694ad905c669dff3 |
|
13-Nov-2017 |
Sumit Bose <sbose@redhat.com> |
PAM: handled multiple certs in the responder
This patch refactors the handling of the certificate and the attributes
to address the certificate on the Smartcard (module name, token name and
key id). Instead of using individual variables the values are put into a
new struct cert_auth_info. Since the new struct can be used as a list
the PAM responder can now handle multiple certificates on the Smartcard
and can send the needed data to pam_sss with multiple SSS_PAM_CERT_INFO
messages.
Unit tests are added to confirm the expected behavior.
Related to https://pagure.io/SSSD/sssd/issue/3560
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Tested-by: Scott Poore <spoore@redhat.com> |
900778b5afd0143005cfd40cc67ad5086481f7ee |
|
23-Nov-2016 |
Lukas Slebodnik <lslebodn@redhat.com> |
TESTS: Check new line at end of file
Reviewed-by: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
d8899526551cbfe112e0ecc8280003a8349fc531 |
|
07-Oct-2015 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
TESTS: Make whitespace_test pass without whitespace
Make whitespace_test pass if no trailing whitespace was detected at all.
Add two comments explaining how searching and failure handling works.
Fixes:
https://fedorahosted.org/sssd/ticket/2816
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9c |
|
03-Sep-2015 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
TESTS: Add trailing whitespace test
Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Reviewed-by: Pavel Reichl <preichl@redhat.com> |