wolfBoot icon indicating copy to clipboard operation
wolfBoot copied to clipboard

KeyGenTool Have Some Problem

Open lifeng5478 opened this issue 11 months ago • 2 comments

key_import does not match RSA file import

and RSA2048 KeySize not 320.its 294

image image and then another thing,,,,uhmmm. maybe not a question。 image because i do not use the special section to set this keystore.

lifeng5478 avatar Mar 04 '24 11:03 lifeng5478

Hey @lifeng5478,

Could you share what version of wolfBoot these screenshots are from? It doesn't match what I'm seeing in our keytools, and I know this has been refactored recently. When that key_import code gets called the public key is already loaded into memory and for RSA is already in the correct format to use so it will be a little different from our normal file import procedure.

I'm not sure what you're asking about the keystore, are you saying you don't use keyimport.c for your keystore and have configured something else?

Best Wishes, John Bland

jpbland1 avatar Mar 11 '24 17:03 jpbland1

Hello @lifeng5478

Did you have time to check @jpbland1 's comments above? Which version of wolfBoot are you running? How are you importing the key from the keystore structure?

danielinux avatar Mar 22 '24 09:03 danielinux

Closing due to lack of detailed information. Feel free to reopen if you see the issue again.

danielinux avatar May 14 '24 16:05 danielinux