Sha256: 28811a026a8e33ce66b121fdf7e2e2065755c675ae89e6bb738aac6eed755bd1

Contents?: true

Size: 768 Bytes

Versions: 4

Compression:

Stored size: 768 Bytes

Contents

# Ruby GPG

Ruby wrapper for the `gpg` binary. You probably want to be using the
`ruby-gpgme` gem instead, but if you can't install the gpgme libraries
for some reason, I guess you have to settle for this.

## Installation

    gem install ruby_gpg

## Configuration

    # Defaults to "gpg"
    RubyGpg.config.executable = "/custom/path/to/gpg"
    
    # Defaults to "~/.gnupg"
    RubyGpg.config.homedir = "/custom/path/to/home"

## Usage

    # creates /path/to/file.gpg:
    RubyGpg.encrypt("/path/to/file", "Mr. Recipient")
  
    # creates /path/to/file:
    RubyGpg.decrypt("/path/to/file.gpg", "passphrase")

For more details, see the
[RDocs](http://rdoc.info/projects/blaix/ruby_gpg).

## Copyright

Copyright (c) 2010 Justin Blake. See LICENSE for details.

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
gitc-ruby_gpg-0.2.0 README.markdown
ruby_gpg-0.2.0 README.markdown
ruby_gpg-0.1.1 README.markdown
ruby_gpg-0.1.0 README.markdown