Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds the following changes: - Add new fileset option that forces encryption. This new fileset option will fail a backup when encryption is not enabled at the client side for a backup. - Implement the encryption=<cipher> fileset option which was as it seems available but never implemented in the fileset exchange protocol between the director and the filed. In the new setup things work like this: - When in compat mode we always fall back to CRYPTO_CIPHER_AES_128_CBC - When the fileset has a crypto cipher set we use that one. Only one cipher can be set for a backup so multiple ciphers in one fileset will give a fatal error. - When the fileset has no encryption cipher override the global configured encryption cipher is used. - When the encryption cipher is determined the force encryption fileset flag is checked to see if encryption is enabled for the backup.
- Loading branch information
Marco van Wieringen
committed
Apr 28, 2015
1 parent
0481820
commit 4b2b7d7
Showing
13 changed files
with
342 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.