Jason Fehr has uploaded a new patch set (#12). ( 
http://gerrit.cloudera.org:8080/23097 )

Change subject: IMPALA-13235: [Patch 2 of 5] - Add OpenSSL Utility Function to 
Validate PEM Bundles
......................................................................

IMPALA-13235: [Patch 2 of 5] - Add OpenSSL Utility Function to Validate PEM 
Bundles

Adds a new function ValidatePemBundle(const string& bundle) to the
openssl utilities. This function asserts that all certificates in a
string containing a bundle of X.509 PEM-encoded certificates are
valid. If even one certificate is invalid, then validation fails and
the function returns false.

Certificates can be invalid for these reasons:
  1. Structure is invalid/PEM encoding is incorrect.
  2. notBefore time is in the future.
  3. notAfter time is in the past.

Testing accomplished by the tests in openssl-util-test.cc
successfully passing locally and in a build.

Generated-by: Github Copilot (GPT-4.1)
Change-Id: I1e9f12e854b679ccf3e94a38c2688a7431460a7a
---
M be/src/util/openssl-util-test.cc
M be/src/util/openssl-util.cc
M be/src/util/openssl-util.h
3 files changed, 284 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/97/23097/12
--
To view, visit http://gerrit.cloudera.org:8080/23097
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1e9f12e854b679ccf3e94a38c2688a7431460a7a
Gerrit-Change-Number: 23097
Gerrit-PatchSet: 12
Gerrit-Owner: Jason Fehr <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: gaurav singh <[email protected]>

Reply via email to