Update instructions for PRIVATE folder

This commit is contained in:
Orsiris de Jong 2023-03-27 19:23:09 +02:00
parent a43a3dc3a5
commit 6da334388f
2 changed files with 3 additions and 2 deletions

View file

@ -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.
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

View file

@ -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.
You may copy npbackup.conf.dist to ../PRIVATE/_private.npbackup.conf.dist in order to add the later file in private build installers.