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

Library Design Refactoring and Code Re-Organization #92

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

opencrypto
Copy link
Member

The refactoring of the Crypto layer is long due. This pull request covers a comprehensive refactoring of the library to allow for better code management and easier use of the library:

CRYPTO Level Refactoring:

  • Add a new CRYPTO layer to correctly handle key pairs and low-level crypto operations
  • Refactor the HSM layer to provide HSM management, KEY storage, and crypto functions
  • Remove support for network in/out functionalities from the HSM layer
  • Integrate Composite Crypto from external providers
  • Remove old experimental code

X509 Layer Refactoring (low level):

  • Add a new X509 abstraction layer to correctly handle X509 structures and functions
  • Provide a generalized layer to create, destroy, and manage X509 data structures
  • Define layer's boundaries (X509 vs. PKIX)

PKIX Layer Addition (higher level):

  • Add a new PKIX abstraction layer to correctly handle PKIX protocols
  • Move all PKIX functionalities to this layer

X9F Layer Addition (protocol layer):

  • Add support for ISARA Catalyst extensions (X509 layer)
  • Add support for ISARA Catalyst Certificate Signing (X509 layer)
  • Add support for X9 CKS Hello Extension (X509 layer)
  • Add support for X9 MFA CertificateVerify extension (X509 layer)

TLS Layer Refactoring:

  • Simplify and extend support for TLS
  • Move TLS to a new abstraction layer from the net utils
  • Add support for QTLS when using ISARA Catal (TLS layer)

@opencrypto opencrypto self-assigned this Sep 2, 2024
@opencrypto opencrypto marked this pull request as draft September 2, 2024 01:20
@opencrypto opencrypto added this to the v2.0 milestone Sep 2, 2024
@opencrypto opencrypto changed the title Added CRYPTO layer. Removing X509 functions from CRYPTO layer. Library Design Refactoring and Code Re-Organization Sep 2, 2024
@opencrypto opencrypto linked an issue Sep 2, 2024 that may be closed by this pull request
@opencrypto opencrypto modified the milestones: v2.0, LibPKI-v2.0.0 Sep 2, 2024
@opencrypto opencrypto removed this from the LibPKI-v2.0.0 milestone Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Library Refactoring For LibPKI Next Generation (LibPKI NG).
1 participant