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

Bugfix/66 gracefull crash handling #70

Merged
merged 17 commits into from
May 10, 2024

Conversation

AssemblyJohn
Copy link
Collaborator

@AssemblyJohn AssemblyJohn commented May 1, 2024

Describe your changes

Updated the following:

  • generate_csr_interface for clean handling
  • handled some various unhandled errors
  • updated return types
  • removed OpenSSL warnings
  • removed unnecessary test

Issue ticket number and link

#66

Supersedes: #64 as it includes all changes placed there.

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

@AssemblyJohn AssemblyJohn linked an issue May 1, 2024 that may be closed by this pull request
@AssemblyJohn AssemblyJohn force-pushed the bugfix/66-gracefull-crash-handling branch from 61bb58d to a207003 Compare May 1, 2024 11:29
Signed-off-by: AssemblyJohn <[email protected]>
- Refactored get_key_pair for extra info

Signed-off-by: AssemblyJohn <[email protected]>
Signed-off-by: AssemblyJohn <[email protected]>
Fixed code for tests

Signed-off-by: AssemblyJohn <[email protected]>
Signed-off-by: AssemblyJohn <[email protected]>
@AssemblyJohn AssemblyJohn force-pushed the bugfix/66-gracefull-crash-handling branch from ed2f85a to 72e0b45 Compare May 6, 2024 08:57
@Pietfried Pietfried self-assigned this May 7, 2024
Signed-off-by: AssemblyJohn <[email protected]>
Signed-off-by: AssemblyJohn <[email protected]>
Copy link
Contributor

@Pietfried Pietfried left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, see some comments inline

lib/evse_security/evse_security.cpp Outdated Show resolved Hide resolved
tests/openssl_supplier_test.cpp Show resolved Hide resolved
tests/tests.cpp Outdated Show resolved Hide resolved
Signed-off-by: AssemblyJohn <[email protected]>
@AssemblyJohn
Copy link
Collaborator Author

Update, tested locally, please re-review.

@AssemblyJohn AssemblyJohn requested a review from Pietfried May 8, 2024 13:29
@AssemblyJohn AssemblyJohn merged commit 34ced9f into main May 10, 2024
3 of 4 checks passed
@AssemblyJohn AssemblyJohn deleted the bugfix/66-gracefull-crash-handling branch May 10, 2024 09:21
@@ -142,6 +142,12 @@ class EvseSecurity {
/// @param ocsp_response the actual OCSP data
void update_ocsp_cache(const CertificateHashData& certificate_hash_data, const std::string& ocsp_response);

// TODO: Switch to path
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this already returns a optional path, is that what this comment meant?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opps, simply forgot a line.

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

Successfully merging this pull request may close these issues.

Gracefull crash handling & interface refactor
3 participants