-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
chip-cert: Updated Tool to Support Command Line Key/Cert Inputs #22436
chip-cert: Updated Tool to Support Command Line Key/Cert Inputs #22436
Conversation
…ect-chip#22142) Other text updates.
a14f7f2
to
a63c0a9
Compare
PR #22436: Size comparison from 9f4d680 to 7a90dd1 Increases (3 builds for cc13x2_26x2, nrfconnect)
Decreases (3 builds for cc13x2_26x2)
Full report (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, p6, telink)
|
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.
Adding optionality for file or direct string input really improves the user experience of the tool. Thanks! 👍
res = OpenFile(fileName, file); | ||
VerifyTrueOrExit(res); | ||
|
||
if (PEM_read_X509(file, &cert, nullptr, nullptr) == nullptr) |
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.
How is PEM support preserved with this update?
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.
All various certificate formats are handled by the ReadCert() call. I believe there was some historical redundancy in this code...
cherry-pick PR #22142