mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-10 06:01:39 +08:00
Update private build recipe
This commit is contained in:
parent
2c2a7e979f
commit
df5b3e7807
1 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,9 @@
|
||||||
This folder may contain private overrides for NPBackup secrets.
|
This folder may contain private overrides for NPBackup secrets.
|
||||||
|
|
||||||
|
Overrides are used by default if found at execution time.
|
||||||
|
|
||||||
|
In order to use them at compile time, one needs to run `compile.py --audience private`
|
||||||
|
|
||||||
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.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue