Module Gpgr::Encrypt
In: lib/gpgr.rb

Encapsulates all the functionality related to encrypting a file. All of the real work is done by the class GpgGileForEncryption.

Methods

file  

Classes and Modules

Class Gpgr::Encrypt::GpgFileForEncryption
Class Gpgr::Encrypt::InvalidEmailException
Class Gpgr::Encrypt::InvalidFileException

Public Class methods

Takes the path to the file you want to encrypt; and returns a GpgFileForEncryption object for you to modify with the people (e-mail addresses) you want to encrypt this file for. Optionally you can specify where you want the encrypted file to be written, by setting :to => some_path. Will default to wherever the current file is, with the extension ‘pgp’ appended.

[Validate]