Add warning for encryption

This commit is contained in:
Edward Shen 2021-07-11 00:15:43 -04:00
parent 9871fc3774
commit 8040c49a1e
Signed by: edward
GPG key ID: 19182661E818369F

View file

@ -251,6 +251,10 @@ fn print_preamble_and_warnings(args: &Config) -> Result<(), Box<dyn Error>> {
". If not, see <https://www.gnu.org/licenses/>.\n" ". If not, see <https://www.gnu.org/licenses/>.\n"
)); ));
if args.ephemeral_disk_encryption {
error!("Encrypted files are _very_ broken; caveat emptor!");
}
if !args.unstable_options.is_empty() { if !args.unstable_options.is_empty() {
warn!("Unstable options are enabled. These options should not be used in production!"); warn!("Unstable options are enabled. These options should not be used in production!");
} }