Bug with pkcs11 plugin in SDK v04.03.00

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bug with pkcs11 plugin in SDK v04.03.00

ソリューションへジャンプ
845件の閲覧回数
bug_squasher_77
Contributor I

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.

bug_squasher_77_1-1675094244616.png

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

bug_squasher_77_0-1675094008666.png

I think the condition should be

MAX_ID_LIST_SIZE < ulMaxObjectCount
ラベル(1)
0 件の賞賛
返信
1 解決策
825件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

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.
-------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
826件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

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.
-------------------------------------------------------------------------------

0 件の賞賛
返信