Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why not an OpenSSL wrapper?

OpenSSL wrapper
0
Posted

Why not an OpenSSL wrapper?

0

While a C++ wrapper to OpenSSL would be nice, I wouldn’t do it, because it’s fundamentally uninteresting (to me). There are a number of existing C++ wrappers to OpenSSL, most of them are incomplete and unmaintained, and none of them wrap all of OpenSSL; while you might get a wrapper for the basic SSL and certificate operations, as soon as you want to do something interesting, you end up falling back to OpenSSL’s interface. With Ajisai, if you want to do something odd, you fall back to Botan, which is a native C++ interface with a similar style to Ajisai (hardly surprising, since one person did both of them). Ajisai will not suffer from security bugs in OpenSSL, and while no doubt Ajisai will suffer its fair share of holes, the features available in C++ (such as exceptions, destructors, and library-provided string and buffer types) make it significantly easier to write secure code.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123