Set STORAGE_TYPE instead of ENABLE_ENCRYPTION boolean

This allows for future decisions around the types of encryption used (if any).  Ideally, I want to replace GPG one day with something elegant out of the cryptography module.
This commit is contained in:
Daniel Quinn
2018-02-04 13:11:35 +00:00
parent 4925ecd1da
commit 2309076038
2 changed files with 16 additions and 1 deletions

View File

@@ -59,6 +59,14 @@ PAPERLESS_EMAIL_SECRET=""
#### Security ####
###############################################################################
# By default, Paperless will attempt to GPG encrypt your PDF files using the
# PAPERLESS_PASSPHRASE specified below. If however you're not concerned about
# encrypting these files (for example if you have disk encryption locally) then
# you don't need this and can safely turn it off by setting
# PAPERLESS_STORAGE_TYPE="unencrypted" here. In such a case, the PASSPHRASE
# value set below will be ignored.
#PAPERLESS_STORAGE_TYPE="gpg"
# You must have a passphrase in order for Paperless to work at all. If you set
# this to "", GNUGPG will "encrypt" your PDF by writing it out as a zero-byte
# file.