Pony wrappers for OpenSSL and LibreSSL.
Production ready.
- Install corral
corral add github.com/ponylang/ssl.git --version 2.1.0corral fetchto fetch your dependenciesuse "ssl/crypto"to include thecryptosub-packageuse "ssl/net"to include thenetsub-packagecorral run -- ponycto compile your application
OpenSSL 3.0.x, OpenSSL 4.0.x, LibreSSL, and OpenSSL 1.1.x are supported. Select the library version at compile-time using Pony's compile time definition functionality.
Not every supported backend is still actively maintained upstream. OpenSSL 1.1.x reached end-of-life in September 2023 and no longer receives public security fixes. It remains available here for legacy use only. OpenSSL 3.0.x, OpenSSL 4.0.x, and LibreSSL are actively maintained.
corral run -- ponyc -Dopenssl_3.0.xcorral run -- ponyc -Dopenssl_4.0.xcorral run -- ponyc -Dlibresslcorral run -- ponyc -Dopenssl_1.1.xssl requires either LibreSSL or OpenSSL in order to operate. You might need to install it within your environment of choice.
sudo apt-get install -y libssl-devapk add --update libressl-devpacman -S openssl
brew update
brew install libresslsudo port install libresslsudo dnf install openssl-develsudo yum install openssl-develsudo zypper install libopenssl-develInstall one of the supported SSL libraries.