-
Notifications
You must be signed in to change notification settings - Fork 0
(Optional) Password Protection
Mark Keller edited this page Feb 8, 2019
·
2 revisions
To password protect ExploSig:
-
Use the
argon2_cffi
Python package to generate a hash of the desired password:$ pip install argon2-cffi==19.1.0 $ python >>> from argon2 import PasswordHasher >>> ph = PasswordHasher() >>> ph.hash("s3kr3tp4ssw0rd") '$argon2id$v=19$m=102400,t=2,p=8$tSm+JOWigOgPZx/g44K5fQ$WDyus6py50bVFIPkjA28lQ'
-
Add the following line to the
.env
file:EXPLOSIG_PASSWORD_HASH=$argon2id$v=19$m=102400,t=2,p=8$tSm+JOWigOgPZx/g44K5fQ$WDyus6py50bVFIPkjA28lQ