1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-26 19:27:23 +01:00

TOTP two-factor authentication

This commit is contained in:
Joshua Tauberer
2014-12-01 20:12:02 +00:00
parent 1f0345fe0e
commit 6c843fc92e
6 changed files with 196 additions and 8 deletions

View File

@@ -3,7 +3,10 @@
source setup/functions.sh
apt_install python3-flask links duplicity libyaml-dev python3-dnspython python3-dateutil
hide_output pip3 install rtyaml
hide_output pip3 install rtyaml
# For two-factor authentication, the management server uses:
hide_output pip3 install git+https://github.com/mail-in-a-box/python-oath qrcode pillow
# Create a backup directory and a random key for encrypting backups.
mkdir -p $STORAGE_ROOT/backup