Skip to content

Provides SSL, TLS and general purpose cryptography.

License

Notifications You must be signed in to change notification settings

cdelafuente-r7/ruby-openssl

This branch is 502 commits behind ruby/openssl:master.

Folders and files

NameName
Last commit message
Last commit date
Jul 27, 2022
Jul 11, 2022
Dec 24, 2021
Feb 25, 2021
Jul 27, 2022
Feb 1, 2022
Jun 25, 2021
Aug 4, 2016
Dec 24, 2021
Dec 21, 2021
Dec 24, 2021
Sep 7, 2016
Feb 26, 2020
Feb 1, 2022
Dec 24, 2021

Repository files navigation

OpenSSL for Ruby

Actions Status

OpenSSL provides SSL, TLS and general purpose cryptography. It wraps the OpenSSL library.

Installation

The openssl gem is available at rubygems.org. You can install with:

gem install openssl

You may need to specify the path where OpenSSL is installed.

gem install openssl -- --with-openssl-dir=/opt/openssl

Alternatively, you can install the gem with bundler:

# Gemfile
gem 'openssl'
# or specify git master
gem 'openssl', git: 'https://github.com/ruby/openssl'

After doing bundle install, you should have the gem installed in your bundle.

Usage

Once installed, you can require "openssl" in your application.

require "openssl"

NOTE: If you are using Ruby 2.3 (and not Bundler), you must activate the gem version of openssl, otherwise the default gem packaged with the Ruby installation will be used:

gem "openssl"
require "openssl"

Documentation

See https://ruby.github.io/openssl/.

Contributing

Please read our CONTRIBUTING.md for instructions.

Security

Security issues should be reported to ruby-core by following the process described on "Security at ruby-lang.org".

About

Provides SSL, TLS and general purpose cryptography.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 62.3%
  • Ruby 37.7%