diff --git a/include/evse_security/crypto/interface/crypto_types.hpp b/include/evse_security/crypto/interface/crypto_types.hpp index 6e0305b..de90f99 100644 --- a/include/evse_security/crypto/interface/crypto_types.hpp +++ b/include/evse_security/crypto/interface/crypto_types.hpp @@ -15,7 +15,7 @@ enum class CryptoKeyType { EC_secp384r1, // P-384, ~equiv to rsa 7680 RSA_TPM20, // Default TPM RSA, only option allowed for TPM (universal support), 2048 bits RSA_3072, // Default RSA. Protection lifetime: ~2030 - RSA_7680, // Protection lifetime: >2031 + RSA_7680, // Protection lifetime: >2031. Very long generation time 8-40s on 16 core PC }; enum class KeyValidationResult { diff --git a/lib/evse_security/evse_security.cpp b/lib/evse_security/evse_security.cpp index af4e034..2d8d46b 100644 --- a/lib/evse_security/evse_security.cpp +++ b/lib/evse_security/evse_security.cpp @@ -638,7 +638,7 @@ EvseSecurity::get_installed_certificates(const std::vector& cer certificate_chains.push_back(certificate_hash_data_chain); } } - } catch(const CertificateLoadException& e) { + } catch (const CertificateLoadException& e) { EVLOG_error << "Could not load installed leaf certificates: " << e.what(); } } @@ -671,7 +671,7 @@ int EvseSecurity::get_count_of_installed_certificates(const std::vector