tulumvinh/Priam — pull request #1 by tulumvinh (2014-11-07 23:47:38+00:00)
Title: Enhancing backup and restore functionality

This pull request is for enhancements to the backup and restore functionality.

For backup, Priam can now encrypt the data backup to an AWS account.
For restore, Priam can now:
- Account for encrypted data.
- Recognize restore from Google Cloud Storage
- Use AWS Cross Account assumption when restoring from an AWS account.

Follow are the details:

Priam primary backup to AWS supports encryption
- Currently, primary backup to AWS is unencrypted. This release allows you to specify at a cluster or even instance level, whether the data should be encrypted. The specification is done via boolean Fast property (priam.encrypted.backup.enabled). Note: for backward compatibility, this Fast property is optional. Specifically, if it does not exist, no harm done.

- Priam restore recognizes/handles ciphertext
As part of the restore, Priam will decrypt the ciphertest to plaintext if Fast property (priam.encrypted.backup.enabled) is set to true. Note: for backward compatibility, this Fast property is optional. Specifically, if it does not exist, no harm done.

- Priam uses PGP (Pretty Good Privacy)
For this release Priam will use PGP as the encryption / decryption cryptography algorithm. Other algorithm can be implemented via interface IFileCryptography and binding your implentation within PriamGuiceModule.java