Class Backup::Encryptor::OpenSSL
In: lib/backup/encryptor/open_ssl.rb
Parent: Base

Methods

encrypt_with   new  

Attributes

base64  [RW]  Determines whether the ‘base64’ should be used or not
password  [RW]  The password that‘ll be used to encrypt the backup. This password will be required to decrypt the backup later on.
password_file  [RW]  The password file to use to encrypt the backup.
salt  [RW]  Determines whether the ‘salt’ flag should be used

Public Class methods

Creates a new instance of Backup::Encryptor::OpenSSL and sets the password attribute to what was provided

Public Instance methods

This is called as part of the procedure run by the Packager. It sets up the needed options to pass to the openssl command, then yields the command to use as part of the packaging procedure. Once the packaging procedure is complete, it will return so that any clean-up may be performed after the yield.

[Validate]