URL:
https://github.com/SSSD/sssd/pull/5760
Title: #5760: p11_child: Fixes for init_p11_ctx() and do_card()
dpward commented:
"""
I agree with the comments here, except to clarify:
As before p11_child can only wait on a single reader, in the old
version it was the first, now it is the last.
p11_child waits on an entire _PKCS#11 module_ — such as
[
OpenSC](https://github.com/OpenSC/OpenSC/wiki) or
[
YKCS11](https://developers.yubico.com/yubico-piv-tool/YKCS11/). Before it waited on the
first module; now it waits on the last. When calling `wait_for_card()`, note that `module`
is an input parameter, but `slot_id` and `info` are output parameters:
https://github.com/SSSD/sssd/blob/859221a9471863d626e473b124f51ee1cd62994...
Once a card/token is inserted, it will be used. It will not even check if it matches the
URI.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5760#issuecomment-912484215