From 6da334388f0817cddd1b47167ed216b301fff44d Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Mon, 27 Mar 2023 19:23:09 +0200 Subject: [PATCH] Update instructions for PRIVATE folder --- PRIVATE/README.md | 3 ++- examples/README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PRIVATE/README.md b/PRIVATE/README.md index ae11f63..9ac08b8 100644 --- a/PRIVATE/README.md +++ b/PRIVATE/README.md @@ -2,4 +2,5 @@ This folder may contain private overrides for NPBackup secrets. 1. You can create a file called _private_secret_keys.py to override default secret_keys.py file from npbackup 2. You may obfuscate the AES key at runtime by creating a file called `_private_obfuscation.py` that must contain -a function `obfuscation(bytes) -> bytes` like `aes_key_derivate = obfuscation(aes_key)` where aes_key_derivate must be 32 bytes. \ No newline at end of file +a function `obfuscation(bytes) -> bytes` like `aes_key_derivate = obfuscation(aes_key)` where aes_key_derivate must be 32 bytes. +3. You can create a distribution default configuration file here called _private.npbackup.conf.dist that will be bundled with NPBackupInstaller if present \ No newline at end of file diff --git a/examples/README.md b/examples/README.md index 991b957..c39427f 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,4 +1,4 @@ This directory contains various example config files. The file npbackup.conf.dist file will be bundled as default with NPBackupInstaller. -You may copy npbackup.conf.dist to _private.npbackup.conf.dist in order to add the later file in private build installers. \ No newline at end of file +You may copy npbackup.conf.dist to ../PRIVATE/_private.npbackup.conf.dist in order to add the later file in private build installers. \ No newline at end of file