-
Notifications
You must be signed in to change notification settings - Fork 535
HDDS-11895. Separate Root and Sub CA server implementation #7573
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: master
Are you sure you want to change the base?
Conversation
…er and handling persistence of keys
Purify KeyCodec and KeyStorage APIs, clear/add tests for the remaining pieces. Remove SecurityUtil, replace its functionality with the KeyCodec. KeyCodec now works with byte[] instead of String. KeyStorage relies purely on NIO. Keys related classes moved to hdds-common from hdds-framework. Intorduced SecurityConstants for string based magic constants in the PEM format. Changes in SecurityConfig to ensure testability. Updated APIDocs.
@ChenSammi Could you please review #6871 and this PR as well? |
Let's review #6871 first and get it merged. |
# Conflicts: # hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/security/x509/keys/KeyStorage.java # hadoop-hdds/common/src/test/java/org/apache/hadoop/hdds/security/x509/keys/TestKeyStorage.java # hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/security/OzoneSecretKey.java # hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/security/x509/certificate/authority/DefaultCAServer.java # hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/security/x509/certificate/client/DefaultCertificateClient.java # hadoop-hdds/framework/src/test/java/org/apache/hadoop/hdds/security/x509/certificate/authority/TestDefaultCAServer.java # hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/admin/om/lease/package-info.java
Temporarily converted to draft and assigned to myself, to resolve conflicts. |
/pending |
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.
Marking this issue as un-mergeable as requested.
Please use /ready
comment when it's resolved.
Please note that the PR will be closed after 21 days of inactivity from now. (But can be re-opened anytime later...)
/pending
What changes were proposed in this pull request?
Separate the root and sub ca server implementation for better readability
[HDDS-11895](https://issues.apache.org/jira/browse/HDDS-11895
As an ongoing process for crypto-currency, the PKI system is a bit refactored.
This PR is built on a previous PR: #6871 that should be merged first.
That PR contains changes regarding KeyStorage, this PR only aims at the separation of CA servers.
HDDS-11895
How was this patch tested?
Existing CI tests, green CI apart from previous PR failure:
https://github.com/Galsza/ozone/actions/runs/12304108495