Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyGenTool Have Some Problem #415

Closed
lifeng5478 opened this issue Mar 4, 2024 · 3 comments
Closed

KeyGenTool Have Some Problem #415

lifeng5478 opened this issue Mar 4, 2024 · 3 comments
Assignees

Comments

@lifeng5478
Copy link

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.

@jpbland1 jpbland1 self-assigned this Mar 4, 2024
@danielinux danielinux removed their assignment Mar 8, 2024
@jpbland1
Copy link
Contributor

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

@danielinux
Copy link
Member

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants