Skip to content

Commit

Permalink
Added installation instructions for signed gems
Browse files Browse the repository at this point in the history
  • Loading branch information
michiels committed Dec 24, 2014
1 parent 2730545 commit bc3829d
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,35 @@ With PolarSSL for Ruby, you can use SSL and cryptography functionality from Pola

## Installation

PolarSSL is cryptographically signed. To be sure the gem you install hasn't been tampered with:

Add my public key as a trusted certificate:


```
gem cert --add <(curl -Ls https://raw.github.com/michiels/polarssl-ruby/master/certs/michiels.pem)
```

Then install the gem:

```
gem install polarssl
gem install polarssl -P HighSecurity
```

The `-P HighSecurity` will verify signed gems.

Or in your Gemfile:

```
gem "polarssl", "~> 1.0.1"
```

And install using:

```
bundle install --trust-policy HighSecurity
```

## Usage

### Setting up a SSL connection
Expand Down

0 comments on commit bc3829d

Please sign in to comment.