pegleg/pegleg
Phil Sphicas c7b903a6ea Cache fernet keys when encrypting or decrypting
The PEGLEG_PASSPHRASE and PEGLEG_SALT environment variables are used to
generate the fernet key for encryption and decryption of site documents,
and the global passphrase and salt are used to generate the fernet key
for global documents.

This change caches the resulting fernet keys to avoid recalculating them
for each document that needs to be encrypted or decrypted, resulting in
a small time savings.

Change-Id: I7b7e77a4740e7abb54efce2fcb3cca6d84a9d7d4
2021-01-19 15:26:11 +00:00
..
cli Fail early on invalid save locations 2020-05-04 12:35:53 -04:00
engine Cache fernet keys when encrypting or decrypting 2021-01-19 15:26:11 +00:00
schemas Added YAML file linting 2019-12-09 16:43:45 +00:00
__init__.py Accelerate YAML operations with LibYAML 2020-09-25 01:01:20 +00:00
config.py Add pre-command decrypt option 2019-12-19 14:52:27 -06:00
pegleg_main.py Merge "Default site commands to --no-decrypt" 2020-01-15 16:42:07 +00:00