mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-23 11:57:57 +08:00
Update instructions for PRIVATE folder
This commit is contained in:
parent
a43a3dc3a5
commit
6da334388f
2 changed files with 3 additions and 2 deletions
|
@ -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
|
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
|
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
|
|
@ -1,4 +1,4 @@
|
||||||
This directory contains various example config files.
|
This directory contains various example config files.
|
||||||
|
|
||||||
The file npbackup.conf.dist file will be bundled as default with NPBackupInstaller.
|
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.
|
Loading…
Add table
Reference in a new issue