While testing new sdk (SE05x-MW-v04.03.00) pkcs11 plugin fails to retrieve stored objects.
I was met with "More than MAX_ID_LIST_SIZE objects requested". Even when a single key is used and referred via id, it gave this error.
Due to problem being reproducible easily, I will share easiest way.
Simple steps to reproduce,
1. Write engine.conf for openssl
2. Request all objects or specific object - here i will only give all objects command.
pkcs11-tool --module /usr/lib/libsss_pkcs11.so -O
3. You will face similar issue as above.
File:
sss/plugin/pkcs11/sss_pkcs11_pal_object.c @ 770
I think the condition should be
MAX_ID_LIST_SIZE < ulMaxObjectCount
Solved! Go to Solution.
Hi @bug_squasher_77 ,
Thanks for the report! I have created a ticket to the MW team for this issue.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi @bug_squasher_77 ,
Thanks for the report! I have created a ticket to the MW team for this issue.
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------