-
Notifications
You must be signed in to change notification settings - Fork 523
Support keypair generation for Aliro #2682
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
base: main
Are you sure you want to change the base?
Conversation
|
Invitation URL: |
Test Results 71 files 483 suites 0s ⏱️ Results for commit 7a8c775. ♻️ This comment has been updated with latest results. |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against 7a8c775 |
Signed-off-by: Hunsup Jung <hunsup.jung@samsung.com>
ed58efb to
0cf840f
Compare
|
@tpmanley Could you please review this PR? |
| } | ||
| } | ||
| local status = security.generate_self_signed_cert(request_opts) | ||
| local privKey = string.sub(utils.bytes_to_hex_string(status.key_der), PRIV_KEY_START, PRIV_KEY_END) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I'm not mistaken, this won't always work because it doesn't take into account that DER uses variable length integers. I think we may need to parse the data in order to accurately extract the desired components.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I will change it to extract the desired components accurately.
Signed-off-by: Hunsup Jung <hunsup.jung@samsung.com>
Type of Change
Checklist
Description of Change
Summary of Completed Tests