Error when building a image using keyfactor plugin

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error when building a image using keyfactor plugin

107 Views
cleo
Contributor I

I have installed spsdk and spsdk-plugins to build an image for RT1064 using the keyfactor plugin. When I am launching in venv the build_image_win.bat file I keep getting an error 

SPSDKError: SPSDK: Signature provider could not be created from config type=keyfactor;url=...

The log file shows the below error.

INFO:spsdk.utils.service_provider:Loading plugins: spsdk.sp
INFO:spsdk.utils.service_provider:SignatureProvider of type keyfactor was not found.
DEBUG:spsdk.apps.utils.utils:SPSDK: Signature provider could not be created from config type=keyfactor;url

I ran a test to  inspect the environment's active Python entry points as shown below
"python -c "import importlib.metadata; print([p.name for p in importlib.metadata.entry_points(group='spsdk.sp')])"  " and the result of the test is good, keyfactor is in the active Python entry points.

I have attached the build batch file and the yaml file.
How can I fix this issue?



0 Kudos
Reply
1 Reply

83 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @cleo ,

 

Looks like the plugin was not loaded successfully. Did you follow the guide from  https://github.com/nxp-mcuxpresso/spsdk_plugins/tree/master/keyfactor ?  Please refer to https://github.com/nxp-mcuxpresso/spsdk_plugins for more details.

 

Hope that helps,

 

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 Kudos
Reply