Introducing Ossl4Pas: A Native Pascal API for OpenSSL #179
tregubovav-dev
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I've been diving into a new project called Ossl4Pas that I'm excited to share with you all.
After spending some time reviewing existing OpenSSL headers for Pascal, it struck me how "C-like" they feel. Managing raw pointers and macros isn't exactly in line with the elegant Pascal way.
Earlier this year, I wrote a Proof of Concept that gave me confidence that OpenSSL can be wrapped in Pascal types that hide the complexity under the hood. This approach adds strict type checks and significantly reduces memory-related errors.
I decided to create Ossl4Pas to tackle this head-on. The goal is to provide a Native Pascal API that embraces OOP principles. By neatly wrapping the complicated OpenSSL 3.x internals into clean classes and records, we get the benefits of type safety and organized namespaces—think
TOsslBio.Ctrl.Resetinstead of dealing with flat global functions.A few cool things about it:
How does this fit with TaurusTLS?
To clarify, this does not replace TaurusTLS. Taurus is our comprehensive suite, while Ossl4Pas serves as a low-level wrapper for the crypto engine—think of it as a solid building block.
A Proposal
At the moment, Ossl4Pas lives in my personal GitHub (link below). However, since this aligns so closely with our work, I'd love to move the repository under the
TaurusTLS-Developersorganization if you think it fits.I'm eager for you all to check it out! Please feel free to tear it apart, share your thoughts, or help build it out. It's still in the early days (Delphi 10.4+ support is in, and FPC is planned), so there's plenty of room for contributions.
Repo: Ossl4Pas GitHub
Looking forward to your thoughts and suggestions!
Beta Was this translation helpful? Give feedback.
All reactions