Alexey thanks for the reference! I'll make sure to try it. 🚀

BTW, I think this behavior is caused by this sequence of 3 conditions: 
https://github.com/SSSD/sssd/blob/c7733c44411aadc45dd3f209551a78c2609fa9a3/src/p11_child/p11_child_openssl.c#L1692-L1723

The code doesn't hit `continue` in the first condition because we don't see the 
`"Not matching URI [%s], skipping.\n"` string in the log above. It's not 
relevant, but I'm not sure if `uri` is NUL here. I think it gets its value from 
here because I don't pass `--uri` option in the CLI: 
https://github.com/SSSD/sssd/blob/c7733c44411aadc45dd3f209551a78c2609fa9a3/src/p11_child/p11_child_openssl.c#L1623.

It also doesn't enter the second condition because the token isn't present in 
slot #0.

So then we get to the third condition, and it is a removable device, so we hit 
`break` and never go over slot #1.
_______________________________________________
sssd-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to