Added the argon2 parameters to example.runtime.properties [secure password hashing] (#70)

* added argon2i parameters to example.runtime.properties
* fixed the style of the example.runtime.properties

Resolves: https://jira.duraspace.org/browse/VIVO-1448
This commit is contained in:
Asimq 2018-05-23 19:45:57 +02:00 committed by Andrew Woods
parent 8c02817465
commit d5934d2e40

View file

@ -34,6 +34,23 @@ Vitro.defaultNamespace = http://vivo.mydomain.edu/individual/
# #
rootUser.emailAddress = vivo_root@mydomain.edu rootUser.emailAddress = vivo_root@mydomain.edu
#
# Argon2 password hashing parameters for time, memory and parallelism required to
# compute a hash.
#
# A time cost defines the amount of computation realized and therefore the execution
# time, given in a number of iterations.
# A memory cost defines the memory usage, given in kibibytes
# A parallelism degree defines the number of parallel threads
# For determining the optimal values of the parameters for your setup please refer to
# the white paper section 9
# https://github.com/P-H-C/phc-winner-argon2/blob/master/argon2-specs.pdf
#
argon2.parallelism =1
argon2.memory = 1024
argon2.time = 1000
# #
# The basic parameters for a database connection. Change the end of the # The basic parameters for a database connection. Change the end of the
# URL to reflect your database name (if it is not "vitrodb"). Change the username # URL to reflect your database name (if it is not "vitrodb"). Change the username