openssl_ext

forked from crystal-extras/openssl_ext
Crystal bindings for OpenSSL

openssl_ext

OpenSSL C Bindings for Crystal (and other extensions)

Installation

Add this to your application's shard.yml:

dependencies:
  openssl_ext:
    github: crystal-extras/openssl_ext
    branch: master

Usage

require "openssl_ext"

See spec/rsa_spec.cr, spec/ec_spec.cr and spec/x509_spec.cr for usage in depth. The bindings closely follows the API for https://ruby-doc.org/stdlib-2.4.0/libdoc/openssl/rdoc/OpenSSL/PKey/RSA.html

Encoding with a passphrase is not yet supported as OpenSSL fails silently without any errors (in order to fix).

Contributors

  • cimrie Connor Imrie - creator, maintainer
Repository

openssl_ext

Owner
Statistic
  • 0
  • 0
  • 0
  • 1
  • 0
  • over 4 years ago
  • September 6, 2020
License

MIT License

Links
Synced at

Fri, 08 Nov 2024 02:29:22 GMT

Languages